rapid.TensorToBBoxConverter

TensorToBBoxConverter inheritance diagram
- class savant.converter.rapid.TensorToBBoxConverter(confidence_threshold=0.4, nms_iou_threshold=0.5, top_k=70)
- RAPiD output to bbox converter. - Parameters:
 - __call__(*output_layers, model, roi)
- Converts RAPiD detector output layer tensor to bbox tensor. - Parameters:
- Returns:
- BBox tensor (class_id, confidence, xc, yc, width, height, angle) in roi scale 
- Return type:
 
 - tensor_format: TensorFormat = 0
- Set to - CuPyto get the- output_layerstensors in the converter call on the GPU as a- cupy.ndarray. Or set to- NumPyto get tensors on the host as a- numpy.ndarray.