Inside AI
← Build & Hack
Manufacturer demo / Edge AI

Track a raised hand

The pose demo draws a 17-point skeleton. Use the wrist and shoulder positions as inputs for a hands-free control.

Device profile · Raspberry Pi AI HAT+ ↗

What you need

Use a Raspberry Pi 5, the original 13 or 26 TOPS AI HAT+, a supported camera and a display. Follow the linked Raspberry Pi AI software guide for the 64-bit OS and hailo-all setup. Check the camera preview before starting.

Run the supplied demo

Stand in view and raise one hand. Watch the wrist and shoulder points move in the preview. The supplied demo displays the points.

rpicam-hello -t 30000 --post-process-file /usr/share/rpi-camera-assets/hailo_yolov8_pose.json

Build on it · proposed extension

Add a rule that triggers a timer when the same wrist stays above its shoulder for half a second. Require the arm to lower before the timer can trigger again.

Primary sources

Raspberry Pi · AI software guide