Go to the documentation of this file.
14 camRgb->setInterleaved(
false);
15 auto maxFrameSize = camRgb->getPreviewHeight() * camRgb->getPreviewHeight() * 3;
23 manip1->setMaxOutputFrameSize(maxFrameSize);
24 camRgb->preview.link(manip1->inputImage);
30 manip2->setMaxOutputFrameSize(maxFrameSize);
31 camRgb->preview.link(manip2->inputImage);
35 manip1->out.link(xout1->input);
39 manip2->out.link(xout2->input);
49 cv::imshow(
"Tile 1", in1->getCvFrame());
54 cv::imshow(
"Tile 2", in2->getCvFrame());
57 int key = cv::waitKey(1);
58 if(key ==
'q' || key ==
'Q')
return 0;
XLinkOut node. Sends messages over XLink.
Represents the pipeline, set of nodes and connections between them.
ImageManipConfig & setCropRect(float xmin, float ymin, float xmax, float ymax)
ColorCamera node. For use with color sensors.
std::shared_ptr< DataOutputQueue > getOutputQueue(const std::string &name)
ImageManipConfig & setHorizontalFlip(bool flip)
std::shared_ptr< N > create()
ImageManip node. Capability to crop, resize, warp, ... incoming image frames.
void setPreviewSize(int width, int height)
Set preview output size.
ImageManipConfig initialConfig
void setVerticalFlip(bool flip)
void setStreamName(const std::string &name)
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19