rapid.TensorToBBoxConverter
- 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: