update
This commit is contained in:
@@ -18,7 +18,8 @@ public:
|
||||
bool flip = false;
|
||||
char zmq_bind_addr[40] = "tcp://*:";
|
||||
|
||||
std::thread *thread;
|
||||
std::thread *thread_capture;
|
||||
std::thread *thread_request;
|
||||
cv::VideoCapture *cap;
|
||||
cv::Mat frame;
|
||||
zmq::context_t *context;
|
||||
@@ -26,7 +27,8 @@ public:
|
||||
|
||||
capture(int camera_index, int zmq_port, int width_set = 320, int height_set = 240, int fps_set = 20, bool flip = false);
|
||||
void start(void);
|
||||
void run(void);
|
||||
void get(void);
|
||||
void req(void);
|
||||
bool is_open(void);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user