app/: Main application code (inference and config server).models/: YOLO models.scripts/: Utility scripts (config tool, repair).roi_images/: Generated reference images for ROIs.
- Install dependencies:
python3 -m venv venv source venv/bin/activate pip install -r requirements.txt - Ensure you have the following models in
models/:model.pt(Your Bottle Detection Model)yolov8n-pose.pt(YOLO Pose)
Run the web server to configure ROIs.
python app/config_server.py <path_to_video>- Open
http://localhost:5000. - Configure your ROIs and save.
Run the main detection system.
python app/main.py <path_to_video>- The system will display the video with detections and the probability panel.

