28 public Parameter<postprocessor::anchors, postprocessor::scalexy,
29 postprocessor::sigmoid>
42 void yolo(std::vector<cv::Mat>
const & outs, std::vector<int> & classIds, std::vector<float> & confidences,
43 std::vector<cv::Rect> & boxes,
size_t nclass,
float boxThreshold,
float confThreshold,
44 cv::Size
const & bsiz,
int fudge,
size_t const maxbox);
47 void onParamChange(postprocessor::anchors
const & param, std::string
const & val);
50 void yolo_one(cv::Mat
const & out, std::vector<int> & classIds, std::vector<float> & confidences,
51 std::vector<cv::Rect> & boxes,
size_t nclass,
int yolonum,
float boxThreshold,
52 float confThreshold, cv::Size
const & bsiz,
int fudge,
size_t maxbox,
53 bool sigmo,
float scale_xy);
55 std::vector<std::vector<float>> itsAnchors;
56 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)
Generic raw YOLO processing.
void freeze(bool doit)
Freeze/unfreeze parameters that users should not change while running.