29 public Parameter<postprocessor::segtype, postprocessor::alpha,
30 postprocessor::cthresh, postprocessor::bgid>
35 using PostProcessor::PostProcessor;
41 void freeze(
bool doit)
override;
56 void process(cv::Mat
const & results);
59 int itsTLx = 0, itsTLy = 0, itsBRx = 0, itsBRy = 0;
Post-Processor for neural network pipeline.
virtual ~PostProcessorSegment()
Destructor.
void process(std::vector< cv::Mat > const &outs, PreProcessor *preproc) override
Process outputs and draw/send some results.
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.
void freeze(bool doit) override
Freeze/unfreeze parameters that users should not change while running.
std::array< uint32_t, 256 > itsColor
Colors for our drawings, as RGBA with zero alpha value.
void postInit() override
Create colormap in postInit()
Post-Processor for neural network pipeline.