Minor fix for Web Cam on OpenCV 3.x

This commit is contained in:
AlexeyAB
2018-04-06 23:58:32 +03:00
parent 2a9f7e44ce
commit 1b1221ace5
2 changed files with 1 additions and 1 deletions

View File

@ -24,6 +24,7 @@
#ifndef CV_VERSION_EPOCH #ifndef CV_VERSION_EPOCH
#include "opencv2/videoio/videoio_c.h" #include "opencv2/videoio/videoio_c.h"
#endif #endif
#include "http_stream.h"
image get_image_from_stream(CvCapture *cap); image get_image_from_stream(CvCapture *cap);
static char **demo_names; static char **demo_names;

View File

@ -11,7 +11,6 @@ void send_mjpeg(IplImage* ipl, int port, int timeout, int quality);
CvCapture* get_capture_webcam(int index); CvCapture* get_capture_webcam(int index);
IplImage* get_webcam_frame(CvCapture *cap); 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, image image_data_augmentation(IplImage* ipl, int w, int h,
int pleft, int ptop, int swidth, int sheight, int flip, int pleft, int ptop, int swidth, int sheight, int flip,
float jitter, float dhue, float dsat, float dexp); float jitter, float dhue, float dsat, float dexp);