Getting Started with YOLO Pose Estimation Recognition on the Raspberry Pi

Hello Forum Goers,

Got another computer vision guide for you all, this time we are doing some pose estimation! We are using YOLO11 (fresh off the press) and a Pi 5 to draw keypoints and guess the position and pose of a person in the camera. Its really fun and we create a game of space invaders controlled by moving your head around! And with some optimisation we are able to get the FPS well into to 30+ range which is incredible for low powered hardware like the Pi!

Enjoy!: “Getting Started with YOLO Pose Estimation Recognition on the Raspberry Pi”



Have you ever wanted to dive into computer vision? How about on a low-power and portable piece of hardware like a Raspberry Pi?
Well, in this guide we will be setting up some with OpenCV and the YOLO pose estimation model family on the Raspberry Pi…

Read more

2 Likes

YOLO is something else! :open_mouth:

2 Likes

Hey @Benny289467

Welcome to the forum!

Thanks for pointing that out, I’ve let our creative team know about that one so they can get it sorted.

Cheers for that @Benny289467, just pushed the fix!

Hello, I repeated the experiment according to this guide, and after running it, I found that the preview window did not appear, but there were running results, such as:[1:48:29.198092882] [8081] INFO Camera camera_manager.cpp:327 libcamera v0.4.0+53-29156679
[1:48:29.205834595] [8091] INFO RPI pisp.cpp:720 libpisp version v1.1.0 e7974a156008 27-01-2025 (21:50:51)
[1:48:29.215435934] [8091] INFO RPI pisp.cpp:1179 Registered camera /base/axi/pcie@120000/rp1/i2c@80000/imx708@1a to CFE device /dev/media1 and ISP device /dev/media2 using PiSP variant BCM2712_C0
[1:48:29.218445794] [8081] INFO Camera camera.cpp:1202 configuring streams: (0) 640x640-RGB888 (1) 1536x864-BGGR_PISP_COMP1
[1:48:29.218552390] [8091] INFO RPI pisp.cpp:1484 Sensor: /base/axi/pcie@120000/rp1/i2c@80000/imx708@1a - Selected sensor format: 1536x864-SBGGR10_1X10 - Selected CFE format: 1536x864-PC1B

0: 320x320 (no detections), 150.9ms
Speed: 3.6ms preprocess, 150.9ms inference, 0.7ms postprocess per image at shape (1, 3, 320, 320)
Do you know what is going on?

Hi @wu291233

Welcome to the forum!

Are you able to enter the below command into the terminal on your Pi? It will indicate whether or not the camera itself is being detected by the Pi and display a 5 second feed from the camera if it is working.

rpicam-hello

Guys, I’m getting this error:

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for onnx
Failed to build onnx
error: failed-wheel-build-for-install

× Failed to build installable wheels for some pyproject.toml based projects
╰─> onnx

Has anyone encountered something similar?

1 Like

Hey there, @GUILHERME311784, and welcome to the forums. Glad to have you here.

I just booted up a fresh Trixie install on the Pi 5 and started walking through the tutorial. I managed to install pip and Ultralytics without any problem.

When in the process did you arrive at the error? Were you in the virtual environment?

Actually scratch that, even though I had all the onnx packages install (I can see being downloaded), I got the same error when following the instructions as is from this guide.

From a more recent guide:

Jaryd mentions that Ultralytics is no longer playing kindly with pip, there are just too many dependencies for pip to play nice with it. The guide above shows how to install it with Conda, although some of us are being introduced to new problems along the way.

Thank you. I’d like to try this on ESP32-CAM. With YOLO on ESP32, I did object detection, animal recognition but pose estimation is new to me.