Go to the documentation of this file.
2 #include <opencv2/opencv.hpp>
19 camRgb->setInterleaved(
false);
24 manipLeft->initialConfig.setResize(
SHAPE,
SHAPE);
32 nn->setBlobPath(BLOB_PATH);
33 nn->setNumInferenceThreads(2);
35 castXout->setStreamName(
"cast");
39 left->out.link(manipLeft->inputImage);
41 manipLeft->
out.
link(nn->inputs[
"img1"]);
42 camRgb->preview.link(nn->inputs[
"img2"]);
43 manipRight->
out.link(nn->inputs[
"img3"]);
45 cast->output.link(castXout->
input);
54 cv::imshow(
"Concated frames", inCast->getCvFrame());
57 if(cv::waitKey(1) ==
'q') {
XLinkOut node. Sends messages over XLink.
void setCamera(std::string name)
Represents the pipeline, set of nodes and connections between them.
void setResolution(Properties::SensorResolution resolution)
Set sensor resolution.
MonoCamera node. For use with grayscale sensors.
ColorCamera node. For use with color sensors.
NeuralNetwork node. Runs a neural inference on input data.
std::shared_ptr< DataOutputQueue > getOutputQueue(const std::string &name)
ImageManipConfig & setResize(int w, int h)
ImageManipConfig & setFrameType(ImgFrame::Type name)
std::shared_ptr< N > create()
void setResolution(Properties::SensorResolution resolution)
Set sensor resolution.
ImageManip node. Capability to crop, resize, warp, ... incoming image frames.
ImageManipConfig initialConfig
void link(const Input &in)
void setCamera(std::string name)
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19