785 B
785 B
👀 run-cv-model-in-rp5 Overview 3/3
Run computer vision model in Rasberry Pi 5 AI HAT
🔎 Preparation
/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