The counting of students in the classroom, which is still performed manually, has the potential to cause data inaccuracies and delays in information. This study aims to design and implement a monitoring tool for counting students based on YOLOv8 detection and Arduino Uno, allowing the counting results to be read in physical form without relying on a computer screen. The development method used is the System Development Life Cycle (SDLC), which includes planning, analysis, design, implementation, testing, and maintenance. A USB web camera captures video of the classroom, where YOLOv8 detects the presence of individuals. Tracking IDs help prevent double counting, while virtual lines distinguish between students entering and exiting. The total number of students is sent from Python to Arduino Uno via stable serial communication and displayed on a 16×2 I2C LCD. The testing results show a counting success rate of 95% at a distance of 1–2 meters and 80% at a distance of 3–4 meters. The reported accuracy is 93% in bright conditions, 90% in normal conditions, and 80% in low-light conditions. These results indicate that the prototype can count students and display the results in real-time.
Copyrights © 2027