Struct DetectionParserOptions

Struct Documentation

struct DetectionParserOptions

DetectionParserOptions

Specifies how to parse output of detection networks

Public Members

DetectionNetworkType nnFamily

Generic Neural Network properties.

std::string subtype
float confidenceThreshold
YoloDecodingFamily decodingFamily = YoloDecodingFamily::TLBR

YOLO specific network properties.

bool decodeKeypoints = false
bool decodeSegmentation = false
int classes
std::optional<std::vector<std::string>> classNames
int coordinates
std::optional<int> nKeypoints
std::vector<int> strides = {8, 16, 32}
std::vector<float> anchors
std::map<std::string, std::vector<int>> anchorMasks
std::vector<std::string> outputNamesToUse
std::vector<std::vector<std::vector<float>>> anchorsV2

see YoloDetectionNetwork::setAnchors() for format

float iouThreshold
std::vector<dai::Edge> keypointEdges