30 public Parameter<postprocessor::classoffset, postprocessor::classes,
31 postprocessor::top, postprocessor::cthresh, postprocessor::softmax,
32 postprocessor::scorescale, postprocessor::namedonly,
33 postprocessor::serialreport>
38 using PostProcessor::PostProcessor;
44 void freeze(
bool doit)
override;
61 void onParamChange(postprocessor::classes
const & param, std::string
const & val)
override;
65 std::vector<jevois::ObjReco> itsObjRec;
66 bool itsFirstTime =
true;
Post-Processor for neural network pipeline.
void onParamChange(postprocessor::classes const ¶m, std::string const &val) override
std::vector< ObjReco > const & latestRecognitions() const
Get the latest recognition results, use with caution, not thread-safe.
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.