to run the regiodetection.py always use these commands # If you want to save results python yolov8_region_counter.py --source "path/to/video.mp4" --save-img --view-img
python yolov8_region_counter.py --source "path/to/video.mp4" --save-img --view-img --device cpu
python yolov8_region_counter.py --source "path/to/video.mp4" --save-img --weights "path/to/model.pt"
python yolov8_region_counter.py --source "path/to/video.mp4" --view-img #for example python regiondetection.py --source "/Users/pascal/Desktop/seppevideo.mp4" --save-img --view-img to update you can use this command: pip3 install --upgrade ultralytics