19 explicit camera_ocv(
const camera_base::push_frame_cb_t& cb,
size_t index);
22 void set_device_by_index(uint32_t device_index)
override;
23 void set_device_by_id(
const std::string& device_id)
override;
24 void start()
override;
29 void update_image_content();
31 cv::VideoCapture m_capture;
35 uint32_t m_frame_width{0};
36 uint32_t m_frame_height{0};
37 uint32_t m_frame_size = m_frame_width * m_frame_height;
38 uint32_t m_device_count{0};