CV / YOLO11

YOLO11-obb

YOLO11-obb detects rotated objects in the 15 DOTA classes and returns four-corner polygons instead of axis-aligned boxes. Start a prebuilt Docker image with one command and run inference through the REST API on RK3576, RK3588, and Hailo-10H. The guide covers device setup and troubleshooting.

67 downloads
Size
6.57 MB
Memory
4GB+
Inference Engine
HailoRT

Start right away with Seeed Products

Platform
Size
  1. 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.

    bash
    sudo apt update
    sudo apt install hailo-h10-all
    sudo reboot

    On 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

    bash
    hailortcli fw-control identify
    ls /dev/hailo0
  2. Install Docker

    bash
    bash <(curl -fsSL https://get.docker.com)
  3. Run the Docker command

    bash
    sudo docker run --rm \
      --name cm5-hailo10h-yolov11n_obb \
      --privileged \
      --net=host \
      -e PYTHONUNBUFFERED=1 \
      --device /dev/hailo0:/dev/hailo0 \
      -v /usr/lib/libhailort.so.5.1.1:/usr/lib/libhailort.so.5.1.1:ro \
      -v /usr/lib/libhailort.so:/usr/lib/libhailort.so:ro \
      ghcr.io/seeed-projects/recomputer-hailo10h-cv/yolov11n_obb:latest \
      python web_detection.py --model_path model/yolov11n_obb.hef --video_path video/test.mp4

Deploy on hardware you already have

Platform
Size

Hailo-10H

  1. 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.

    bash
    sudo apt update
    sudo apt install hailo-h10-all
    sudo reboot

    On 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

    bash
    hailortcli fw-control identify
    ls /dev/hailo0
  2. Install Docker

    bash
    bash <(curl -fsSL https://get.docker.com)
  3. Run the Docker command

    bash
    sudo docker run --rm \
      --name cm5-hailo10h-yolov11n_obb \
      --privileged \
      --net=host \
      -e PYTHONUNBUFFERED=1 \
      --device /dev/hailo0:/dev/hailo0 \
      -v /usr/lib/libhailort.so.5.1.1:/usr/lib/libhailort.so.5.1.1:ro \
      -v /usr/lib/libhailort.so:/usr/lib/libhailort.so:ro \
      ghcr.io/seeed-projects/recomputer-hailo10h-cv/yolov11n_obb:latest \
      python web_detection.py --model_path model/yolov11n_obb.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>:8000

If you see the detection stream with boxes around objects, you’re all set.

Benchmark Performance

YOLO11-obb reported inference throughput (FPS) on CM5 + Hailo-10H.
  • YOLO11n-obb · reComputer R Series (CM5 + Hailo-10H)
    Batch 1 FPS
    96.07
  • YOLO11s-obb · reComputer R Series (CM5 + Hailo-10H)
    Batch 1 FPS
    74.69
  • YOLO11m-obb · reComputer R Series (CM5 + Hailo-10H)
    Batch 1 FPS
    29.41
  • YOLO11x-obb · reComputer R Series (CM5 + Hailo-10H)
    Batch 1 FPS
    8.49

RESTful API

API endpoints

MethodPathPurpose
GET/Web preview UI
GET/api/video_feedMJPEG preview stream
POST/api/models/yolov11n_obb/predictRun 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.

bash
curl -X POST "http://<board-ip>:8000/api/models/yolov11n_obb/predict" \
  -F "file=@aerial.jpg" -F "conf=0.25" -F "iou=0.7"

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.

python
import requests

with open("test.jpg", "rb") as image:
    response = requests.post(
        "http://<board-ip>:8000/api/models/yolov11n_obb/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.

More FAQs