mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
22 lines
493 B
C
22 lines
493 B
C
#pragma once
|
|
#ifndef HTTP_STREAM_H
|
|
#define HTTP_STREAM_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#include "image.h"
|
|
|
|
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(IplImage* ipl, int w, int h,
|
|
int pleft, int ptop, int swidth, int sheight, int flip,
|
|
float jitter, float dhue, float dsat, float dexp);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // HTTP_STREAM_H
|