36 public Parameter<postprocessor::nms, postprocessor::nmsperclass,
37 postprocessor::posetype, postprocessor::cthresh,
38 postprocessor::jthresh, postprocessor::skeleton,
39 postprocessor::serialreport, postprocessor::maxnbox,
40 postprocessor::sigmoid, postprocessor::boxclamp,
41 postprocessor::classes, postprocessor::classoffset,
42 postprocessor::namedonly>
47 using PostProcessor::PostProcessor;
53 void freeze(
bool doit)
override;
77 void onParamChange(postprocessor::classes
const & param, std::string
const & val)
override;
78 void onParamChange(postprocessor::skeleton
const & param, std::string
const & val)
override;
82 HailoROIPtr
itsROI = std::make_shared<HailoROI>(HailoROI(HailoBBox(0.0f, 0.0f, 1.0f, 1.0f)));
Post-Processor for neural network pipeline, for human/animal/other pose detection (skeleton)
void process(std::vector< cv::Mat > const &outs, PreProcessor *preproc) override
Process outputs and draw/send some results.
void onParamChange(postprocessor::classes const ¶m, std::string const &val) override
std::vector< PoseSkeleton > const & latestSkeletons() const
Get the latest skeletons, use with caution, not thread-safe.
std::vector< ObjDetect > const & latestDetections() const
Get the latest detections, use with caution, not thread-safe.
std::vector< PoseSkeleton > itsSkeletons
std::shared_ptr< jevois::PoseSkeletonDefinition > itsSkeletonDef
void freeze(bool doit) override
Freeze/unfreeze parameters that users should not change while running.
std::vector< ObjDetect > 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::map< int, std::string > itsLabels
Mapping from object ID to class name.
std::pair< std::vector< KeyPt >, std::vector< PairPairs > > itsKeypointsAndPairs
virtual ~PostProcessorPose()
Destructor.
Post-Processor for neural network pipeline.