Compile fix

This commit is contained in:
AlexeyAB
2018-03-28 03:09:28 +03:00
parent d9ae3dd681
commit 196f223888
4 changed files with 7 additions and 4 deletions

View File

@ -313,7 +313,8 @@ void demo(char *cfgfile, char *weightfile, float thresh, float hier_thresh, int
}
}
#else
void demo(char *cfgfile, char *weightfile, float thresh, float hier_thresh, int cam_index, const char *filename, char **names, int classes, int frame_skip, char *prefix, char *out_filename, int http_stream_port, int dont_show)
void demo(char *cfgfile, char *weightfile, float thresh, float hier_thresh, int cam_index, const char *filename, char **names, int classes,
int frame_skip, char *prefix, char *out_filename, int http_stream_port, int dont_show)
{
fprintf(stderr, "Demo needs OpenCV for webcam images.\n");
}