From fc496d52bf22a0bb257300d3c79be9cd80e722cb Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Thu, 12 Apr 2018 19:32:57 +0000
Subject: [PATCH] Yolo can be used from Python 2.x using /darknet.py on Linux or darknet/x64/darknet.py on Windows

---
 src/http_stream.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/http_stream.h b/src/http_stream.h
index ca7e3ae..af3d399 100644
--- a/src/http_stream.h
+++ b/src/http_stream.h
@@ -5,11 +5,16 @@
 #ifdef __cplusplus
 extern "C" {
 #endif
+#include "image.h"
 
 void send_mjpeg(IplImage* ipl, int port, int timeout, int quality);
 CvCapture* get_capture_webcam(int index);
 IplImage* get_webcam_frame(CvCapture *cap);
 
+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);
+
 #ifdef __cplusplus
 }
 #endif

--
Gitblit v1.10.0