30 public Parameter<postprocessor::classoffset, postprocessor::classes,
31 postprocessor::nms, postprocessor::nmsperclass,
32 postprocessor::detecttypeobb,
33 postprocessor::maxnbox, postprocessor::cthresh,
34 postprocessor::dthresh, postprocessor::sigmoid,
35 postprocessor::namedonly, postprocessor::serialreport>
40 using PostProcessor::PostProcessor;
46 void freeze(
bool doit)
override;
63 void onParamChange(postprocessor::detecttypeobb
const & param,
64 postprocessor::DetectTypeOBB
const & val)
override;
65 void onParamChange(postprocessor::classes
const & param, std::string
const & val)
override;
Post-Processor for neural network pipeline for oriented bounding box (OBB) object detection.
std::vector< ObjDetectOBB > itsDetections
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::vector< ObjDetectOBB > const & latestDetectionsOBB() const
Get the latest detections, use with caution, not thread-safe.
std::map< int, std::string > itsLabels
Mapping from object ID to class name.
void onParamChange(postprocessor::detecttypeobb const ¶m, postprocessor::DetectTypeOBB const &val) override
void freeze(bool doit) override
Freeze/unfreeze parameters that users should not change while running.
virtual ~PostProcessorDetectOBB()
Destructor.
void process(std::vector< cv::Mat > const &outs, PreProcessor *preproc) override
Process outputs and draw/send some results.
Post-Processor for neural network pipeline.