Simple YOLO DNN post-processor written in python.
process(self, outs, preproc)
[Required] Main processing function: parse network output blobs and store resulting labels and scores...
setDetectType(self, dt)
[Optional] Parameter callback: set type of object detector
freeze(self, doit)
[Optional] Freeze some parameters that should not be changed at runtime.
getLabel(self, id, conf)
Helper to get class name and confidence as a clean string, and a color that varies with class name.
report(self, outimg, helper, overlay, idle)
[Optional] Report the latest results obtained by process() by drawing them outimg is None or a RawIma...
loadClasses(self, filename)
[Optional] Parameter callback: Load class names when 'classes' parameter value is changed by model zo...
init(self)
[Optional] JeVois parameters initialization