Intelligent Traffic Monitoring: Detection of Helmetless Riders and Motorcycle License Plate Recognition Using YOLOv8

Authors:
  • DPDimas Rossiawan Hendra Putra
    Dimas Rossiawan Hendra Putra
  • HDHendro Darmono
    Hendro Darmono
  • DPDelila Cahya Permatasari
    Delila Cahya Permatasari
  • AKAdi Candra Kusuma
    Adi Candra Kusuma

Abstract
Traffic accidents involving motorcycle riders are often caused by a lack of education on road safety. One of the primary factors contributing to traffic accidents is rider negligence, which accounts for the largest percentage at 61%. Traffic accidents can result in severe injuries. One way to prevent severe injuries during an accident is by using safety riding equipment, such as helmets, while riding. Therefore, this study proposes a system for detecting helmet violations and recognizing license plates, which can facilitate the communication of information to the authorities. The detection system utilizes a CNN algorithm with the YOLO model to detect riders, helmets, no-helmets, and vehicle license plates. This research will implement a violation detection and license plate recognition system by deploying an IP Camera to record objects in real-time using dummy violation data. The system also employs Optical Character Recognition (OCR) to extract text from detected license plates, which will then be sent as notifications via the Telegram application. The YOLOv8 model training achieved an mAP score of 84.2%, with the accuracy for each class as follows: rider accuracy at 94%, no-helmet accuracy at 93%, license plate accuracy at 93%, and helmet accuracy at 87%. The license plate recognition system operates optimally at a distance of 1 to 5 meters, with an accuracy of 93.7% at 1 meter, 65% at 2 meters, 90% at 3 meters, 62.5% at 4 meters, and 51.7% at 5 meters.