Implementasi YOLO V8 Dengan Pemanfaatan Apple M2 Untuk Deteksi Perilaku Merokok

syarifah syifa hamidah, Nixon Erzed

Abstract


Indonesia is one of the countries facing serious problems related to the high number of smokers. Active smokers have a high risk of contracting various serious diseases, such as heart disease, cancer, respiratory diseases, and others. Additionally, exposure to tobacco smoke also has adverse effects on passive smokers, who are often individuals around them who do not smoke but are affected by it. Conventional methods for detecting smokers are often inefficient and require significant manual intervention, thus necessitating a technological solution for automatic and real-time detection to support the enforcement of anti-smoking regulations. Therefore, this research aims to detect smoking behavior using the You Only Look Once (YOLO) version 8 method on Apple M2. YOLO V8 was chosen for its capability in fast and accurate object detection, while the Apple M2 supports real-time processing. The training results showed an accuracy rate of 91.6%, precision of 96.4%, recall of 90.4%, and an F1-Score of 93.2%. During the inference stage, the Apple Neural Engine (ANE) was able to process 21-25 frames per second (fps), demonstrating good capability for real-time object detection. The combination of YOLO V8 and Apple M2 proved effective for detecting smokers in public areas, offering an efficient and effective innovative solution, supporting the creation of a smoke-free environment in Indonesia, and showing great potential for the application of edge computing in similar applications in the future.

Keywords


YOLO;confusion matix

Full Text:

PDF

References


Agung and Pribadi, “Analisis Yuridis Peraturan Pemerintah Nomor 109 Tahun 2012 Tentang Pengamanan Bahan Yang Mengandung Zat Adiktif Berupa Produk Tembakau Bagi Kesehatan,” Agung Pribadi Azhari, vol. X, pp. 1–15, 2023.

M. Gojali and E. Tjiong, “View of Application Development og Cigarette Object Detection and Smoking Activities Using YOLOv3 Algorithm,” vol. 10, pp. 1–8, 2023.

S. Srivastava, A. V. Divekar, C. Anilkumar, I. Naik, V. Kulkarni, and V. Pattabiraman, “Comparative analysis of deep learning image detection algorithms,” J Big Data, vol. 8, no. 1, Dec. 2021, doi: 10.1186/s40537-021-00434-w.

Yanto, F. Aziz, and Irmawati, “Yolo-V8 Peningkatan Algoritma Untuk Deteksi Pemakaian Masker Wajah,” pp. 1–8, 2023.

J. Terven and D. Cordova-Esparza, “A Comprehensive Review of YOLO Architectures in Computer Vision: From YOLOv1 to YOLOv8 and YOLO-NAS,” Apr. 2023, doi: 10.3390/make5040083.

D. Kasperek, P. Antonowicz, M. Baranowski, M. Sokolowska, and M. Podpora, “Comparison of the Usability of Apple M2 and M1 Processors for Various Machine Learning Tasks,” Sensors, vol. 23, no. 12, Jun. 2023, doi: 10.3390/s23125424.

laila Qadrini, andi Seppewali, and asra Aina, “Decision Tree Dan Adaboost Pada Klasifikasi Penerima Program Bantuan Sosial,” vol. 7, pp. 1–8, 2021.




DOI: https://doi.org/10.30743/infotekjar.v9i1.9713

Refbacks

  • There are currently no refbacks.


Copyright (c) 2026 syarifah syifa hamidah, Nixon Erzed

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.