From e625b32e060753e2029d52bc0150637f2a14cb72 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Fri, 14 Aug 2015 15:45:52 +0000
Subject: [PATCH] Should fix for OpenCV 3.0
---
src/coco.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/coco.c b/src/coco.c
index ed53cef..66fddf5 100644
--- a/src/coco.c
+++ b/src/coco.c
@@ -7,6 +7,9 @@
#include "parser.h"
#include "box.h"
+#ifdef OPENCV
+#include "opencv2/highgui/highgui_c.h"
+#endif
char *coco_classes[] = {"person","bicycle","car","motorcycle","airplane","bus","train","truck","boat","traffic light","fire hydrant","stop sign","parking meter","bench","bird","cat","dog","horse","sheep","cow","elephant","bear","zebra","giraffe","backpack","umbrella","handbag","tie","suitcase","frisbee","skis","snowboard","sports ball","kite","baseball bat","baseball glove","skateboard","surfboard","tennis racket","bottle","wine glass","cup","fork","knife","spoon","bowl","banana","apple","sandwich","orange","broccoli","carrot","hot dog","pizza","donut","cake","chair","couch","potted plant","bed","dining table","toilet","tv","laptop","mouse","remote","keyboard","cell phone","microwave","oven","toaster","sink","refrigerator","book","clock","vase","scissors","teddy bear","hair drier","toothbrush"};
--
Gitblit v1.10.0