From 8f1f5cbf8321b6b313d8f455d596290e7b8bb3f7 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Sat, 24 Mar 2018 20:35:05 +0000
Subject: [PATCH] 3.5x times accelerated data augmentation using OpenCV for training Yolo on DGX and multi-GPU

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

diff --git a/src/http_stream.h b/src/http_stream.h
index ca7e3ae..b1daf9f 100644
--- a/src/http_stream.h
+++ b/src/http_stream.h
@@ -5,11 +5,17 @@
 #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(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);
+
 #ifdef __cplusplus
 }
 #endif

--
Gitblit v1.10.0