From 89354d0a0ce6fbb22ff262658045cdb8796ff6fd Mon Sep 17 00:00:00 2001 From: AlexeyAB <alexeyab84@gmail.com> Date: Fri, 04 May 2018 20:52:05 +0000 Subject: [PATCH] Fixed memory leaks. And fixes for Web-camera and IP-camera. --- src/http_stream.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/http_stream.h b/src/http_stream.h index b1daf9f..78597a0 100644 --- a/src/http_stream.h +++ b/src/http_stream.h @@ -9,9 +9,9 @@ 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(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); -- Gitblit v1.10.0