From 16d06ec0db241261d0d030722e440206ed8aad77 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Mon, 29 Feb 2016 21:54:12 +0000
Subject: [PATCH] stuff
---
src/coco.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/coco.c b/src/coco.c
index 41c2d80..947bef2 100644
--- a/src/coco.c
+++ b/src/coco.c
@@ -389,10 +389,10 @@
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
}
--
Gitblit v1.10.0