• sales

    +86-0755-88291180

Hailo-8-Acce-A User Guide

Introduction

Hailo-8/8L chip with 26/13Tops computing power.

Feature

  • Neural network inference accelerator with 13/26 trillion operations per second (TOPS) built on Hailo-8/8L chips.
  • PCIE M.2 HAT+ for connecting the AI module to the Raspberry Pi 5.
  • Support installing with hardware kit.
  • Stackable GPIO pin header.

Hardware Connection

Pay attention to the cable orientation, as shown below:

Working with Raspberry Pi

Update

#1: update the software
sudo apt update && sudo apt full-upgrade
sudo rpi-eeprom-update

#Configure CLI (Not required for 2024 or later version systems)  
sudo raspi-config
#Advanced Options -> Bootloader Version, select Latest. Then, click Finish or press ESC key to exit raspi-config 

#2: Update firmware
sudo rpi-eeprom-update -a

Identify Device

1: Enable the PCIE interface:

Connect the hardware, and the latest system system will detect the hardware, connect the hardware will automatically enable the PCIE interface
If not, you can execute: add "dtparam=pciex1" in /boot/firmware/config.txt 

2: Enable PCIE Gen3, add the following content in /boot/firmware/config.txt (Gne3 mode must be enabled):

dtparam=pciex1_gen=3

3: Reset the PI5 after modification, and then the device will be identified. (You can not reboot first and then reboot when the library is installed.)


Test Demo

rpicam-apps runs camera demo with Hailo AI Neural Network Accelerator.

Preparation:

1: Raspberry Pi 5 and Hailo-8 Acce A kit
2: Install 64-bit Raspberry Pi OS Bookworm
3: Install Raspberry Pi camera (for testing, use Raspberry_Pi_Camera _Module_3 to connect the CAM1 interface.)


1: Install and use the required dependencies for AI Kit:

sudo apt install hailo-all

2: Reboot the device:

sudo reboot

3: Check whether the driver is normal:

hailortcli fw-control identify

Or execute "dmesg | grep -i hailo" to check the log 

4: Check the camera:

rpicam-hello -t 10s
Please ensure the camera is in normal operation 

5: Clone rpicam-apps:

git clone --depth 1 https://github.com/raspberrypi/rpicam-apps.git ~/rpicam-apps

6: Test:

Object test
rpicam-hello -t 0 --post-process-file ~/rpicam-apps/assets/hailo_yolov6_inference.json --lores-width 640 --lores-height 640
Yolov8 model
rpicam-hello -t 0 --post-process-file ~/rpicam-apps/assets/hailo_yolov8_inference.json --lores-width 640 --lores-height 640
YoloX model
rpicam-hello -t 0 --post-process-file ~/rpicam-apps/assets/hailo_yolox_inference.json --lores-width 640 --lores-height 640
Yolov5 human and facial models
rpicam-hello -t 0 --post-process-file ~/rpicam-apps/assets/hailo_yolov5_personface.json --lores-width 640 --lores-height 640

Image segmentation
rpicam-hello -t 0 --post-process-file ~/rpicam-apps/assets/hailo_yolov5_segmentation.json --lores-width 640 --lores-height 640 --framerate 20
Posture estimation
rpicam-hello -t 0 --post-process-file ~/rpicam-apps/assets/hailo_yolov8_pose.json --lores-width 640 --lores-height 640

For more details, you can refer to GitHubHailo official website.

TAG: Serial UART Bus Servo TTL ST3235 30KG.CM Magnetic Encoder 360° High Precision And Large Torque Raspberry Pi 12.3 inch DSI MIPI Display TouchScreen LCD 720x1920 Luckfox Lyra Omni3576 RK3576 Image-Modulation-Tutorial User Guide Raspberry Pi SIM7670G LTE-4G-Cat-1/GNSS/USB-HUB Expansion Board X1203 Raspberry Pi 5 UPS Board Uninterruptible Power Supply For Li-Battery (NOT includ) Raspberry Pi DSI display Luckfox Pico Zero RV1106G3 SD WiFi6 Audio eMMC-8G RAM-256MB Raspberry Pi 5 PD Power TOF Time-Of-Flight Laser Range Sensor Radar Module UART / I2C Port X1004 Industrial Modbus RTU RS485 8-ch 30A High Current Relay Module (E) With Digital Input Raspberry Pi 7 inch DSI MIPI LCD TouchScreen Display 7inch 720x1280 For Luckfox Lyra RK3506/ESP32-P4/Luckfox Omni3576 RM520N GL 5G/4G/3G M.2 Moudle IoT EMBB For LTE-A/NSA/SA And GNSS For DFOTA /VoLTE For Quectel Sipeed Tang Primer 25K GW5A RISCV FPGA Development Board Dock SDRAM GW5A-LV25MG121 Retro Game linux here User Guide Raspberry Pi 18.5 inch Type C/HDMI/4K Display Screen 3840×2160 Computer PC Phone Xbox/PS4/Switch LuckFox Pico UART Raspberry Pi Starlight Camera IR-CUT IMX462 (A) Sensor 2MP 90 Degree 4.26inch-e-Paper 1.5inch LCD