IoT-Based Smoking Violation Detection System Equipped with Object Detection Using YOLOv5s Algorithm

Smoking is a common habit in Indonesia. The Indonesian government has implemented regulations on smoke-free areas, but violations of the smoke-free policy still often occur. Previous studies have developed smoking violation detection system based on the MQ sensor. However, the smoking violation dete...

Full description

Saved in:
Bibliographic Details
Main Authors: Audina Amalia Putri, Indra Hermawan
Format: Article
Language:English
Published: Politeknik Negeri Batam 2025-06-01
Series:Journal of Applied Informatics and Computing
Subjects:
Online Access:https://jurnal.polibatam.ac.id/index.php/JAIC/article/view/8459
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1850080060408594432
author Audina Amalia Putri
Indra Hermawan
author_facet Audina Amalia Putri
Indra Hermawan
author_sort Audina Amalia Putri
collection DOAJ
description Smoking is a common habit in Indonesia. The Indonesian government has implemented regulations on smoke-free areas, but violations of the smoke-free policy still often occur. Previous studies have developed smoking violation detection system based on the MQ sensor. However, the smoking violation detection system based only on the MQ sensor is less reliable because the detected gas could come from other sources. Therefore, this study discusses a smoking violation detection system that can automatically verify smoking violation activities using the MQ-7 sensor, MQ-135 sensor, and the YOLOv5s algorithm. The MQ-7 sensor that has been calibrated to detect CO in ppm units achieved an accuracy level of 89.84%. The MQ-135 sensor also has successfully detected ammonia and toluene in cigarette smoke in ppm units. The trained YOLOv5s algorithm achieved an average Precision of 91.9%, Recall 83.7%, F1-Score 87.6%, and mAP50 88.3%. The system is equipped with a speaker that will sound automatically after a verified smoking violation occurs and Telegram notifications in the form of text messages and images.
format Article
id doaj-art-9f4e48686d684630a89dbd9d1001a426
institution DOAJ
issn 2548-6861
language English
publishDate 2025-06-01
publisher Politeknik Negeri Batam
record_format Article
series Journal of Applied Informatics and Computing
spelling doaj-art-9f4e48686d684630a89dbd9d1001a4262025-08-20T02:45:02ZengPoliteknik Negeri BatamJournal of Applied Informatics and Computing2548-68612025-06-019358359110.30871/jaic.v9i3.84596160IoT-Based Smoking Violation Detection System Equipped with Object Detection Using YOLOv5s AlgorithmAudina Amalia Putri0Indra Hermawan1Politeknik Negeri JakartaPoliteknik Negeri JakartaSmoking is a common habit in Indonesia. The Indonesian government has implemented regulations on smoke-free areas, but violations of the smoke-free policy still often occur. Previous studies have developed smoking violation detection system based on the MQ sensor. However, the smoking violation detection system based only on the MQ sensor is less reliable because the detected gas could come from other sources. Therefore, this study discusses a smoking violation detection system that can automatically verify smoking violation activities using the MQ-7 sensor, MQ-135 sensor, and the YOLOv5s algorithm. The MQ-7 sensor that has been calibrated to detect CO in ppm units achieved an accuracy level of 89.84%. The MQ-135 sensor also has successfully detected ammonia and toluene in cigarette smoke in ppm units. The trained YOLOv5s algorithm achieved an average Precision of 91.9%, Recall 83.7%, F1-Score 87.6%, and mAP50 88.3%. The system is equipped with a speaker that will sound automatically after a verified smoking violation occurs and Telegram notifications in the form of text messages and images.https://jurnal.polibatam.ac.id/index.php/JAIC/article/view/8459mq-7mq-135smoking violation detection systemtelegramyolov5s
spellingShingle Audina Amalia Putri
Indra Hermawan
IoT-Based Smoking Violation Detection System Equipped with Object Detection Using YOLOv5s Algorithm
Journal of Applied Informatics and Computing
mq-7
mq-135
smoking violation detection system
telegram
yolov5s
title IoT-Based Smoking Violation Detection System Equipped with Object Detection Using YOLOv5s Algorithm
title_full IoT-Based Smoking Violation Detection System Equipped with Object Detection Using YOLOv5s Algorithm
title_fullStr IoT-Based Smoking Violation Detection System Equipped with Object Detection Using YOLOv5s Algorithm
title_full_unstemmed IoT-Based Smoking Violation Detection System Equipped with Object Detection Using YOLOv5s Algorithm
title_short IoT-Based Smoking Violation Detection System Equipped with Object Detection Using YOLOv5s Algorithm
title_sort iot based smoking violation detection system equipped with object detection using yolov5s algorithm
topic mq-7
mq-135
smoking violation detection system
telegram
yolov5s
url https://jurnal.polibatam.ac.id/index.php/JAIC/article/view/8459
work_keys_str_mv AT audinaamaliaputri iotbasedsmokingviolationdetectionsystemequippedwithobjectdetectionusingyolov5salgorithm
AT indrahermawan iotbasedsmokingviolationdetectionsystemequippedwithobjectdetectionusingyolov5salgorithm