b9dfbe6dd0af8a5da1b8eabe8cf38fd3f536d1d0
👀 run-cv-model-in-rp5 Overview 3/3
Run computer vision model in Rasberry Pi 5 AI HAT
🔎 Preparation
Open your rasberry pi and follow these steps:
sudo raspi-configAdvanced Options → PCIe Speed → Yes / EnableInterface Options → I2C → Yes / Enable
For connect the rasberry pi remotely:
1. Interface Options → SSH → Yes / Enable
2. Interface Options → RPI Connect|VNC → Yes / Enable
/home/$USER/Desktop/yolo_hailo/yolov11n.hef
Write each object class[rock,paper,scissors] on a new line in your that file:'/home/$USER/Desktop/yolo_hailo/labels.txt'
📦 Setup
cd /home/$USER/Desktop/yolo_hailosudo apt updatesudo apt install -y python3-pip python3-libcamera python3-kms++ python3-prctl libatlas-base-devgit clone -b next https://github.com/raspberrypi/picamera2.gitcd picamera2pip install -e . --break-system-packagescd picamera2/examples/hailopython detect.py --model /home/$USER/Desktop/yolo_hailo/yolov11n.hef --labels /home/$USER/Desktop/yolo_hailo/labels.txt