Vessa Rizky Oktavia, Ahmad Wali Satria Bahari Johan, Whisnumurty Galih Ananta, Fahril Refiandi, Muhammad Khuluqil Karim
{"title":"基于YOLOv5和HSV的摩托车大灯检测","authors":"Vessa Rizky Oktavia, Ahmad Wali Satria Bahari Johan, Whisnumurty Galih Ananta, Fahril Refiandi, Muhammad Khuluqil Karim","doi":"10.34148/teknika.v12i3.682","DOIUrl":null,"url":null,"abstract":"\"Electronic Traffic Law Enforcement\" (ETLE) denotes a mechanism that employs electronic technologies to implement traffic regulations. This commonly entails utilizing a range of electronic apparatuses like cameras, sensors, and automated setups to oversee and uphold traffic protocols, administer fines, and enhance road security. ETLE systems are frequently utilized for identifying and sanctioning infractions like exceeding speed limits, disregarding red lights, and turning off the headlights. In Indonesia, there is currently no dedicated system designed to detect traffic violation, especially regarding vehicle headlights. Therefore, this research was conducted to detect vehicle headlights using digital images. With the results of this study, it will be possible to develop a system capable of classifying whether vehicle headlights are on or off. This research employed the deep learning method in the form of the YOLOv5 model, which achieved an accuracy of 94.12% in detecting vehicle images. Furthermore, the white color extraction method was performed by projecting the RGB space to HSV to detect the Region of Interest (ROI) of the vehicle headlights, achieving an accuracy of 73.76%. The results of this vehicle headlight detection are influenced by factors such as lighting, image capture angle, and vehicle type.","PeriodicalId":52620,"journal":{"name":"Teknika","volume":"11 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-10-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Detection of Motorcycle Headlights Using YOLOv5 and HSV\",\"authors\":\"Vessa Rizky Oktavia, Ahmad Wali Satria Bahari Johan, Whisnumurty Galih Ananta, Fahril Refiandi, Muhammad Khuluqil Karim\",\"doi\":\"10.34148/teknika.v12i3.682\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"\\\"Electronic Traffic Law Enforcement\\\" (ETLE) denotes a mechanism that employs electronic technologies to implement traffic regulations. This commonly entails utilizing a range of electronic apparatuses like cameras, sensors, and automated setups to oversee and uphold traffic protocols, administer fines, and enhance road security. ETLE systems are frequently utilized for identifying and sanctioning infractions like exceeding speed limits, disregarding red lights, and turning off the headlights. In Indonesia, there is currently no dedicated system designed to detect traffic violation, especially regarding vehicle headlights. Therefore, this research was conducted to detect vehicle headlights using digital images. With the results of this study, it will be possible to develop a system capable of classifying whether vehicle headlights are on or off. This research employed the deep learning method in the form of the YOLOv5 model, which achieved an accuracy of 94.12% in detecting vehicle images. Furthermore, the white color extraction method was performed by projecting the RGB space to HSV to detect the Region of Interest (ROI) of the vehicle headlights, achieving an accuracy of 73.76%. The results of this vehicle headlight detection are influenced by factors such as lighting, image capture angle, and vehicle type.\",\"PeriodicalId\":52620,\"journal\":{\"name\":\"Teknika\",\"volume\":\"11 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-10-18\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Teknika\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.34148/teknika.v12i3.682\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Teknika","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.34148/teknika.v12i3.682","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
摘要
“电子交通执法”(Electronic Traffic Law Enforcement,简称ETLE)是指一种利用电子技术执行交通规则的机制。这通常需要使用一系列电子设备,如摄像头、传感器和自动设置来监督和维护交通协议、管理罚款和加强道路安全。ETLE系统经常用于识别和处罚违规行为,如超速、无视红灯和关闭前灯。在印度尼西亚,目前还没有专门的系统来检测交通违规,特别是在车辆前灯方面。因此,本研究采用数字图像检测汽车前灯。根据这项研究的结果,将有可能开发出一种能够对车辆前灯是否打开或关闭进行分类的系统。本研究采用深度学习方法,以YOLOv5模型的形式对车辆图像进行检测,准确率达到94.12%。在此基础上,将RGB空间投影到HSV上进行白色提取,检测出车灯的感兴趣区域(ROI),准确率达到73.76%。这种车辆前照灯检测的结果受光照、图像捕获角度和车辆类型等因素的影响。
Detection of Motorcycle Headlights Using YOLOv5 and HSV
"Electronic Traffic Law Enforcement" (ETLE) denotes a mechanism that employs electronic technologies to implement traffic regulations. This commonly entails utilizing a range of electronic apparatuses like cameras, sensors, and automated setups to oversee and uphold traffic protocols, administer fines, and enhance road security. ETLE systems are frequently utilized for identifying and sanctioning infractions like exceeding speed limits, disregarding red lights, and turning off the headlights. In Indonesia, there is currently no dedicated system designed to detect traffic violation, especially regarding vehicle headlights. Therefore, this research was conducted to detect vehicle headlights using digital images. With the results of this study, it will be possible to develop a system capable of classifying whether vehicle headlights are on or off. This research employed the deep learning method in the form of the YOLOv5 model, which achieved an accuracy of 94.12% in detecting vehicle images. Furthermore, the white color extraction method was performed by projecting the RGB space to HSV to detect the Region of Interest (ROI) of the vehicle headlights, achieving an accuracy of 73.76%. The results of this vehicle headlight detection are influenced by factors such as lighting, image capture angle, and vehicle type.