JeVois  1.20
JeVois Smart Embedded Machine Vision Toolkit
Share this page:
jevois::dnn::PostProcessorDetectYOLOforPython Class Reference

#include <jevois/Core/PythonModule.H>

YOLO post-processor exposed to python.

A bit hacky since PostProcessorDetectYOLO is a Component that holds parameters. This class will add a PostProcessorDetectYOLO subcomponent to the current module, and then will forward yolo post-processing requests to it.

Definition at line 450 of file PythonModule.H.

Public Member Functions

 PostProcessorDetectYOLOforPython ()
 Constructor constructs itsYOLO and adds it to current module. More...
 
 ~PostProcessorDetectYOLOforPython ()
 Destructor removes itsYOLO from current module. More...
 
void freeze (bool doit)
 Freeze/unfreeze parameters that users should not change while running. More...
 
boost::python::tuple yolo (boost::python::list outs, int nclass, float boxThreshold, float confThreshold, int bw, int bh, int fudge, int maxbox)
 Generic raw YOLO processing. More...
 

Constructor & Destructor Documentation

◆ PostProcessorDetectYOLOforPython()

jevois::dnn::PostProcessorDetectYOLOforPython::PostProcessorDetectYOLOforPython ( )

Constructor constructs itsYOLO and adds it to current module.

Definition at line 711 of file PythonModule.C.

References LFATAL.

◆ ~PostProcessorDetectYOLOforPython()

jevois::dnn::PostProcessorDetectYOLOforPython::~PostProcessorDetectYOLOforPython ( )

Destructor removes itsYOLO from current module.

Definition at line 726 of file PythonModule.C.

Member Function Documentation

◆ freeze()

void jevois::dnn::PostProcessorDetectYOLOforPython::freeze ( bool  doit)

Freeze/unfreeze parameters that users should not change while running.

Definition at line 729 of file PythonModule.C.

◆ yolo()

boost::python::tuple jevois::dnn::PostProcessorDetectYOLOforPython::yolo ( boost::python::list  outs,
int  nclass,
float  boxThreshold,
float  confThreshold,
int  bw,
int  bh,
int  fudge,
int  maxbox 
)

Generic raw YOLO processing.

The returned tuple has 3 elements: list of int for classIds, list of float for confidences, and list of 4-element tuples of floats for boxes (x, y, w, h).

Definition at line 733 of file PythonModule.C.

References jevois::python::pyVecToList().


The documentation for this class was generated from the following files: