AlexeyAB
2018-04-06 1b1221ace5f49b5b464cf7f4ff89f31cf03d3da1
Minor fix for Web Cam on OpenCV 3.x
2 files modified
2 ■■■ changed files
src/demo.c 1 ●●●● patch | view | raw | blame | history
src/http_stream.h 1 ●●●● patch | view | raw | blame | history
src/demo.c
@@ -24,6 +24,7 @@
#ifndef CV_VERSION_EPOCH
#include "opencv2/videoio/videoio_c.h"
#endif
#include "http_stream.h"
image get_image_from_stream(CvCapture *cap);
static char **demo_names;
src/http_stream.h
@@ -11,7 +11,6 @@
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);