This commit is contained in:
Joseph Redmon
2016-02-29 13:54:12 -08:00
parent 23955b9fa0
commit 16d06ec0db
30 changed files with 1453 additions and 148 deletions

View File

@ -389,10 +389,10 @@ void test_coco(char *cfgfile, char *weightfile, char *filename, float thresh)
void demo_coco(char *cfgfile, char *weightfile, float thresh, int cam_index, char *filename);
static void demo(char *cfgfile, char *weightfile, float thresh, int cam_index, char* filename)
{
#if defined(OPENCV) && defined(GPU)
#if defined(OPENCV)
demo_coco(cfgfile, weightfile, thresh, cam_index, filename);
#else
fprintf(stderr, "Need to compile with GPU and OpenCV for demo.\n");
fprintf(stderr, "Need to compile with OpenCV for demo.\n");
#endif
}