Apply suggestions from code review

apply requested changes

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
This commit is contained in:
Marc Altmann 2023-10-30 17:14:13 +01:00 committed by GitHub
parent a02466c2f2
commit 4769292267
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -79,7 +79,7 @@ jobs:
rpi.tags=${{ steps.setup.outputs.image-name }}-rpi rpi.tags=${{ steps.setup.outputs.image-name }}-rpi
*.cache-from=type=registry,ref=${{ steps.setup.outputs.cache-name }}-arm64 *.cache-from=type=registry,ref=${{ steps.setup.outputs.cache-name }}-arm64
*.cache-to=type=registry,ref=${{ steps.setup.outputs.cache-name }}-arm64,mode=max *.cache-to=type=registry,ref=${{ steps.setup.outputs.cache-name }}-arm64,mode=max
- name: Build and push rk build - name: Build and push RockChip build
uses: docker/bake-action@v3 uses: docker/bake-action@v3
with: with:
push: true push: true

View File

@ -5,7 +5,7 @@ title: Object Detectors
# Officially Supported Detectors # Officially Supported Detectors
Frigate provides the following builtin detector types: `cpu`, `edgetpu`, `openvino`, `tensorrt` and `rknn`. By default, Frigate will use a single CPU detector. Other detectors may require additional configuration as described below. When using multiple detectors they will run in dedicated processes, but pull from a common queue of detection requests from across all cameras. Frigate provides the following builtin detector types: `cpu`, `edgetpu`, `openvino`, `tensorrt`, and `rknn`. By default, Frigate will use a single CPU detector. Other detectors may require additional configuration as described below. When using multiple detectors they will run in dedicated processes, but pull from a common queue of detection requests from across all cameras.
## CPU Detector (not recommended) ## CPU Detector (not recommended)
@ -291,6 +291,7 @@ To verify that the integration is working correctly, start Frigate and observe t
# Community Supported Detectors # Community Supported Detectors
## Rockchip RKNN-Toolkit-Lite2 ## Rockchip RKNN-Toolkit-Lite2
This detector is only available if one of the following Rockchip SoCs is used: This detector is only available if one of the following Rockchip SoCs is used:
- RK3566/RK3568 - RK3566/RK3568
@ -301,6 +302,7 @@ This detector is only available if one of the following Rockchip SoCs is used:
These SoCs come with a NPU that will highly speed up detection. These SoCs come with a NPU that will highly speed up detection.
### Setup ### Setup
All you have to do is to use the `frigate:latest-rk` docker image. Here is a minimal `docker-compose.yml`: All you have to do is to use the `frigate:latest-rk` docker image. Here is a minimal `docker-compose.yml`:
``` ```
version: "3.9" version: "3.9"
@ -319,6 +321,7 @@ services:
``` ```
## Configuration ## Configuration
This `config.yml` shows all relevant options to configure the detector and explains them. All values shown are the default values (except for one). Lines that are required at least to use the detector are labeled as required, all other lines are optional. This `config.yml` shows all relevant options to configure the detector and explains them. All values shown are the default values (except for one). Lines that are required at least to use the detector are labeled as required, all other lines are optional.
``` ```
detectors: # required detectors: # required