From ab75d5c5783db4792e400f933d584984f3aa7bf0 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Mon, 20 Jun 2016 05:39:37 +0000
Subject: [PATCH] t1
---
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