Banuba SDK
|
Public Member Functions | |
camera_ocv (const camera_base::push_frame_cb_t &cb, size_t index) | |
void | set_device_by_index (uint32_t device_index) override |
void | set_device_by_id (const std::string &device_id) override |
void | start () override |
Public Member Functions inherited from bnb::camera_base | |
camera_base (push_frame_cb_t cb) | |
const std::vector< camera_device_description > | get_connected_devices () const |
size_t | get_current_device_index () const |
Additional Inherited Members | |
Public Types inherited from bnb::camera_base | |
enum class | camera_format { RGBA , YUV } |
using | push_frame_cb_t = std::function<void(bnb::full_image_t image)> |
Static Public Attributes inherited from bnb::camera_base | |
static camera_format | current_format = camera_format::RGBA |
Protected Member Functions inherited from bnb::camera_base | |
virtual void | abort () |
Protected Attributes inherited from bnb::camera_base | |
push_frame_cb_t | m_push_frame_cb |
std::atomic_bool | m_is_abort_requested |
std::vector< camera_device_description > | m_connected_devices |
size_t | m_device_index |
Definition at line 16 of file ocv_based.hpp.
|
overridevirtual |
Implements bnb::camera_base.
|
overridevirtual |
Implements bnb::camera_base.
|
overridevirtual |
Implements bnb::camera_base.