Open ccosc opened 6 years ago
Use -dont_show
instead of -dont_show 1
Also it looks like you run it from other folder, so try to find res.avi
in the other folders - near with ./darknet
or ../../
but when I run it ../../darknet detector demo ../dataset/voc/voc.data ./test.cfg ./backup/train_41000.weights ../pic/cross_1.mp4 -dont_show -out_filename res.avi
it shows this:
............. person: 98% car: 100% car: 100% car: 95% car: 84% car: 64% car: 36% car: 33% bicycle: 100% input video stream closed.
It stopped at the beginning.
@ccosc
Does it work well for command ./darknet detector demo data/coco.data cfg/yolov3.cfg yolov3.weights cross_1.mp4
?
What params do you use in the Makefile?
Did you compile OpenCV with FFMPEG support: cmake -D CMAKE_BUILD_TYPE=RELEASE -D WITH_FFMPEG=ON
... ?
I just download the opencv,and not compile it ..
use the opencv with script
I use the script ../../darknet detector demo ../dataset/voc/voc.data ./test.cfg ./backup/train_41000.weights ../pic/cross_1.mp4 -dont_show 1 -out_filename res.avi
it did not produce the res.avi
I look your code of demo.c,find it has changed so much.