mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-24 09:08:23 +03:00
Compare commits
5 Commits
cf5de074bf
...
6ca58d283e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6ca58d283e | ||
|
|
4d51f7a1bb | ||
|
|
c9be98f935 | ||
|
|
85ed8c6432 | ||
|
|
8c69927438 |
@ -8,3 +8,56 @@ For installation and contributing instructions, please follow the [Contributing
|
||||
|
||||
1. Run `npm i` to install dependencies
|
||||
2. Run `npm run start` to start the website
|
||||
|
||||
# Documentation Style Guide
|
||||
|
||||
## Internal Links
|
||||
|
||||
When adding or editing internal links, follow these conventions:
|
||||
|
||||
### Do not include the `.md` extension
|
||||
|
||||
Use paths without extensions. This avoids needing `index.md` for directory index pages and matches the web URL.
|
||||
|
||||
```markdown
|
||||
<!-- Good -->
|
||||
[zones](/configuration/zones)
|
||||
[getting started](../guides/getting_started)
|
||||
|
||||
<!-- Bad -->
|
||||
[zones](/configuration/zones.md)
|
||||
```
|
||||
|
||||
### Use relative paths for same-directory links
|
||||
|
||||
Use relative `./` paths for links to pages in the same directory.
|
||||
|
||||
```markdown
|
||||
[zones](./zones)
|
||||
[masks](./masks)
|
||||
```
|
||||
|
||||
### Use absolute paths for everything else
|
||||
|
||||
For links outside the current directory, use absolute paths from the docs root. The exception is deeply nested subdirectories (e.g., `configuration/custom_classification/`) where `../` to the parent directory is acceptable.
|
||||
|
||||
```markdown
|
||||
[object detectors](/configuration/object_detectors)
|
||||
[hardware](/frigate/hardware)
|
||||
[getting started](/guides/getting_started)
|
||||
|
||||
<!-- Also OK from a nested subdirectory -->
|
||||
[zones](../zones)
|
||||
```
|
||||
|
||||
### Never use full URLs for internal links
|
||||
|
||||
```markdown
|
||||
<!-- Good -->
|
||||
[zones](/configuration/zones)
|
||||
|
||||
<!-- Bad -->
|
||||
[zones](https://docs.frigate.video/configuration/zones)
|
||||
```
|
||||
|
||||
> **Note:** Some existing links still use `.md` extensions. These should be updated when the file is being edited for other reasons.
|
||||
|
||||
@ -1514,11 +1514,11 @@ RF-DETR can be exported as ONNX by running the command below. You can copy and p
|
||||
|
||||
```sh
|
||||
docker build . --build-arg MODEL_SIZE=Nano --rm --output . -f- <<'EOF'
|
||||
FROM python:3.11 AS build
|
||||
FROM python:3.12 AS build
|
||||
RUN apt-get update && apt-get install --no-install-recommends -y libgl1 && rm -rf /var/lib/apt/lists/*
|
||||
COPY --from=ghcr.io/astral-sh/uv:0.8.0 /uv /bin/
|
||||
COPY --from=ghcr.io/astral-sh/uv:0.10.4 /uv /bin/
|
||||
WORKDIR /rfdetr
|
||||
RUN uv pip install --system rfdetr[onnxexport] torch==2.8.0 onnx==1.19.1 onnxscript
|
||||
RUN uv pip install --system rfdetr[onnxexport] torch==2.8.0 onnx==1.19.1 transformers==4.57.6 onnxscript
|
||||
ARG MODEL_SIZE
|
||||
RUN python3 -c "from rfdetr import RFDETR${MODEL_SIZE}; x = RFDETR${MODEL_SIZE}(resolution=320); x.export(simplify=True)"
|
||||
FROM scratch
|
||||
|
||||
@ -185,7 +185,7 @@ On Raspberry Pi OS **Trixie**, the Hailo driver is no longer shipped with the ke
|
||||
|
||||
This command should return no results.
|
||||
|
||||
3. **Run the installation script**:
|
||||
2. **Run the installation script**:
|
||||
|
||||
Download the installation script:
|
||||
|
||||
@ -213,7 +213,7 @@ On Raspberry Pi OS **Trixie**, the Hailo driver is no longer shipped with the ke
|
||||
- Download and install the required firmware
|
||||
- Set up udev rules
|
||||
|
||||
4. **Reboot your system**:
|
||||
3. **Reboot your system**:
|
||||
|
||||
After the script completes successfully, reboot to load the firmware:
|
||||
|
||||
@ -221,7 +221,7 @@ On Raspberry Pi OS **Trixie**, the Hailo driver is no longer shipped with the ke
|
||||
sudo reboot
|
||||
```
|
||||
|
||||
5. **Verify the installation**:
|
||||
4. **Verify the installation**:
|
||||
|
||||
After rebooting, verify that the Hailo device is available:
|
||||
|
||||
@ -709,7 +709,7 @@ To allow Frigate to use the Apple Silicon Neural Engine / Processing Unit (NPU)
|
||||
services:
|
||||
frigate:
|
||||
container_name: frigate
|
||||
image: ghcr.io/blakeblackshear/frigate:stable-arm64
|
||||
image: ghcr.io/blakeblackshear/frigate:stable-standard-arm64
|
||||
restart: unless-stopped
|
||||
shm_size: "512mb" # update for your cameras based on calculation above
|
||||
volumes:
|
||||
@ -727,4 +727,4 @@ services:
|
||||
- "host.docker.internal:host-gateway" # Required to talk to the NPU detector
|
||||
environment:
|
||||
- FRIGATE_RTSP_PASSWORD: "password"
|
||||
```
|
||||
```
|
||||
|
||||
Loading…
Reference in New Issue
Block a user