From 31b6b0bad3e9111aac4792ebfe37218835ce8efc Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Wed, 22 Aug 2018 23:44:21 +0000
Subject: [PATCH] XNOR-net 4x acceleration on CPU for yolov2-tiny - 22 FPS (CPU Core i7 6700K)
---
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 ca7e3ae..298d339 100644
--- a/src/http_stream.h
+++ b/src/http_stream.h
@@ -5,10 +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);
+int get_stream_fps_cpp(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