For the complete documentation index, see llms.txt. This page is also available as Markdown.

Hailo-8 in Bedrock R8000 | R7000

Hailo-8 in Bedrock R8000 | R7000

This guide explains how to install Hailo’s hailo_pci driver, hailortcli and tappas. It was tested on

Table of Contents

Required packages

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -y rsync ffmpeg g++-12 x11-utils python3-dev python3-pip python3-setuptools python3-virtualenv python-gi-dev libgirepository1.0-dev gcc-9 g++-9 cmake git libzmq3-dev unzip 
sudo apt-get install -y libopencv-dev python3-opencv 
sudo apt-get install -y libcairo2-dev libgirepository1.0-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio gcc-9 g++-9 python-gi-dev 
sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-3.0 

Driver compilation and installation

Clone the driver repository

Compile the driver

Install the driver

Check installation

Download firmware

Optional (set udev rules and reload the rules)

Method 1 Host

Installing HailortCli

Clone the Hailort repository

Compile sources

Testing

Run:

If for some reason the –target install does not install hailortcli to the machine run the following line and try retesting:

Output will look something like this:

Installing TAPPAS

Clone & set-up tappas repostitory

Ubuntu 23.04 requires to change pybind version from 2.9 to 2.10 in: hailo-ai/tappas/scripts/build_scripts/clone_external_packages.sh To change version, use this command from tappas source directory:

Install

Method 2 Docker

Download TAPPAS container

  • Go to: hailo website → developer zone → software downloads

image-20240326-131751.png
  • Download the Tappas docker container:

Move it to your machine and unzip the file using:

Install and run the image

To resume the image after exiting you can use

Testing using hailortcli benchmark

Running hailortcli requires the use of sudo

To test we will benchmark the models:

After the benchmark will run you will see something like this:

Numbers might be somewhat unrealistic since we are running a benchmark in a console environment without actual image processing calculations, hence the high FPS, etc…

Last updated