Docs / typing updates (#17878)

* Mention support for multiple rknn detectors

* Improve typing

* Fix mypy change

* Fix typing
This commit is contained in:
Nicolas Mowen
2025-04-23 17:06:06 -06:00
committed by GitHub
parent 4c749e3004
commit aa7899e9dc
3 changed files with 66 additions and 38 deletions

View File

@@ -813,6 +813,22 @@ Hardware accelerated object detection is supported on the following SoCs:
This implementation uses the [Rockchip's RKNN-Toolkit2](https://github.com/airockchip/rknn-toolkit2/), version v2.3.2.
:::tip
When using many cameras one detector may not be enough to keep up. Multiple detectors can be defined assuming NPU resources are available. An example configuration would be:
```yaml
detectors:
rknn_0:
type: rknn
num_cores: 0
rknn_1:
type: rknn
num_cores: 0
```
:::
### Prerequisites
Make sure to follow the [Rockchip specific installation instructions](/frigate/installation#rockchip-platform).