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 | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/http_stream.h b/src/http_stream.h
index c9b05b6..af3d399 100644
--- a/src/http_stream.h
+++ b/src/http_stream.h
@@ -5,8 +5,15 @@
#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
}
--
Gitblit v1.10.0