Go to the documentation of this file.
17 setInputRefs({&input});
18 setOutputRefs({&
out, &passthrough});
Properties & properties
Underlying properties.
float confidenceThreshold
static std::unordered_map< std::string, std::string > map
std::map< std::string, std::vector< int > > anchorMasks
DetectionNetworkType nnFamily
Generic Neural Network properties.
NeuralNetwork node. Runs a neural inference on input data.
void setAnchors(std::vector< float > anchors)
Set anchors.
void setNumClasses(int numClasses)
Set num classes.
int classes
YOLO specific network properties.
YoloDetectionNetwork node. Parses Yolo results.
std::vector< float > getAnchors() const
Get anchors.
void setIouThreshold(float thresh)
Set Iou threshold.
YoloDetectionNetwork(const std::shared_ptr< PipelineImpl > &par, int64_t nodeId)
void setCoordinateSize(int coordinates)
Set coordianate size.
void setConfidenceThreshold(float thresh)
DetectionNetwork(const std::shared_ptr< PipelineImpl > &par, int64_t nodeId)
int getNumClasses() const
Get num classes.
DetectionNetwork, base for different network specializations.
float getIouThreshold() const
Get Iou threshold.
std::vector< float > anchors
Base Properties structure.
MobileNetDetectionNetwork(const std::shared_ptr< PipelineImpl > &par, int64_t nodeId)
DetectionParserOptions parser
float getConfidenceThreshold() const
int getCoordinateSize() const
Get coordianate size.
void setAnchorMasks(std::map< std::string, std::vector< int >> anchorMasks)
Set anchor masks.
std::map< std::string, std::vector< int > > getAnchorMasks() const
Get anchor masks.
MobileNetDetectionNetwork node. Parses MobileNet results.
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19