mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Minor fix for Web Cam on OpenCV 3.x
This commit is contained in:
@ -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;
|
||||
|
@ -11,7 +11,6 @@ void send_mjpeg(IplImage* ipl, int port, int timeout, int quality);
|
||||
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);
|
||||
|
Reference in New Issue
Block a user