Skip to main content
The RT_DETR class implements a wrapper for the RT_DETR model, which detects objects in images and videos using a real-time detection transformer.
boolean
default:"False"
If True, inference call is run on the local VM, else offloaded onto GRID-Cortex. Defaults to True.
Union[np.ndarray, str]
required
The image array or path to the video file for object detection.
float
required
Confidence threshold for filtering object detection results.
np.ndarray
Annotated image with bounding boxes and class labels.
This code is licensed under the Apache 2.0 License.