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
int classes

YOLO specific network properties.

std::optional<std::vector<std::string>> classNames
int coordinates
std::vector<float> anchors
std::map<std::string, std::vector<int>> anchorMasks
std::vector<std::vector<std::vector<float>>> anchorsV2

see YoloDetectionNetwork::setAnchors() for format

float iouThreshold