30 public Parameter<postprocessor::classoffset, postprocessor::classes,
31 postprocessor::top, postprocessor::cthresh, postprocessor::softmax,
32 postprocessor::scorescale>
37 using PostProcessor::PostProcessor;
43 void freeze(
bool doit)
override;
53 void onParamChange(postprocessor::classes
const & param, std::string
const & val)
override;
57 std::vector<jevois::ObjReco> itsObjRec;
58 bool itsFirstTime =
true;
Post-Processor for neural network pipeline.
void onParamChange(postprocessor::classes const ¶m, std::string const &val) override
void freeze(bool doit) override
Freeze/unfreeze parameters that users should not change while running.
void process(std::vector< cv::Mat > const &outs, PreProcessor *preproc) override
Process outputs and draw/send some results.
virtual ~PostProcessorClassify()
Destructor.
void report(jevois::StdModule *mod, jevois::RawImage *outimg=nullptr, jevois::OptGUIhelper *helper=nullptr, bool overlay=true, bool idle=false) override
Report what happened in last process() to console/output video/GUI.
std::map< int, std::string > itsLabels
Mapping from object ID to class name.
Post-Processor for neural network pipeline.