Save jpg-images for detector demo if used flag: -prefix <filename>

pull/901/head^2
AlexeyAB 7 years ago
parent 4403e71b33
commit b88b7b645b
  1. 3
      src/demo.c

@ -243,7 +243,8 @@ void demo(char *cfgfile, char *weightfile, float thresh, float hier_thresh, int
}
}else{
char buff[256];
sprintf(buff, "%s_%08d", prefix, count);
sprintf(buff, "%s_%08d.jpg", prefix, count);
cvSaveImage(buff, show_img, 0);
//save_image(disp, buff);
}

Loading…
Cancel
Save