Comparative Analysis of YOLOv5 and YOLOv8 Cigarette Detection in Social Media Content

Authors

  • Cinantya Paramita Universitas Dian Nuswantoro Author https://orcid.org/0009-0000-7321-0541
  • Catur Supriyanto Universitas Dian Nuswantoro Author
  • Amalia Universitas Dian Nuswantoro Author
  • Khalivio Rahmyanto Putra Universitas Dian Nuswantoro Author

DOI:

https://doi.org/10.15294/sji.v11i2.2808

Keywords:

Yolov5, Yolov8, Deep learning, Detection, Cigarette

Abstract

Purpose: Addresses the pressing public health concern of tobacco product portrayal on social media, which significantly influences the younger demographic by glamorizing smoking culture. The purpose is to compare the capabilities of YOLOv5 and YOLOv8 models in detecting and censoring cigarette-related imagery on social media platforms, aiming to reduce exposure among children and teenagers.

Methods: Employing a dataset of 2,188 images collected from Twitter, this research undertook a comprehensive methodology involving data preprocessing, YOLOv5 and YOLOv8 model training, and rigorous evaluation. The study utilized mean Average Precision (mAP) and F1-Score metrics to evaluate the performance of YOLOv5 and YOLOv8 models, focusing on their precision, recall, and efficacy in detecting cigarette and cigarette pack objects.

Result: The analysis highlighted YOLOv8's superiority, with a marginally higher mAP value of 0.933 compared to YOLOv5's 0.919, alongside enhanced precision and recall rates. This result underscores YOLOv8's advanced object detection capabilities, owing to its architectural innovations and anchor-free detection system. Additionally, the study confirmed the absence of significant overfitting or underfitting issues, indicating robust learning processes of the models.

Novelty: Innovates in digital public health by using YOLOv5 and YOLOv8 models to automatically censor tobacco-related content on social media, effectively reducing youth exposure to such imagery. YOLOv8, in particular, exhibits marginally superior detection capabilities. The evaluation results surpass those of previous research on cigarette and cigarette burning detection, underscoring the study's significant contribution to future research and public health initiatives.

Author Biographies

Downloads

Article ID

2808

Published

20-05-2024

Issue

Section

Articles

How to Cite

Comparative Analysis of YOLOv5 and YOLOv8 Cigarette Detection in Social Media Content. (2024). Scientific Journal of Informatics, 11(2), 341-352. https://doi.org/10.15294/sji.v11i2.2808