JOIN: Jurnal Online Informatika (Dec 2023)

Optimizing YOLOv8 for Real-Time CCTV Surveillance: A Trade-off Between Speed and Accuracy

  • Muhammad Rizqi Sholahuddin,
  • Maisevli Harika,
  • Iwan Awaludin,
  • Yunita Citra Dewi,
  • Fachri Dhia Fauzan,
  • Bima Putra Sudimulya,
  • Vandha Pradiyasma Widarta

DOI
https://doi.org/10.15575/join.v8i2.1196
Journal volume & issue
Vol. 8, no. 2
pp. 261 – 270

Abstract

Read online

Real-time video surveillance, especially CCTV systems, requires fast and accurate face detection. Object detection models with slow inference times are ineffective in real-time. This study addresses this challenge by improving the inference speed of the YOLOv8 model, a leading object detection framework known for its accuracy and speed. We focus on pruning the model's architecture, particularly the P5 head section, which detects larger objects. According to Bochkovskiy's 2020 research, this modification enhances the model's performance specifically for medium and small objects in CCTV footage. The standard YOLOv8 model and its modified version were compared for inference time, mean Average Precision (mAP), and model weight. The pruned YOLOv8 model cuts inference time by 15.56%, from 4.5 ms to 3.8 ms, and reduces model weight. The advantages mentioned above are offset by a 1.6% decrease in mean average precision. This research advances object detection technology by demonstrating architectural modifications' efficacy. These changes make the model faster and lighter, making it suitable for real-time surveillance. The accuracy trade-off is slight. The implications of these findings are crucial for implementing efficient object detection systems in CCTV surveillance. These findings also lay the groundwork for future research to improve such systems' speed-accuracy trade-off.

Keywords