Struct DetectionParserOptions
Defined in File DetectionParserOptions.hpp
Struct Documentation
-
struct 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
-
DetectionNetworkType nnFamily