Properties & properties
Underlying properties.
SpatialDetectionNetwork(const std::shared_ptr< PipelineImpl > &par, int64_t nodeId)
static std::unordered_map< std::string, std::string > map
MobileNetSpatialDetectionNetwork(const std::shared_ptr< PipelineImpl > &par, int64_t nodeId)
std::map< std::string, std::vector< int > > getAnchorMasks() const
Get anchor masks.
SpatialDetectionNetwork node. Runs a neural inference on input image and calculates spatial location ...
SpatialLocationCalculatorConfigThresholds depthThresholds
std::map< std::string, std::vector< int > > anchorMasks
DetectionNetworkType nnFamily
Generic Neural Network properties.
void setDepthUpperThreshold(uint32_t upperThreshold)
void setAnchorMasks(std::map< std::string, std::vector< int >> anchorMasks)
Set anchor masks.
float detectedBBScaleFactor
SpatialLocationCalculatorAlgorithm calculationAlgorithm
void setDepthLowerThreshold(uint32_t lowerThreshold)
int classes
YOLO specific network properties.
YoloSpatialDetectionNetwork(const std::shared_ptr< PipelineImpl > &par, int64_t nodeId)
DetectionNetwork, base for different network specializations.
void setIouThreshold(float thresh)
Set Iou threshold.
std::vector< float > anchors
void setBoundingBoxScaleFactor(float scaleFactor)
Base Properties structure.
void setSpatialCalculationAlgorithm(dai::SpatialLocationCalculatorAlgorithm calculationAlgorithm)
float getIouThreshold() const
Get Iou threshold.
void setAnchors(std::vector< float > anchors)
Set anchors.
DetectionParserOptions parser
static constexpr float stepSize
void setSpatialCalculationStepSize(int stepSize)
int getCoordinateSize() const
Get coordianate size.
void setCoordinateSize(const int coordinates)
Set coordianate size.
int getNumClasses() const
Get num classes.
SpatialLocationCalculatorAlgorithm
Output boundingBoxMapping
std::vector< float > getAnchors() const
Get anchors.
void setNumClasses(const int numClasses)
Set num classes.
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19