CCTV systems, while ubiquitous for traffic surveillance in Indonesian roadways, remain underutilized in their potential. The integration of AI and Computer Vision technologies can transform CCTV into a valuable tool for law enforcement, specifically in monitoring and addressing helmet non-compliance among motorcycle riders. This study aims to develop an intelligent system for the accurate detection of helmetless motorcyclists using image analysis. The approach relies on deep learning, involving the creation of a dataset with 764 training images and 102 testing images. A deep convolutional neural network with 23 layers is configured, trained with a batch size of 10 over ten epochs, and employs the YOLO method to identify objects in images and subsequently detect helmetless riders. Accuracy assessment is carried out using the mean Average Precision (mAP) method, resulting in a notable 82.81% detection accuracy for riders without helmets and 75.78% for helmeted riders. The overall mAP score is 79.29%, emphasizing the system's potential to substantially improve road safety and law enforcement efforts