BaseObjectModelOutputConverter
- class savant.base.converter.BaseObjectModelOutputConverter(**kwargs)
Base object model output converter.
- abstract __call__(*output_layers, model, roi)
Converts raw model output tensors to a numpy array that represents a list of detected bboxes in the format
(class_id, confidence, xc, yc, width, height, [angle])
in absolute coordinates computed withROI
information.- Parameters:
- Returns:
BBox tensor
(class_id, confidence, xc, yc, width, height, [angle])
offset by roi upper left and scaled by roi width and height- Return type: