From 4403e71b330b42d3cda1e0721fb645cf41bac14f Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Sun, 20 May 2018 15:43:15 +0000
Subject: [PATCH] Supported files for training: jpg, jpeg, bmp, png, ppm - and UPPER CASE extensions
---
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..78597a0 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);
+CvCapture* get_capture_video_stream(char *path);
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