class DetectionPredictor(BasePredictor)Ultralytics-style streaming detection predictor backed by `AutoBackend`.
| 名称 | 类型 | 默认值 |
|---|---|---|
backend | AutoBackend | — |
predict(self, source: Any, *, stream: bool=False, **kwargs: Any) -> Union[List[Results], Iterator[Results]]| 名称 | 类型 | 默认值 |
|---|---|---|
source | Any | — |
stream | bool | False |
kwargs | Any | — |