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/detection.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/detection.c b/src/detection.c
index f595701..c9dea3e 100644
--- a/src/detection.c
+++ b/src/detection.c
@@ -5,6 +5,9 @@
 #include "parser.h"
 #include "box.h"
 
+#ifdef OPENCV
+#include "opencv2/highgui/highgui_c.h"
+#endif
 
 char *class_names[] = {"aeroplane", "bicycle", "bird", "boat", "bottle", "bus", "car", "cat", "chair", "cow", "diningtable", "dog", "horse", "motorbike", "person", "pottedplant", "sheep", "sofa", "train", "tvmonitor"};
 

--
Gitblit v1.10.0