Minor fix for Web Cam on OpenCV 3.x
| | |
| | | #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; |
| | |
| | | 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); |