DetectionParserOptions.hpp
Go to the documentation of this file.
1 #pragma once
2 
5 
6 namespace dai {
7 
17 
19  int classes;
21  std::vector<float> anchors;
22  std::map<std::string, std::vector<int>> anchorMasks;
23  float iouThreshold;
24 };
25 
26 DEPTHAI_SERIALIZE_EXT(DetectionParserOptions, nnFamily, confidenceThreshold, classes, coordinates, anchors, anchorMasks, iouThreshold);
27 
28 } // namespace dai
dai::DetectionParserOptions::coordinates
int coordinates
Definition: DetectionParserOptions.hpp:20
dai::DEPTHAI_SERIALIZE_EXT
DEPTHAI_SERIALIZE_EXT(CameraSensorConfig, width, height, minFps, maxFps, fov, type)
dai::DetectionParserOptions::confidenceThreshold
float confidenceThreshold
Definition: DetectionParserOptions.hpp:16
dai::DetectionParserOptions::anchorMasks
std::map< std::string, std::vector< int > > anchorMasks
Definition: DetectionParserOptions.hpp:22
dai::DetectionParserOptions::nnFamily
DetectionNetworkType nnFamily
Generic Neural Network properties.
Definition: DetectionParserOptions.hpp:15
dai::DetectionParserOptions::classes
int classes
YOLO specific network properties.
Definition: DetectionParserOptions.hpp:19
dai::DetectionParserOptions::anchors
std::vector< float > anchors
Definition: DetectionParserOptions.hpp:21
dai::DetectionParserOptions
Definition: DetectionParserOptions.hpp:13
Serialization.hpp
DetectionNetworkType.hpp
dai::DetectionParserOptions::iouThreshold
float iouThreshold
Definition: DetectionParserOptions.hpp:23
DetectionNetworkType
DetectionNetworkType
Definition: DetectionNetworkType.hpp:5
dai
Definition: CameraExposureOffset.hpp:6


depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19