CV / YOLO11
YOLO11-seg
YOLO11-seg segments objects across 80 COCO classes and returns one pixel-level mask per instance. Start a prebuilt Docker image with one command and run inference through the REST API on RK3576, RK3588, and Hailo-8. The guide covers device setup and troubleshooting.
- Size
- 7.9 MB
- Memory
- 4GB+
- Inference Engine
- HailoRT
Start right away with Seeed Products
Install the Hailo driver and runtime
On Raspberry Pi OS, install the package for your accelerator from the Raspberry Pi OS repository. Check that the installed HailoRT version matches the library path in the Docker command.
bashsudo apt update sudo apt install hailo-all sudo rebootOn other systems, install the vendor’s Hailo driver and matching HailoRT runtime for your accelerator, OS, and kernel. Manual Hailo installation guide
After reboot, confirm that the accelerator is detected and the device node is available. Raspberry Pi AI setup guide
bashhailortcli fw-control identify ls /dev/hailo0Install Docker
bashbash <(curl -fsSL https://get.docker.com)Run the Docker command
bashsudo docker run --rm \ --name pi5-hailo8-yolov11n-seg \ --privileged \ --net=host \ -e PYTHONUNBUFFERED=1 \ --device /dev/hailo0:/dev/hailo0 \ -v /usr/lib/libhailort.so.4.23.0:/usr/lib/libhailort.so.4.23.0:ro \ -v /usr/lib/libhailort.so:/usr/lib/libhailort.so:ro \ ghcr.io/seeed-projects/recomputer-hailo8-cv/yolov11n_seg:latest \ python web_detection.py --model_path model/yolov11n_seg.hef --video_path video/test.mp4
Deploy on hardware you already have
Hailo-8
Install the Hailo driver and runtime
On Raspberry Pi OS, install the package for your accelerator from the Raspberry Pi OS repository. Check that the installed HailoRT version matches the library path in the Docker command.
bashsudo apt update sudo apt install hailo-all sudo rebootOn other systems, install the vendor’s Hailo driver and matching HailoRT runtime for your accelerator, OS, and kernel. Manual Hailo installation guide
After reboot, confirm that the accelerator is detected and the device node is available. Raspberry Pi AI setup guide
bashhailortcli fw-control identify ls /dev/hailo0Install Docker
bashbash <(curl -fsSL https://get.docker.com)Run the Docker command
bashsudo docker run --rm \ --name pi5-hailo8-yolov11n-seg \ --privileged \ --net=host \ -e PYTHONUNBUFFERED=1 \ --device /dev/hailo0:/dev/hailo0 \ -v /usr/lib/libhailort.so.4.23.0:/usr/lib/libhailort.so.4.23.0:ro \ -v /usr/lib/libhailort.so:/usr/lib/libhailort.so:ro \ ghcr.io/seeed-projects/recomputer-hailo8-cv/yolov11n_seg:latest \ python web_detection.py --model_path model/yolov11n_seg.hef --video_path video/test.mp4
Check that it’s running
Open the address below in a browser. Replace <board-ip> with your board’s IP address.
http://<board-ip>:8000If you see the detection stream with boxes around objects, you’re all set.
Benchmark Performance

- YOLO11n-seg · reComputer R Series (CM5 + Hailo-8)
- Batch 1 FPS
- 46.18
- YOLO11s-seg · reComputer R Series (CM5 + Hailo-8)
- Batch 1 FPS
- 22.41
- YOLO11m-seg · reComputer R Series (CM5 + Hailo-8)
- Batch 1 FPS
- 10.33
- YOLO11l-seg · reComputer R Series (CM5 + Hailo-8)
- Batch 1 FPS
- 7.72
- YOLO11x-seg · reComputer R Series (CM5 + Hailo-8)
- Batch 1 FPS
- 4.73
RESTful API
API endpoints
| Method | Path | Purpose |
|---|---|---|
| POST | /api/models/yolov11n_seg/predict | Run inference on the uploaded image. |
Test the API
Replace <board-ip> with your board’s IP address. Save an image as test.jpg in your current directory and send it to the prediction endpoint.
curl -X POST "http://<board-ip>:8000/api/models/yolov11n_seg/predict" \
-F "file=@test.jpg"Develop with the API
Install requests with python -m pip install requests. In the example, replace <board-ip> with your board’s IP address and use an image named test.jpg.
import requests
with open("test.jpg", "rb") as image:
response = requests.post(
"http://<board-ip>:8000/api/models/yolov11n_seg/predict",
files={"file": image},
timeout=30,
)
response.raise_for_status()
print(response.json())Frequently Asked Questions (FAQ)
Why do some sizes disappear when I switch platforms?
The size picker shows the variants with a deployment command for your selected platform. Switch platforms in the quick start to see the sizes available for each one.
What should I check if the accelerator is unavailable?
Check that the host OS, drivers, and runtime match the selected platform’s guide. For Hailo, verify that the host detects the accelerator and that the installed HailoRT version matches the deployment instructions.
Where do I find the inference endpoint?
Select your platform and open the RESTful API section for the endpoint and input format.