Python DNN post-processor for DAMO YOLO.
freeze(self, doit)
Freeze some parameters that should not be changed at runtime.
init(self)
JeVois parameters initialization.
loadClasses(self, filename)
Parameter callback: Load class names when 'classes' parameter value is changed by model zoo.
postprocess(self, scores, bboxes, score_th, nms_th)
Post-processing as implemented by PINTO0309.
process(self, outs, preproc)
Get network outputs outs is a list of numpy arrays for the network's outputs.
multiclass_nms(self, bboxes, scores, score_th, nms_th, max_num)
Multiclass non-maximum suppression as implemented by PINTO0309.
report(self, outimg, helper, overlay, idle)
Report the latest results obtained by process() by drawing them outimg is None or a RawImage to draw ...
getLabel(self, id, conf)
Helper to get class name and confidence as a clean string, and a color that varies with class name.