This study presents the design of a traffic behavior monitoring system based on CCTV networks by comparing two algorithmic approaches: YOLOv8 for real-time object detection and Hierarchical Clustering for unsupervised object grouping without prior labeling. The system is developed to automatically identify behavioral patterns in traffic, such as violations involving riders not wearing helmets. …