进行图片测试
- 测试一
python detect.py --source ./test/test1.jpg --weights runs/train/base/weights/best.pt --conf 0.4 --save-txt --save-conf
- 测试二
python detect.py --source ./test/test2.jpg --weights runs/train/base/weights/best.pt --conf 0.4 --save-txt --save-conf
- 测试三
python detect.py --source ./test/test3.jpg --weights runs/train/base/weights/best.pt --conf 0.4 --save-txt --save-conf
视频测试
python detect.py --source ./test/kouzhao.mp4 --weights runs/train/base/weights/best.pt --conf 0.4