Skip to content

Commit 0725cab

Browse files
authored
Merge branch 'docusaurus-version' into auto-translate/pr-4221
2 parents 3b60044 + 072c3a5 commit 0725cab

File tree

14 files changed

+1286
-399
lines changed

14 files changed

+1286
-399
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"write-translations": "docusaurus write-translations",
2727
"write-heading-ids": "docusaurus write-heading-ids",
2828
"typecheck": "tsc",
29-
"generatewiki": "node scripts/generateWiki.js",
29+
"generatewiki": "yarn generate-jetson-config && node scripts/generateWiki.js",
3030
"generate-lang-map": "node scripts/generate-language-map.js",
3131
"generate-jetson-config": "node scripts/generate-jetson-config.js",
3232
"normalize-frontmatter": "node scripts/normalize-frontmatter.js"

sites/en/docs/Edge/Raspberry_Pi_Devices/Edge_AI_Computer/reComputer_Industrial_R20xx/reComputer_Industrial_R20xx_flash_os.md

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -240,56 +240,6 @@ You will be asked whether you want to reboot now. Click `Yes`:
240240

241241
<div align="center"><img src="https://files.seeedstudio.com/wiki/M.2_Hat/new/s_6.png" alt="pir" width="800" height="auto" /></div>
242242

243-
## Flash ubuntu to NVME
244-
245-
### First: Update EEPROM with SD card
246-
247-
Please refer this [link](https://wiki.seeedstudio.com/r2000_series_getting_start/#update-eeprom).
248-
249-
To set the NVMe boot order as the highest priority, use the following command:
250-
251-
```
252-
sudo rpi-eeprom-config --edit
253-
```
254-
255-
And then change rpi-eeprom-config like below:
256-
257-
```
258-
BOOT_UART=1
259-
BOOT_ORDER=0xf461
260-
NET_INSTALL_AT_POWER_ON=1
261-
PCIE_PROBE=1
262-
```
263-
264-
Use `Ctrl+X` and input `y` to store the result. And the result is as follows:
265-
266-
<div align="center"><img src="https://files.seeedstudio.com/wiki/reComputer-R2000/chang_eeprom.png" alt="pir" width="800" height="auto" /></div>
267-
268-
### Second: Burn Ubuntu onto the NVMe
269-
270-
Open Raspberry Pi Imager:
271-
272-
<div align="center"><img src="https://files.seeedstudio.com/wiki/reComputer-R2000/flashos1.png" alt="pir" width="800" height="auto" /></div>
273-
274-
Choose Ubuntu os:
275-
<div align="center"><img src="https://files.seeedstudio.com/wiki/reComputer-R2000/flashos2.png" alt="pir" width="800" height="auto" /></div>
276-
277-
Finally, click `Next` and wait for the flashing process to complete.
278-
279-
### Third: Replace the OS file
280-
281-
Install `pcie-fix.dtbo` with this [link](https://files.seeedstudio.com/wiki/reComputer-R2000/pcie-fix.dtbo)
282-
283-
Copy pcie-fix.dtbo to /overlays file like below:
284-
285-
<div align="center"><img src="https://files.seeedstudio.com/wiki/reComputer-R2000/replace_file1.png" alt="pir" width="800" height="auto" /></div>
286-
287-
Modify the `config.txt`, add `dtoverlay=pcie-fix` at the end of the file like below:
288-
289-
<div align="center"><img src="https://files.seeedstudio.com/wiki/reComputer-R2000/replace_file2.png" alt="pir" width="800" height="auto" /></div>
290-
291-
And then Use `Ctrl+X` and input `y` to store this file.
292-
293243
## Tech Support & Product Discussion
294244

295245
Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs.

sites/en/docs/Edge/Raspberry_Pi_Devices/Edge_AI_Computer/reComputer_Industrial_R21xx/reComputer_Industrial_R21xx_flash_os.md

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -230,55 +230,6 @@ You will be asked whether you want to reboot now. Click `Yes`:
230230

231231
<div align="center"><img src="https://files.seeedstudio.com/wiki/M.2_Hat/new/s_6.png" alt="pir" width="800" height="auto" /></div>
232232

233-
## Flash ubuntu to NVME
234-
235-
### First: Update EEPROM with SD card
236-
237-
Please refer this [link](https://wiki.seeedstudio.com/r2000_series_getting_start/#update-eeprom).
238-
239-
To set the NVMe boot order as the highest priority, use the following command:
240-
241-
```
242-
sudo rpi-eeprom-config --edit
243-
```
244-
245-
And then change rpi-eeprom-config like below:
246-
247-
```
248-
BOOT_UART=1
249-
BOOT_ORDER=0xf461
250-
NET_INSTALL_AT_POWER_ON=1
251-
PCIE_PROBE=1
252-
```
253-
254-
Use `Ctrl+X` and input `y` to store the result. And the result is as follows:
255-
256-
<div align="center"><img src="https://files.seeedstudio.com/wiki/reComputer-R2000/chang_eeprom.png" alt="pir" width="800" height="auto" /></div>
257-
258-
### Second: Burn Ubuntu onto the NVMe
259-
260-
Open Raspberry Pi Imager:
261-
262-
<div align="center"><img src="https://files.seeedstudio.com/wiki/reComputer-R2000/flashos1.png" alt="pir" width="800" height="auto" /></div>
263-
264-
Choose Ubuntu os:
265-
<div align="center"><img src="https://files.seeedstudio.com/wiki/reComputer-R2000/flashos2.png" alt="pir" width="800" height="auto" /></div>
266-
267-
Finally, click `Next` and wait for the flashing process to complete.
268-
269-
### Third: Replace the OS file
270-
271-
Install `pcie-fix.dtbo` with this [link](https://files.seeedstudio.com/wiki/reComputer-R2000/pcie-fix.dtbo)
272-
273-
Copy pcie-fix.dtbo to /overlays file like below:
274-
275-
<div align="center"><img src="https://files.seeedstudio.com/wiki/reComputer-R2000/replace_file1.png" alt="pir" width="800" height="auto" /></div>
276-
277-
Modify the `config.txt`, add `dtoverlay=pcie-fix` at the end of the file like below:
278-
279-
<div align="center"><img src="https://files.seeedstudio.com/wiki/reComputer-R2000/replace_file2.png" alt="pir" width="800" height="auto" /></div>
280-
281-
And then Use `Ctrl+X` and input `y` to store this file.
282233

283234
## Tech Support & Product Discussion
284235

Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,151 @@
1+
---
2+
description: This wiki demonstrates how to uses YOLOv11 on reComputer-RK
3+
title: Object Detection with YOLOv11 on reComputer-RK
4+
5+
keywords:
6+
- RockChip
7+
- reComputer RK
8+
image: https://files.seeedstudio.com/wiki/wiki-platform/S-tempor.png
9+
slug: /object_detection_with_yolov11_on_recomputer_rk
10+
last_update:
11+
date: 9/3/2026
12+
author: Nolan Chen
13+
no_comments: false
14+
createdAt: '2026-3-9'
15+
updatedAt: '2026-03-09'
16+
url: https://wiki.seeedstudio.com/object_detection_with_yolov11_on_recomputer_rk/
17+
---
18+
19+
# Object Detection with YOLOv11 on reComputer-RK
20+
This project provides industrial-grade, high-performance Computer Vision (CV) application solutions for Rockchip series development boards (RK3588 and RK3576). It features deep integration of the YOLOv11 object detection model, leveraging NPU acceleration for low-latency, high-frame-rate real-time inference.
21+
## Project Structure
22+
The project is organized by platform to manage specific drivers and runtime requirements for the RKNN-Toolkit2:
23+
```pl
24+
reComputer-RK-CV/
25+
├── docker/ # Environment setup files
26+
│ ├── rk3576/ # Dockerfile for RK3576 (rknn-rt 2.1.0+)
27+
│ └── rk3588/ # Dockerfile for RK3588 (rknn-rt 2.1.0+)
28+
├── src/ # Implementation logic
29+
│ ├── rk3576/ # RK3576 source, models, and dependencies
30+
│ └── rk3588/ # RK3588 source, models, and dependencies
31+
└── .github/workflows/ # CI/CD for automated image building
32+
```
33+
34+
## Hardware Compatibility
35+
While both chips offer 6 TOPS of NPU performance, they require different hardware path mappings within Docker.
36+
37+
| Platform | SoC | NPU Node | Recommended Camera | Image Tag |
38+
| :--- | :--- | :--- | :--- | :--- |
39+
| **RK3588** | RK3588/RK3588S | `/dev/dri/renderD129` | `/dev/video1` | `rk3588-yolo` |
40+
| **RK3576** | RK3576 | `/dev/dri/renderD128` | `/dev/video0` | `rk3576-yolo` |
41+
42+
## Getting Started
43+
### Install Docker
44+
Install the standard Docker engine on your board:
45+
```bash
46+
curl -fsSL https://get.docker.com -o get-docker.sh
47+
sudo sh get-docker.sh
48+
sudo systemctl enable --now docker
49+
```
50+
51+
### X11 Forwarding (Optional)
52+
To see the detection window on a monitor connected directly to the board:
53+
```bash
54+
xhost +local:docker
55+
```
56+
57+
### Run the Detection Project
58+
The application features Auto-Detection: if no display is found, it automatically starts an MJPEG stream accessible via your browser.
59+
#### For reComputer RK3588:
60+
```bash
61+
sudo docker run --rm --privileged --net=host \
62+
-e DISPLAY=$DISPLAY \
63+
-v /tmp/.X11-unix:/tmp/.X11-unix \
64+
-e PYTHONUNBUFFERED=1 \
65+
--device /dev/video1:/dev/video1 \
66+
--device /dev/dri/renderD129:/dev/dri/renderD129 \
67+
-v /proc/device-tree/compatible:/proc/device-tree/compatible \
68+
ghcr.io/seeed-projects/recomputer-rk-cv/rk3588-yolo:latest \
69+
python web_detection.py --model_path model/yolo11n.rknn --camera_id 1
70+
```
71+
72+
#### For reComputer RK3576:
73+
```bash
74+
sudo docker run --rm --privileged --net=host \
75+
-e DISPLAY=$DISPLAY \
76+
-v /tmp/.X11-unix:/tmp/.X11-unix \
77+
-e PYTHONUNBUFFERED=1 \
78+
--device /dev/video0:/dev/video0 \
79+
--device /dev/dri/renderD128:/dev/dri/renderD128 \
80+
-v /proc/device-tree/compatible:/proc/device-tree/compatible \
81+
ghcr.io/seeed-projects/recomputer-rk-cv/rk3576-yolo:latest \
82+
python web_detection.py --model_path model/yolo11n.rknn --camera_id 0
83+
```
84+
85+
86+
## Web Interaction & Real-time Streaming
87+
The project includes a RESTful API compatible with Ultralytics standards, accessible via `http://<Board_IP>:8000.`
88+
- **Real-time Video Feed:** Access /api/video_feed. Can be embedded directly in HTML:
89+
```bash
90+
<img src="http://<IP>:8000/api/video_feed">.
91+
```
92+
93+
- **Static Image Inference:**
94+
95+
```bash
96+
curl -X POST "http://localhost:8000/api/models/yolo11/predict" -F "file=@/home/user/test.jpg"
97+
```
98+
99+
- Dynamic Configuration:
100+
101+
```bash
102+
# Modify confidence threshold without restarting
103+
curl -X POST "http://localhost:8000/api/config" -d '{"obj_thresh": 0.5}'
104+
```
105+
106+
## Developer Guide
107+
### Custom Model Deployment
108+
1. Place your converted .rknn model in a host directory.
109+
2. Create a class configuration file class_config.txt (e.g., "person", "car").
110+
3. Mount via -v and specify the paths in the startup command:
111+
```bash
112+
sudo docker run ... \
113+
-v $(pwd)/my_model.rknn:/app/model/my_model.rknn \
114+
-v $(pwd)/class_config.txt:/app/class_config.txt \
115+
... \
116+
python web_detection.py --model_path model/my_model.rknn --class_path class_config.txt
117+
```
118+
119+
### CLI Arguments Reference
120+
web_detection.py supports the following parameters:
121+
122+
| Argument | Description | Default |
123+
| :--- | :--- | :--- |
124+
| `--model_path` | Path to the RKNN model file | (Required) |
125+
| `--camera_id` | Camera ID (e.g., 0 for `/dev/video0`) | 1 |
126+
| `--class_path` | Path to custom class configuration file | None (Default COCO 80) |
127+
| `--port` | Web server port | 8000 |
128+
129+
## Demo Video
130+
Watch YOLOv11 running on the latest EVT samples of Seeed's upcoming Rockchip RK3576 Dev Kit:
131+
132+
133+
<div class="video-container">
134+
<iframe width="800" height="400" src="https://www.youtube.com/embed/5WdCvyrCF5Q" title="Object Detection with YOLOv11 on reComputer-RK" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
135+
</div>
136+
137+
138+
139+
## Tech Support & Product Discussion
140+
141+
Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs.
142+
143+
<div class="button_tech_support_container">
144+
<a href="https://forum.seeedstudio.com/" class="button_forum"></a>
145+
<a href="https://www.seeedstudio.com/contacts" class="button_email"></a>
146+
</div>
147+
148+
<div class="button_tech_support_container">
149+
<a href="https://discord.gg/eWkprNDMU7" class="button_discord"></a>
150+
<a href="https://github.com/Seeed-Studio/wiki-documents/discussions/69" class="button_discussion"></a>
151+
</div>

0 commit comments

Comments
 (0)