In Yolov7, I use this code to test entire folder images.
python test.py --save-txt --data data/coco.yaml --save-conf --conf 0.1 --weights yolov7_20240316best.pt --task test --name 0316conf01
Now I need to predict test.txt(include all image path) in yolov4.
I tried this command but not work.
darknet detector test data/obj.data cfg/yolo-obj.cfg backup/yolo-obj_best.weights -thresh 0.9 -dont_show data/test.txt result.txt