From 1b1221ace5f49b5b464cf7f4ff89f31cf03d3da1 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Fri, 06 Apr 2018 20:58:32 +0000
Subject: [PATCH] Minor fix for Web Cam on OpenCV 3.x

---
 src/http_stream.h |    1 -
 src/demo.c        |    1 +
 2 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/demo.c b/src/demo.c
index 6ae3c33..027ca4d 100644
--- a/src/demo.c
+++ b/src/demo.c
@@ -24,6 +24,7 @@
 #ifndef CV_VERSION_EPOCH
 #include "opencv2/videoio/videoio_c.h"
 #endif
+#include "http_stream.h"
 image get_image_from_stream(CvCapture *cap);
 
 static char **demo_names;
diff --git a/src/http_stream.h b/src/http_stream.h
index b1daf9f..af3d399 100644
--- a/src/http_stream.h
+++ b/src/http_stream.h
@@ -11,7 +11,6 @@
 CvCapture* get_capture_webcam(int index);
 IplImage* get_webcam_frame(CvCapture *cap);
 
-//image image_data_augmentation(const char *filename, int w, int h,
 image image_data_augmentation(IplImage* ipl, int w, int h,
 	int pleft, int ptop, int swidth, int sheight, int flip,
 	float jitter, float dhue, float dsat, float dexp);

--
Gitblit v1.10.0