Detection of Motorcycle Headlights Using YOLOv5 and HSV

Teknika Pub Date : 2023-10-18 DOI:10.34148/teknika.v12i3.682
Vessa Rizky Oktavia, Ahmad Wali Satria Bahari Johan, Whisnumurty Galih Ananta, Fahril Refiandi, Muhammad Khuluqil Karim
{"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}
引用次数: 0

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.
基于YOLOv5和HSV的摩托车大灯检测
“电子交通执法”(Electronic Traffic Law Enforcement,简称ETLE)是指一种利用电子技术执行交通规则的机制。这通常需要使用一系列电子设备,如摄像头、传感器和自动设置来监督和维护交通协议、管理罚款和加强道路安全。ETLE系统经常用于识别和处罚违规行为,如超速、无视红灯和关闭前灯。在印度尼西亚,目前还没有专门的系统来检测交通违规,特别是在车辆前灯方面。因此,本研究采用数字图像检测汽车前灯。根据这项研究的结果,将有可能开发出一种能够对车辆前灯是否打开或关闭进行分类的系统。本研究采用深度学习方法,以YOLOv5模型的形式对车辆图像进行检测,准确率达到94.12%。在此基础上,将RGB空间投影到HSV上进行白色提取,检测出车灯的感兴趣区域(ROI),准确率达到73.76%。这种车辆前照灯检测的结果受光照、图像捕获角度和车辆类型等因素的影响。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
22
审稿时长
6 weeks
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信