🔥 🔥 yolo v2 🔥 🔥

This commit is contained in:
Joseph Redmon
2016-11-17 12:18:19 -08:00
parent c71bff69ea
commit c6afc7ff14
24 changed files with 761 additions and 173 deletions

View File

@ -110,6 +110,7 @@ void demo(char *cfgfile, char *weightfile, float thresh, int cam_index, const ch
srand(2222222);
if(filename){
printf("video file: %s\n", filename);
cap = cvCaptureFromFile(filename);
}else{
cap = cvCaptureFromCAM(cam_index);