1
demo.c 261行改count,按秒数存照片
命令行:.\darknet.exe detector demo data/coco.data yolov3.cfg yolov3.weights -i 0 -thresh 0.25 -ext_output test1.mp4 -prefix results/ -s 59
2
image.c 313行写旧图片:
//第五个区域
int one_x = 503+30;
int one_y = 220+20;
int one_h = 178-60;
int one_w = 240-40;
int one_p = 0;
//第六个区域
int two_x = 659+30;
int two_y = 343+20;
int two_h = 183-60;
int two_w = 358 - 40;
int two_p = 0;
//第三个区域
int three_x = 149 + 20;
int three_y = 76 + 15;
int three_w = 111 - 40;
int three_h = 75 - 30;
int three_p = 0;
156 168 42 139
3 常见命令及意义
命令带 “ -http_port 8090" 参数后,会把结果视频传到 localhost:8090 地址 ,同时弹出demo窗口。
命令中带有”-prefix name“会在目录下存储处理后的每一帧图片,命名为:name_ 00000001.jpg