Go to the documentation of this file.
12 for(
const auto& device : devices){
13 std::cout <<
"Device name: " << device.name <<
" id: " << device.mxid << std::endl;
23 #ifdef DEPTHAI_HAVE_OPENCV_SUPPORT
25 std::cout <<
"Frame cols: " << x.cols <<
" rows: " << x.rows << std::endl;
27 std::cout <<
"Data size: " << frame.
getData().size() << std::endl;
static std::vector< DeviceInfo > getAllConnectedDevices(XLinkDeviceState_t state=X_LINK_ANY_STATE, bool skipInvalidDevices=true, XLinkPlatform_t platform=X_LINK_MYRIAD_X)
std::vector< std::uint8_t > & getData() const
Get non-owning reference to internal buffer.
ImgFrame & setWidth(unsigned int width)
int test(dai::LogLevel logLevel)
ImgFrame & setType(Type type)
ImgFrame & setHeight(unsigned int height)
void setData(const std::vector< std::uint8_t > &data)
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19