A solar-powered vehicle counter built on Raspberry Pi 5 uses YOLOv8 machine vision and a USB webcam to detect and count vehicles by direction in real time, with periodic uploads to a cloud MySQL database. The system employs Kalman filtering and IoU matching to track individual vehicles across frames and classify their direction of travel without interfering with road infrastructure.