28 public Parameter<postprocessor::anchors, postprocessor::scalexy>
41 void yolo(std::vector<cv::Mat>
const & outs, std::vector<int> & classIds, std::vector<float> & confidences,
42 std::vector<cv::Rect> & boxes,
size_t nclass,
float boxThreshold,
float confThreshold,
43 cv::Size
const & bsiz,
int fudge,
size_t const maxbox,
bool sigmo);
46 void onParamChange(postprocessor::anchors
const & param, std::string
const & val);
49 void yolo_one(cv::Mat
const & out, std::vector<int> & classIds, std::vector<float> & confidences,
50 std::vector<cv::Rect> & boxes,
size_t nclass,
int yolonum,
float boxThreshold,
51 float confThreshold, cv::Size
const & bsiz,
int fudge,
size_t maxbox,
52 bool sigmo,
float scale_xy);
54 std::vector<std::vector<float>> itsAnchors;
55 std::vector<int> itsYoloNum;
Post-Processor sub-component for raw YOLO decoding.
virtual ~PostProcessorDetectYOLO()
Destructor.
void yolo(std::vector< cv::Mat > const &outs, std::vector< int > &classIds, std::vector< float > &confidences, std::vector< cv::Rect > &boxes, size_t nclass, float boxThreshold, float confThreshold, cv::Size const &bsiz, int fudge, size_t const maxbox, bool sigmo)
Generic raw YOLO processing.
void freeze(bool doit)
Freeze/unfreeze parameters that users should not change while running.