Go to the documentation of this file.
15 xoutRgb->setStreamName(
"rgb");
21 camRgb->setInterleaved(
false);
25 camRgb->preview.link(xoutRgb->input);
33 cout <<
"Usb speed: " << device.
getUsbSpeed() << endl;
50 cv::imshow(
"rgb", inRgb->getCvFrame());
52 int key = cv::waitKey(1);
53 if(key ==
'q' || key ==
'Q') {
XLinkOut node. Sends messages over XLink.
Represents the pipeline, set of nodes and connections between them.
ColorCamera node. For use with color sensors.
std::vector< CameraFeatures > getConnectedCameraFeatures()
std::string getProductName()
std::shared_ptr< DataOutputQueue > getOutputQueue(const std::string &name)
std::shared_ptr< N > create()
std::string getDeviceName()
tl::optional< Version > getBootloaderVersion()
void setPreviewSize(int width, int height)
Set preview output size.
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19