Open axzxc1236 opened 6 years ago
to skip "prediction screen", use flag -dont_show
./darknet detector test data/coco.data cfg/yolov3-tiny-coco.cfg coco.weight identification.jpg -i 0 -ext_output -dont_show > output.log
or
./darknet detector test cfg/coco.data yolov3.cfg yolov3.weights -dont_show -ext_output < data/train.txt > result.txt
First problem is about detecting internet pictures. I tried this command
./darknet detector test data/coco.data cfg/yolov3-tiny-coco.cfg coco.weight http://(IP address)/identification/identification.jpg -i 0
but it doesn't work, I can build a bash script to workaround this problem, but it would be nice if it supports detecting internet picture.The second problem is how to skip "prediction screen", after using these commands
./darknet detector test data/coco.data cfg/yolov3-tiny-coco.cfg coco.weight identification.jpg -i 0 -ext_output > output.log
prediction screen shows up and requires me to close it, is there a command line argument to workaround this problem? (Don't shows the screen, end the program after it completes detection.)The third problem is can I output timestamp to log? I use
./darknet detector demo data/coco.data cfg/yolov3-tiny-coco.cfg coco.weight video.mp4 -i 0 > output.log
and in output.log it showsBut I don't know where in the video file these objects shows up, is there a way to put something like "time hh:mm:ss" in the log?