- Python 3.5
- OpenCV
- yolov3.cfg
- download from https://pjreddie.com/media/files/yolov3.weights
- put the file such as
yolo-coco\yolov3.cfg
ex: python yolo.py --image images/baggage_claim.jpg --yolo yolo-coco
Command | Shortcut | Description | Required | Default |
---|---|---|---|---|
--image | -image | path to image | True | |
--yolo | -y | base path to YOLO directory | True | |
--confidence | -c | minimum probability to filter weak detections | 0.5 | |
--threshold | -t | threshold when applying non-maxima suppression | 0.3 |
ex: python yolo_video.py --output output/output.avi --yolo yolo-coco
ex: python yolo_video.py --input 1 --output output/output.avi --yolo yolo-coco
Command | Shortcut | Description | Required | Default |
---|---|---|---|---|
--input | -input | camera id | 0 | |
--output | -output | path to output video | True | |
--yolo | -y | base path to YOLO directory | True | |
--confidence | -c | minimum probability to filter weak detections | 0.5 | |
--threshold | -t | threshold when applying non-maxima suppression | 0.3 |