我想将图像保存在命令的运行视频中./darknet detector demo cfg/coco.data cfg/yolo.cfg yolo.weights <video_file>
。所以我在examples/detector.c中将-prefix参数的值改为“a”来保存图像而不是流式传输视频
Loading weights from yolo.weights...Done!
video file: /home/ubuntu/VID_20170602_164011.3gp
save_image_jpg(): a_00000000.jpg
FPS:0.0
Objects:
save_image_jpg(): a_00000001.jpg
FPS:0.0
Objects:
refrigerator: 26%
person: 40%
save_image_jpg(): a_00000002.jpg
FPS:0.0
Objects:
refrigerator: 36%
person: 88%
refrigerator: 26%
save_image_jpg(): a_00000003.jpg
但是 jpg 图像没有保存在我的系统中。我正在使用 ubuntu 作为操作系统。有帮助