YOLOv5-Based Surveillance Camera Prototype for Real-Time Sharp Object Detection with Telegram Notification

Authors

  • Vanessa Shakila Universitas Almuslim
  • Imam Muslem Universitas Almuslim
  • Sriwinar Sriwinar Universitas Almuslim

DOI:

https://doi.org/10.51179/ilka.v3i1.35

Keywords:

Surveillance Camera, YOLOv5, Object Detection, Sharp Object, Real-Time, Telegram Notification, Roboflow, Google Colab, Confusion Matrix, Python

Abstract

This study aims to design and develop a prototype surveillance camera system based on the You Only Look Once version 5 (YOLOv5) algorithm for real-time detection of sharp objects, namely knives and scissors, integrated with Telegram notifications. The dataset consists of 2000 images (1000 images per class), annotated via Roboflow and trained in Google Colab. The methodology includes data collection, preprocessing, model training, model conversion, and real-time detection implementation using Python in PyCharm. Evaluation results show a mean Average Precision (mAP@0.5) of 0.88 and mAP@0.5:0.95 of 0.577. The scissors class achieved higher precision and recall (0.934 and 0.88) compared to knives (0.808 and 0.795). Real-time testing produced an average confidence score of 0.445 and an average Frame Per Second (FPS) of 0.56, indicating hardware limitations. Confusion matrix analysis revealed a 58% misclassification rate of knives as background,

higher than scissors (42%). This study confirms the effectiveness of YOLOv5 for sharp object detection in security applications, with potential for improvement through hardware optimization and dataset diversification

Downloads

Download data is not yet available.

References

[1] I. Muslem, “Prototype Kunci RFID (Radio Frequency Identification) dalam Meningkatkan Keamanan Kendaraan Bermotor,” JURNAL TIKA, vol. 5, no. 3, 2021, doi: 10.51179/tika.v5i3.104.

[2] G. P. A. Dipura, F. Amanda, M. R. Firmansyah, M. R. Rizky, and M. N. K. Jamal, “Teknologi Komputer Vision dalam Kamera Pengawas,” Karimah Tauhid, vol. 3, no. 3, 2024, doi: 10.30997/karimahtauhid.v3i3.12292.

[3] Z. Jiang, L. Zhao, L. I. Shuaiyang, and J. I. A. Yanfei, “Real-Time Object Detection Method For Embedded Devices,” ArXiv, vol. 3, 2020.

[4] S. Lu, B. Wang, H. Wang, L. Chen, M. Linjian, and X. Zhang, “A real-time object detection algorithm for video,” Computers and Electrical Engineering, vol. 77, 2019, doi: 10.1016/j.compeleceng.2019.05.009.

[5] W. Gai, Y. Liu, J. Zhang, and G. Jing, “An improved Tiny YOLOv3 for real-time object detection,” Systems Science and Control Engineering, vol. 9, no. 1, 2021, doi: 10.1080/21642583.2021.1901156.

[6] J. Lee and K. il Hwang, “YOLO with adaptive frame control for real-time object detection applications,” Multimed. Tools Appl., vol. 81, no. 25, 2022, doi: 10.1007/s11042-021-11480-0.

[7] W. He, Z. Huang, Z. Wei, C. Li, and B. Guo, “TF-YOLO: An improved incremental network for real-time object detection,” Applied Sciences (Switzerland), vol. 9, no. 16, 2019, doi: 10.3390/app9163225.

[8] R. Sushma, M. Rithika Devi, N. Maheshwaram, and D. R. Sreedhar Bhukya, “Automatic License Plate Recognition with YOLOv5 and Easy-OCR method,” International Journal Of Innovative Research In Technology, vol. 9, no. 1, 2022.

[9] C. Wan, Y. Pang, and S. Lan, “Overview of YOLO Object Detection Algorithm,” International Journal of Computing and Information Technology, vol. 2, no. 1, 2022, doi: 10.56028/ijcit.1.2.11.

[10] P. Jiang, D. Ergu, F. Liu, Y. Cai, and B. Ma, “A Review of Yolo Algorithm Developments,” Procedia Comput. Sci., vol. 199, pp. 1066–1073, 2022, doi: https://doi.org/10.1016/j.procs.2022.01.135.

[11] F. Agustina, “Deteksi Kematangan Buah Pepaya Menggunakan Algoritma YOLO Berbasis Android,” Jurnal Ilmiah Infokam, vol. 18, no. 2, 2022, doi: 10.53845/infokam.v18i2.320.

[12] Z. Chen et al., “Plant Disease Recognition Model Based on Improved YOLOv5,” Agronomy, vol. 12, no. 2, 2022, doi: 10.3390/agronomy12020365.

[13] G. Jocher, “ultralytics/yolov5: v7.0 - YOLOv5 SOTA Realtime Instance Segmentation (v7.0),” Https://Github.Com/Ultralytics/Yolov5/Tree/V7.0, 2022.

[14] D. Armiady and I. M. R, “Klasifikasi Kualitas Buah Pisang Berdasarkan Citra Buah Menggunakan Stochastic Gradient Descent,” KLIK: Kajian Ilmiah Informatika dan Komputer, vol. 4, no. 2, 2023.

[15] I. R. Muslem and T. M. Johan, “KLIK: Kajian Ilmiah Informatika dan Komputer Klasifikasi Citra Ikan Menggunakan Algoritma Convolutional Neural Network dengan Arsitektur VGG-16,” Media Online), vol. 4, no. 2, pp. 978–985, 2023, doi: 10.30865/klik.v4i2.1209.

[16] C. H. H. Jannah, I. Muslem, and D. Azmi, “Jurnal Ilmu Komputer Aceh Klasifikasi Plat Nomor Kenderaan Bedasarkan Wilayah Tertentu Menggunakan Algoritma Optical Character Recognition,” Jurnal Ilmu Komputer Aceh, Oct. 2025, [Online]. Available: https://jurnal.fikompublisher.com/ilka/article/view/16

[17] I. Muslem, I. Irvanizam, A. Almuzammil, and F. Johar, “Adaptive Heuristic-Based Ant Colony Optimization for Multi-Constraint University Course Timetabling with Morning Slot Preference for Energy Efficiency,” Jurnal Teknik Informatika (Jutif), vol. 6, no. 6, pp. 5930–5943, Jan. 2026, doi: 10.52436/1.jutif.2025.6.6.5588.

Published

2026-03-04

How to Cite

Shakila, V., Muslem, I., & Sriwinar, S. (2026). YOLOv5-Based Surveillance Camera Prototype for Real-Time Sharp Object Detection with Telegram Notification. Aceh Journal of Computer Science , 3(1), 90–95. https://doi.org/10.51179/ilka.v3i1.35

Most read articles by the same author(s)

1 2 > >> 

Similar Articles

1 2 > >> 

You may also start an advanced similarity search for this article.