Implementation of YOLOv8s Computer Vision for Conveyor Counting Using Raspberry Pi 5 and Hailo-8L Accelerator
Abstract
Industrial automation systems require automatic, real-time object counting on conveyors. Conventional sensors have limitations in handling variations in object shapes and conditions. A deep learning-based computer vision approach can be a solution, but its implementation on embedded devices such as the Raspberry Pi 5 faces computational limitations that result in slow inference speeds. This research implements the YOLOv8s model, accelerated using the Neural Processing Unit (NPU)-based Hailo-8L on the Raspberry Pi 5, for real-time object counting. A dataset of 1,343 bottle cap images was annotated using Roboflow and divided into 70% for training, 20% for validation, and 10% for testing, with a resolution of 640 x 640 pixels. The model was trained using Google Colab, exported to ONNX format, and compiled into Hailo Executable Format (.hef) using the Hailo Dataflow Compiler. Testing was conducted at conveyor speeds of 1.6–10.0 m/min with and without the Hailo-8L. Test results showed an increase in FPS from an average of 2.2 FPS to 28.9 FPS—approximately a 13.1-fold increase. In controlled counting tests, the system with Hailo-8L achieved up to 100% accuracy, while the system without Hailo-8L experienced a decline in counting accuracy at higher conveyor speeds. Validation in an industrial environment demonstrated a counting success rate of 97%. These results indicate that the Hailo-8L’s acceleration capability can reduce the YOLOv8s inference computational bottleneck and improve the real-time performance of the counting system.
Keywords
Full Text:
PDFReferences
A. F. Dewi, J. Jamaluddin, M. Basyir, and M. Farhan Ali, “Simulasi Sistem Otomasi Penyortiran dan Pengemasan Barang Berbasis Warna,” Jurnal Litek : Jurnal Listrik Telekomunikasi Elektronika, vol. 22, no. 2, pp. 157–162, Oct. 2025, doi: 10.30811/litek.v22i2.85.
A. M. Maulan, G. L. D. Saputra, R. B. Syahputra, S. M. R. Hidayat, and Y. Prastyo, “Pengaruh Sistem Otomasi Robotik Terhadap Proses Produksi Mencakup Efisiensi Biaya, Waktu, Dan Kualitas Produk Menggunakan Metode Analisis Data Statistik,” GLOBAL: Jurnal Lentera BITEP, vol. 3, no. 1, pp. 8–16, 2025, doi: 10.59422/global.v3i01.720.
C. R. H. Barbosa, M. C. Sousa, M. F. L. Almeida, and R. F. Calili, “Smart Manufacturing and Digitalization of Metrology: A Systematic Literature Review and a Research Agenda,” Sensors, vol. 22, no. 16, p. 6114, 2022, doi: 10.3390/s22166114.
P. Buranajarukorn, S. Thongtab, J. Virunbut, I. Luanghan, and P. Apichayakul, “Benchmarking ROI Strategies for Real-Time Chicken Counting Using YOLOv8 and LLM-Assisted Development in Industrial Slaughterhouses,” Naresuan University Engineering Journal, vol. 20, no. 2, pp. 20–30, 2025.
D. Varna and V. Abromavičius, “A System for a Real-Time Electronic Component Detection and Classification on a Conveyor Belt,” Applied Sciences (Switzerland), vol. 12, no. 11, Jun. 2022, doi: 10.3390/app12115608.
A. Djafar, R. Gunawan, H. D. Haryono, and D. Suanggana, “Efektifitas Respon Sensor Proximity Induktif dalam Menyortir Pecahan Logam pada Model Conveyor,” Jurnal Serambi Engineering, vol. 8, no. 1, pp. 4492–4499, 2023, doi: 10.32672/jse.v8i1.5126.
S. C. Putra, “PENGARUH VARIASI KECEPATAN KONVEYOR TERHADAP WAKTU OPERASIONAL DAN PEMILAH LOGAM DAN NON LOGAM,” Jurnal Informatika dan Teknik Elektro Terapan, vol. 13, no. 3S1, Oct. 2025, doi: 10.23960/jitet.v13i3S1.7503.
L. Dai et al., “A new machine vision detection method for identifying and screening out various large foreign objects on coal belt conveyor lines,” Complex and Intelligent Systems, vol. 9, no. 5, pp. 5221–5234, Oct. 2023, doi: 10.1007/s40747-023-01011-9.
T. Diwan, G. Anirudh, and J. V. Tembhurne, “Object detection using YOLO: challenges, architectural successors, datasets and applications,” Multimed. Tools Appl., vol. 82, no. 6, pp. 9243–9275, Mar. 2023, doi: 10.1007/s11042-022-13644-y.
D. S. Mahardhika and M. A. I. Pakereng, “Deteksi Objek Secara Real-Time Berbasis YOLOv8 dan Algoritma DeepSORT,” Jurnal Media Computer Science, vol. 5, no. 1, pp. 671–686, 2026, doi: 10.37676/jmcs.v5i1.10038.
H. Rahmat, S. Wahjuni, and H. Rahmawan, “Performance Analysis of Deep Learning-based Object Detectors on Raspberry Pi for Detecting Melon Leaf Abnormality,” International Journal on Advanced Science, Engineering and Information Technology, vol. 12, no. 2, pp. 572–579, Apr. 2022, doi: 10.18517/ijaseit.12.2.13801
K. Luo et al., “An optimized YOLOv8n based model for real time defect detection in taro strip production,” Sci. Rep., vol. 15, no. 1, Dec. 2025, doi: 10.1038/s41598-025-28216-x.
M. Knocker, M. Sontheimer, G. G. Machado, and S. Y. Chou, “Democratizing UAV-Based Search and Rescue: Real-Time Human Detection on Affordable Edge AI Hardware,” in Advances in Transdisciplinary Engineering, IOS Press BV, Oct. 2025, pp. 72–81. doi: 10.3233/ATDE251079.
G. Bueno, L. Sanchez-Vargas, A. Diaz-Maroto, J. Ruiz-Santaquiteria, M. Blanco, J. Salido, and G. Cristobal, “Real-Time Edge Computing vs. GPU-Accelerated Pipelines for Low-Cost Microscopy Applications,” Electronics, vol. 14, no. 5, Art. no. 930, 2025, doi: 10.3390/electronics14050930.
A. A. Christo, M. B. P. Utama, Y. A. Camme, D. Eridani, and P. E. Mountaines, “YOLO-Based Helmet Detection and Intelligent Parking System: A Case Study at Diponegoro University,” International Journal of Safety and Security Engineering, vol. 15, no. 5, pp. 1075–1088, May 2025, doi: 10.18280/ijsse.150520.
H. Pasache, C. Tuesta, and C. Inga, “Design of an Automated System for Classifying Maturation Stages of Erythrina edulis Beans Using Computer Vision and Convolutional Neural Networks,” AgriEngineering, vol. 7, no. 9, p. 277, 2025, doi: 10.3390/agriengineering7090277.
S. V. Veena Devi, K. Sowmya Nag, Ravikant, S. Nayak, H. R. Kiran, B. V. Manoj Kumar, and A. S. Yogeesh, “Classification of cashew kernel using deep learning,” International Journal of Food Properties, vol. 29, no. 1, Art. no. 2699529, 2026, doi: 10.1080/10942912.2026.2699529.
I. W. O. Arianta, S. T. P. E. Sitompul, G. C. M. Dharmawan, N. I. ER, L. Jasa, W. Setiawan, and I. P. E. D. Nugraha, “Perancangan Purwarupa Alat Deteksi Kerusakan Jalan Berbasis Machine Learning,” Jurnal SPEKTRUM, vol. 12, no. 2, pp. 9–21, 2025.
DOI: https://doi.org/10.21107/triac.v13i2.36213
Refbacks
- There are currently no refbacks.
Copyright (c) 2026 Jurnal Teknik Elektro dan Komputer TRIAC

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











