Skip to content

Commit

Permalink
Merge pull request #2099 from bclswl0827/docusaurus-version
Browse files Browse the repository at this point in the history
fix: Fix some typos
  • Loading branch information
nfs0619 authored Jan 10, 2025
2 parents fa98976 + bb60b81 commit 9606feb
Showing 1 changed file with 13 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ $ sudo raspi-config
In the dialog, select **6 Advanced Options** and then **A8 PCIe Speed**.

![6 Advanced Options](https://raw.githubusercontent.com/Seeed-Projects/Benchmarking-YOLOv8-on-Raspberry-PI-reComputer-r1000-and-AIkit-Hailo-8L/main/resource/1.png)
![6 Advanced Options](https://raw.githubusercontent.com/Seeed-Projects/Benchmarking-YOLOv8-on-Raspberry-PI-reComputer-r1000-and-AIkit-Hailo-8L/main/resource/2.png)
![A8 PCIe Speed](https://raw.githubusercontent.com/Seeed-Projects/Benchmarking-YOLOv8-on-Raspberry-PI-reComputer-r1000-and-AIkit-Hailo-8L/main/resource/2.png)

Choose "Yes" to enable PCIe Gen 3 mode.

![6 Advanced Options](https://raw.githubusercontent.com/Seeed-Projects/Benchmarking-YOLOv8-on-Raspberry-PI-reComputer-r1000-and-AIkit-Hailo-8L/main/resource/3.png)
![Choose Yes](https://raw.githubusercontent.com/Seeed-Projects/Benchmarking-YOLOv8-on-Raspberry-PI-reComputer-r1000-and-AIkit-Hailo-8L/main/resource/3.png)

Afterward, click "Finish" to exit.

Expand Down Expand Up @@ -110,7 +110,7 @@ $ sudo cp *.bin /lib/firmware/hailo
To avoid PCIe max_desc_page_size issue, we also need to create a rule in `/etc/modprobe.d/hailo_pci.conf` with the following content.

```bash
options hailo_pci force_desc_page_size=256
options hailo_pci force_desc_page_size=4096
```

Restart the system to take effect.
Expand Down Expand Up @@ -153,15 +153,17 @@ In this part, we assume you have your camera set up and ready to stream with RTS
$ sudo reboot
```

4. **Get Frigate Image:**
### Step 2: Deploying Frigate

1. **Pull the Frigate Image:**

Go to [Package frigate](https://github.com/blakeblackshear/frigate/pkgs/container/frigate/versions), choose one image with `-h8l` suffix. In this example, we choose `ghcr.io/blakeblackshear/frigate:b265b6b-h8l`.

```bash
$ docker pull ghcr.io/blakeblackshear/frigate:b265b6b-h8l
```
```bash
$ docker pull ghcr.io/blakeblackshear/frigate:b265b6b-h8l
```

5. **Create Docker Compose File:**
2. **Create Docker Compose File:**

Here is an example of the `frigate.yml` file, the `hailo0` device is the one you created in the previous step, configuration files are in the `./config` directory and data files are in the `./data` directory.:

Expand All @@ -188,7 +190,7 @@ In this part, we assume you have your camera set up and ready to stream with RTS
- 5000:5000
```

6. **Download Model:**
3. **Download Model:**

Go to [Public Pre-Trained Models](https://github.com/hailo-ai/hailo_model_zoo/blob/master/docs/public_models/HAILO8/HAILO8_object_detection.rst) to download the model you want to use. Here is the example of using YOLOv8n model: `yolov8n`.

Expand All @@ -197,7 +199,7 @@ In this part, we assume you have your camera set up and ready to stream with RTS
$ sudo wget https://hailo-model-zoo.s3.eu-west-2.amazonaws.com/ModelZoo/Compiled/v2.14.0/hailo8/yolov8n.hef -O ./config/model_cache/yolov8n.hef
```

9. **Edit Frigate Config:**
4. **Edit Frigate Config:**

Here is an example of the `config/config.yml` file, which is for the Frigate application:

Expand Down Expand Up @@ -233,7 +235,7 @@ In this part, we assume you have your camera set up and ready to stream with RTS
input_pixel_format: bgr
```

6. **Start Docker Instance:**
5. **Start Docker Instance:**

```bash
$ docker compose -f frigate.yml up -d
Expand Down

0 comments on commit 9606feb

Please sign in to comment.