The HAILO 8 M.2 AI Accelerator promises to give 30 FPS object detection on the Raspberry Pi 5. In this video lesson I show how to install and get the accelerator hat operating. This installation works for the Bookworm operating system. I have not tested it on Trixie. Open a terminal on the Raspberry Pi 5, on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | # As Shown in the Video, Switch Your Pi 5 to X11 by running raspi-config sudo raspi-config # Select Advanced Options, select A7, Wayland, and select X11 and <OK> # Now update and Upgrade system with: sudo apt update && sudo apt full-upgrade # Now Update the eeprom sudo rpi-eeprom-update #Now use raspi-config to set bootloader sudo raspi-config #Go to advanced options, set bootloader verstion to 'latest' #exit raspiconfig, reboot if asked. #Update the eeprom: sudo rpi-eeprom-update -a sudo reboot now #Install Hailo sudo apt install hailo-all sudo reboot now #See if tools were installed with: gst-inspect-1.0 hailotools #Should show the tools are there #Get the HAILO examples cd ~ git clone https://github.com/hailo-ai/hailo-rpi5-examples.git #Install Examples cd ~/hailo-rpi5-examples ./install.sh #Now to activate the virtual environment,(Do this every time you want #to run cd ~/hailo-rpi5-examples source setup_env.sh #Now run sample programs cd ~/hailo-rpi5-examples/basic_pipelines python detection.py --input rpi --show-fps #For RPI Camera python detection.py --input usb --show-fps #For USB Camera python pose_estimation.py --input rpi --show-fps #RPI Camera python pose_estimation.py --input usb --show-fps #USB Camera |