hailo-all package

My project on raspberry pi 5, utilizes hailo chip for detection along with picamera and cpu for further processing, i setup the hailo on my rapberry pi 5, using “sudo apt install hailo-all”

The thing is i want to make an executable of my project , how do i include these hailo packages etc in my code. Also i tried creating docker image of raspbian, but hailo-all was not being installed in docker image as well.

can anyone provide an applicable solution?

Hey @textremoval2023,

Welcome to the Hailo Community!

To get Hailo up and running in a Docker container on Raspbian, you have a couple of options:

  1. Create a Docker image based on Raspbian:

    • Add these lines to your Dockerfile to include the Hailo APT repository and install hailo-all:
      RUN echo "deb [trusted=yes] https://repository.hailo.ai/apt-repo/ stable main" | tee /etc/apt/sources.list.d/hailo.list
      RUN apt-get update && apt-get install -y hailo-all
      
    • If hailo-all fails to install due to hardware-specific dependencies, you can use bind mounts to access the host-installed libraries instead.
  2. Create an installer for your project that includes Hailo and any other required dependencies. Keep an eye out - we’ll soon be providing direct download links for our .deb files. This will make the installation process even easier, as you’ll be able to simply use wget to download and install the packages.

Let me know if you have any other questions or run into issues getting set up. We’re here to help!