Error while running face-recognization of Tappas

@pfmatthews
You executed the tappas > ./install.sh. This will build .so file for tappas/core/hailo/apps/x86/vms/face_align.cpp at master · hailo-ai/tappas · GitHub with the help of meson. on successful execution, It will create a build.release “core/hailo/build.release” folder, you can find the so(i think it should be in build.release/apps/x86/vms/) file in the build dir. And copy to required place.

NOTE: I have not tested facial-recognition myself. I was trying to build my own post processing so file. Then i figured out.
There may be compatibility issue. It seems it is only for x86 not for arm. But can’t say exactly.

Thanks for advice - I did try to execute the install script, but no joy - the .SO file wasn’t created anywhere :frowning: and now nothing works - It looks like I’ll have to re-install from scratch (again).

For the rpi5 target, the problem is, those libraries are not included, my guess, by mistake. They build fine and seem to work.

--- hailo-tappas-core-3.31.0+2.orig/core/hailo/apps/meson.build
+++ hailo-tappas-core-3.31.0+2/core/hailo/apps/meson.build
@@ -49,7 +49,7 @@ cv_singleton_dep = declare_dependency(
   link_with : cv_singleton_lib)
 
 # App Subdirectories
-if target_platform == 'x86' or target_platform == 'rpi' or target_platform == 'rockchip'
+if target_platform == 'x86' or target_platform == 'rpi' or target_platform == 'rpi5' or target_platform == 'rockchip'
     subdir('x86')
 elif target_platform == 'imx8'
     subdir('imx')

Encountered the same problem. After trying ./install.sh some dependencies become broken. I used gst-inspect-1.0 hailotools to check and find out that it is not working. And yeah… There weren’t such expected output.

Plugin Details:
Name hailotools
Description hailo tools plugin
Filename /lib/aarch64-linux-gnu/gstreamer-1.0/libgsthailotools.so
Version 3.31.0
License unknown
Source module gst-hailo-tools
Binary package gst-hailo-tools
Origin URL https://hailo.ai/

hailoaggregator: hailoaggregator - Cascading
hailocounter: hailocounter - postprocessing element
hailocropper: hailocropper
hailoexportfile: hailoexportfile - export element
hailoexportzmq: hailoexportzmq - export element
hailofilter: hailofilter - postprocessing element
hailogallery: Hailo gallery element
hailograytonv12: hailograytonv12 - postprocessing element
hailoimportzmq: hailoimportzmq - import element
hailomuxer: Muxer pipeline merging
hailonv12togray: hailonv12togray - postprocessing element
hailonvalve: HailoNValve element

Did you try to run on HailoRT 4.22.0 & Tappas 5.0.0? If so, maybe the comments in Make the cpp_postprocess sources compile with Tappas 5.0.0 by mw46d · Pull Request #63 · hailo-ai/hailo-apps-infra · GitHub would help?

I get

(venv_hailo_rpi_examples) ubuntu@ubuntu-2404-pi5b:~/hailo-rpi5-examples$ gst-inspect-1.0 hailotools
Plugin Details:
  Name                     hailotools
  Description              hailo tools plugin
  Filename                 /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgsthailotools.so
  Version                  5.0.0
  License                  unknown
  Source module            gst-hailo-tools
  Binary package           gst-hailo-tools
  Origin URL               https://hailo.ai/

  hailoaggregator: hailoaggregator - Cascading
  hailocounter: hailocounter - postprocessing element
  hailocropper: hailocropper
  hailoexportfile: hailoexportfile - export element
  hailoexportzmq: hailoexportzmq - export element
  hailofilter: hailofilter - postprocessing element
  hailogallery: Hailo gallery element
  hailograytonv12: hailograytonv12 - postprocessing element
  hailoimportzmq: hailoimportzmq - import element
  hailomuxer: Muxer pipeline merging
  hailonv12togray: hailonv12togray - postprocessing element
  hailonvalve: HailoNValve element
  hailooverlay: hailooverlay - overlay element
  hailoroundrobin: Input Round Robin element
  hailostreamrouter: Hailo Stream Router
  hailotileaggregator: hailotileaggregator
  hailotilecropper: hailotilecropper - Tiling
  hailotracker: Hailo object tracking element

  18 features:
  +-- 18 elements


and

(venv_hailo_rpi_examples) ubuntu@ubuntu-2404-pi5b:~/hailo-rpi5-examples$ python3 basic_pipelines/pose_estimation.py --input rpi
Loading environment variables from /home/ubuntu/hailo-rpi5-examples/.env...
✅ All required environment variables loaded.
Auto-detected Hailo architecture: hailo8
appsrc name=app_source is-live=true leaky-type=downstream max-buffers=3 ! videoflip name=videoflip video-direction=horiz ! video/x-raw, format=RGB, width=1280, height=720 !  queue name=source_scale_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0  ! videoscale name=source_videoscale n-threads=2 ! queue name=source_convert_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0  ! videoconvert n-threads=3 name=source_convert qos=false ! video/x-raw, pixel-aspect-ratio=1/1, format=RGB, width=1280, height=720 ! videorate name=source_videorate ! capsfilter name=source_fps_caps caps="video/x-raw, framerate=30/1"  !queue name=inference_wrapper_input_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0  ! hailocropper name=inference_wrapper_crop so-path=/usr/lib/aarch64-linux-gnu/hailo/tappas/post_processes/cropping_algorithms/libwhole_buffer.so function-name=create_crops use-letterbox=true resize-method=inter-area internal-offset=true hailoaggregator name=inference_wrapper_agg inference_wrapper_crop. ! queue name=inference_wrapper_bypass_q leaky=no max-size-buffers=20 max-size-bytes=0 max-size-time=0  ! inference_wrapper_agg.sink_0 inference_wrapper_crop. ! queue name=inference_scale_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0  ! videoscale name=inference_videoscale n-threads=2 qos=false ! queue name=inference_convert_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0  ! video/x-raw, pixel-aspect-ratio=1/1 ! videoconvert name=inference_videoconvert n-threads=2 ! queue name=inference_hailonet_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0  ! hailonet name=inference_hailonet hef-path=/usr/local/hailo/resources/models/hailo8/yolov8m_pose.hef batch-size=2  vdevice-group-id=1  force-writable=true  ! queue name=inference_hailofilter_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0  ! hailofilter name=inference_hailofilter so-path=/usr/local/hailo/resources/so/libyolov8pose_postprocess.so   function-name=filter_letterbox  qos=false ! queue name=inference_output_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0   ! inference_wrapper_agg.sink_1 inference_wrapper_agg. ! queue name=inference_wrapper_output_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0   ! hailotracker name=hailo_tracker class-id=0 kalman-dist-thr=0.8 iou-thr=0.9 init-iou-thr=0.7 keep-new-frames=2 keep-tracked-frames=15 keep-lost-frames=2 keep-past-metadata=False qos=False ! queue name=hailo_tracker_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0   ! queue name=identity_callback_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0  ! identity name=identity_callback  ! queue name=hailo_display_overlay_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0  ! hailooverlay name=hailo_display_overlay  ! queue name=hailo_display_videoconvert_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0  ! videoconvert name=hailo_display_videoconvert n-threads=2 qos=false ! queue name=hailo_display_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0  ! fpsdisplaysink name=hailo_display video-sink=autovideosink sync=false text-overlay=False signal-fps-measurements=true 
appsrc properties:  <__gi__.GstAppSrc object at 0xffff76651880 (GstAppSrc at 0x36cd9550)>
[0:13:41.392183445] [3211]  INFO Camera camera_manager.cpp:326 libcamera v0.5.1+100-e53bdf1f
[0:13:41.414146842] [3212]  INFO RPI pisp.cpp:720 libpisp version v1.2.1 981977ff21f3 13-05-2025 (00:12:16)
[0:13:41.506986757] [3212]  INFO RPI pisp.cpp:1179 Registered camera /base/axi/pcie@120000/rp1/i2c@88000/imx708@1a to CFE device /dev/media1 and ISP device /dev/media0 using PiSP variant BCM2712_C0
[0:13:41.510350938] [3211]  WARN V4L2 v4l2_pixelformat.cpp:346 Unsupported V4L2 pixel format RPBP
[0:13:41.510548919] [3211]  WARN V4L2 v4l2_pixelformat.cpp:346 Unsupported V4L2 pixel format RPBP
[0:13:41.511210807] [3211]  INFO Camera camera.cpp:1205 configuring streams: (0) 1280x720-RGB888/sRGB (1) 1280x720-RGB888/sRGB (2) 1536x864-BGGR_PISP_COMP1/RAW
[0:13:41.511340881] [3212]  INFO RPI pisp.cpp:1483 Sensor: /base/axi/pcie@120000/rp1/i2c@88000/imx708@1a - Selected sensor format: 1536x864-SBGGR10_1X10 - Selected CFE format: 1536x864-PC1B
Picamera2 configuration: width=1280, height=720, format=RGB
picamera_process started
Frame count: 1

Frame count: 2

Frame count: 3

help me as i am getting this when i tried to install with your PPA. i am not able to run it.

raspberry@raspberry:~/hailo-rpi5-examples$ ./install.sh
📄 Loading configuration from config.yaml
Using config from config.yaml (or defaults):
BASE_URL           = http://dev-public.hailo.ai/2025_01
DOWNLOAD_DIR       = hailo_temp_resources
HAILORT_VERSION    = auto
TAPPAS_CORE_VERSION= auto
VENV_NAME          = venv_hailo_rpi_examples
Hailo-Apps-Infra   = 
 @ 25.7.0
TAPPAS_PIP_PKG     = auto
TAPPAS_VARIANT     = auto
HAILO_INFRA_PATH   = auto
CONFIG_FILE        = config.yaml

📋 Checking required system packages…
✅ hailort (system) version: 4.22.0-1ubuntu1~marco1

📋 Checking for HailoRT system version
📋 Checking for hailo-tappas vs hailo-tappas-core…
5.0.0-1ubuntu1~marco3
5.0.0-1ubuntu1~marco3
✅ hailo-tappas-core version: 5.0.0-1ubuntu1~marco3

📋 Checking host-Python pip packages…
✅ pip ‘hailort’ version: 4.22.0
⚠️  pip ‘hailo-tappas-core-python-binding’ missing; will install in venv.
📦 Will install missing pip packages in virtualenv.
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
python3-gi is already the newest version (3.48.2-1).
python3-gi-cairo is already the newest version (3.48.2-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
rpi

✅ Virtualenv ‘venv_hailo_rpi_examples’ exists. Activating…

📦 Installing missing pip packages…
📦 Installing ‘hailo-tappas-core-python-binding’ via helper script
→ HAILORT_VERSION    = 4.20.0
→ TAPPAS_CORE_VERSION= 3.31.0
→ DOWNLOAD_DIR       = hailo_temp_resources
→ install Tapas?     = true
→ install HailoRT?   = false
→ Downloading Tapas-core wheel…
–2025-11-02 01:21:32--  http://dev-public.hailo.ai/2025_01/tappas_core_python_binding-3.31.0-py3-none-any.whl
Resolving dev-public.hailo.ai (dev-public.hailo.ai)… 2606:4700:10::6814:1714, 2606:4700:10::ac42:af3e, 104.20.23.20, …
Connecting to dev-public.hailo.ai (dev-public.hailo.ai)|2606:4700:10::6814:1714|:80… connected.
HTTP request sent, awaiting response… 301 Moved Permanently
Location: https://dev-public.hailo.ai/2025_01/tappas_core_python_binding-3.31.0-py3-none-any.whl [following]
–2025-11-02 01:21:32--  https://dev-public.hailo.ai/2025_01/tappas_core_python_binding-3.31.0-py3-none-any.whl
Connecting to dev-public.hailo.ai (dev-public.hailo.ai)|2606:4700:10::6814:1714|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 2358233 (2.2M) [application/zip]
Saving to: ‘hailo_temp_resources/tappas_core_python_binding-3.31.0-py3-none-any.whl’

hailo_temp_resources/ 100%[=======================>]   2.25M  4.30MB/s    in 0.5s

2025-11-02 01:21:33 (4.30 MB/s) - ‘hailo_temp_resources/tappas_core_python_binding-3.31.0-py3-none-any.whl’ saved [2358233/2358233]

→ Upgrading pip…
Requirement already satisfied: pip in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (25.3)
→ Installing Tapas-core…
Processing ./hailo_temp_resources/tappas_core_python_binding-3.31.0-py3-none-any.whl
tappas-core-python-binding is already installed with the same version as the provided wheel. Use --force-reinstall to force an installation of the wheel.
✅ Installation complete.
/home/raspberry/hailo-rpi5-examples/.env
✅ .env already exists at /home/raspberry/hailo-rpi5-examples/.env

📦 Upgrading pip/setuptools/wheel…
Requirement already satisfied: pip in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (25.3)
Requirement already satisfied: setuptools in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (80.9.0)
Requirement already satisfied: wheel in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (0.45.1)
Requirement already satisfied: py>=1.8.0 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (1.11.0)
Requirement already satisfied: numpy<2.0.0 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 1)) (1.26.4)
Requirement already satisfied: setproctitle in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from -r requirements.txt (line 2)) (1.3.7)
Requirement already satisfied: opencv-python in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from -r requirements.txt (line 3)) (4.11.0.86)
Requirement already satisfied: pytest in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from -r requirements.txt (line 4)) (8.4.2)
Requirement already satisfied: pytest-timeout in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from -r requirements.txt (line 5)) (2.4.0)
Requirement already satisfied: pytest-mock in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from -r requirements.txt (line 6)) (3.15.1)
Requirement already satisfied: python-dotenv in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from -r requirements.txt (line 7)) (1.2.1)
Requirement already satisfied: iniconfig>=1 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from pytest->-r requirements.txt (line 4)) (2.3.0)
Requirement already satisfied: packaging>=20 in /usr/lib/python3/dist-packages (from pytest->-r requirements.txt (line 4)) (24.0)
Requirement already satisfied: pluggy<2,>=1.5 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from pytest->-r requirements.txt (line 4)) (1.6.0)
Requirement already satisfied: pygments>=2.7.2 in /usr/lib/python3/dist-packages (from pytest->-r requirements.txt (line 4)) (2.17.2)
📦 Installing Hailo-Apps-Infra… auto
📦 Installing hailo-apps-infra from Git (25.7.0)…
Collecting hailo-apps
Cloning 
 (to revision 25.7.0) to /tmp/pip-install-mulabec_/hailo-apps_5392d844339f41ed9377e17a81b0131f
Running command git clone --filter=blob:none --quiet 
 /tmp/pip-install-mulabec_/hailo-apps_5392d844339f41ed9377e17a81b0131f
Running command git checkout -q 2ecfc8662972ad8384546b7dbe79125dfddcb276
Resolved 
 to commit 2ecfc8662972ad8384546b7dbe79125dfddcb276
Installing build dependencies … done
Getting requirements to build wheel … done
Preparing metadata (pyproject.toml) … done
Requirement already satisfied: numpy<2.0.0 in /usr/lib/python3/dist-packages (from hailo-apps) (1.26.4)
Requirement already satisfied: setproctitle in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from hailo-apps) (1.3.7)
Requirement already satisfied: opencv-python in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from hailo-apps) (4.11.0.86)
Requirement already satisfied: python-dotenv in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from hailo-apps) (1.2.1)
Requirement already satisfied: pyyaml in /usr/lib/python3/dist-packages (from hailo-apps) (6.0.1)
Requirement already satisfied: gradio in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from hailo-apps) (5.49.1)
Requirement already satisfied: fastrtc in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from hailo-apps) (0.0.33)
Requirement already satisfied: lancedb in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from hailo-apps) (0.25.2)
Requirement already satisfied: matplotlib in /usr/lib/python3/dist-packages (from hailo-apps) (3.6.3)
Requirement already satisfied: Pillow in /usr/lib/python3/dist-packages (from hailo-apps) (10.2.0)
Requirement already satisfied: aioice>=0.10.1 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from fastrtc->hailo-apps) (0.10.1)
Requirement already satisfied: aiortc in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from fastrtc->hailo-apps) (1.14.0)
Requirement already satisfied: librosa in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from fastrtc->hailo-apps) (0.11.0)
Requirement already satisfied: numba>=0.60.0 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from fastrtc->hailo-apps) (0.62.1)
Requirement already satisfied: aiofiles<25.0,>=22.0 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from gradio->hailo-apps) (24.1.0)
Requirement already satisfied: anyio<5.0,>=3.0 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from gradio->hailo-apps) (4.11.0)
Requirement already satisfied: brotli>=1.1.0 in /usr/lib/python3/dist-packages (from gradio->hailo-apps) (1.1.0)
Requirement already satisfied: fastapi<1.0,>=0.115.2 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from gradio->hailo-apps) (0.120.4)
Requirement already satisfied: ffmpy in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from gradio->hailo-apps) (0.6.4)
Requirement already satisfied: gradio-client==1.13.3 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from gradio->hailo-apps) (1.13.3)
Requirement already satisfied: groovy~=0.1 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from gradio->hailo-apps) (0.1.2)
Requirement already satisfied: httpx<1.0,>=0.24.1 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from gradio->hailo-apps) (0.28.1)
Requirement already satisfied: huggingface-hub<2.0,>=0.33.5 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from gradio->hailo-apps) (1.0.1)
Requirement already satisfied: jinja2<4.0 in /usr/lib/python3/dist-packages (from gradio->hailo-apps) (3.1.2)
Requirement already satisfied: markupsafe<4.0,>=2.0 in /usr/lib/python3/dist-packages (from gradio->hailo-apps) (2.1.5)
Requirement already satisfied: orjson~=3.0 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from gradio->hailo-apps) (3.11.4)
Requirement already satisfied: packaging in /usr/lib/python3/dist-packages (from gradio->hailo-apps) (24.0)
Requirement already satisfied: pandas<3.0,>=1.0 in /usr/lib/python3/dist-packages (from gradio->hailo-apps) (2.1.4+dfsg)
Requirement already satisfied: pydantic<2.12,>=2.0 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from gradio->hailo-apps) (2.11.10)
Requirement already satisfied: pydub in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from gradio->hailo-apps) (0.25.1)
Requirement already satisfied: python-multipart>=0.0.18 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from gradio->hailo-apps) (0.0.20)
Requirement already satisfied: ruff>=0.9.3 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from gradio->hailo-apps) (0.14.3)
Requirement already satisfied: safehttpx<0.2.0,>=0.1.6 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from gradio->hailo-apps) (0.1.7)
Requirement already satisfied: semantic-version~=2.0 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from gradio->hailo-apps) (2.10.0)
Requirement already satisfied: starlette<1.0,>=0.40.0 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from gradio->hailo-apps) (0.49.3)
Requirement already satisfied: tomlkit<0.14.0,>=0.12.0 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from gradio->hailo-apps) (0.13.3)
Requirement already satisfied: typer<1.0,>=0.12 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from gradio->hailo-apps) (0.20.0)
Requirement already satisfied: typing-extensions~=4.0 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from gradio->hailo-apps) (4.15.0)
Requirement already satisfied: uvicorn>=0.14.0 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from gradio->hailo-apps) (0.38.0)
Requirement already satisfied: fsspec in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from gradio-client==1.13.3->gradio->hailo-apps) (2025.10.0)
Requirement already satisfied: websockets<16.0,>=13.0 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from gradio-client==1.13.3->gradio->hailo-apps) (15.0.1)
Requirement already satisfied: idna>=2.8 in /usr/lib/python3/dist-packages (from anyio<5.0,>=3.0->gradio->hailo-apps) (3.6)
Requirement already satisfied: sniffio>=1.1 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from anyio<5.0,>=3.0->gradio->hailo-apps) (1.3.1)
Requirement already satisfied: annotated-doc>=0.0.2 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from fastapi<1.0,>=0.115.2->gradio->hailo-apps) (0.0.3)
Requirement already satisfied: certifi in /usr/lib/python3/dist-packages (from httpx<1.0,>=0.24.1->gradio->hailo-apps) (2023.11.17)
Requirement already satisfied: httpcore==1.* in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from httpx<1.0,>=0.24.1->gradio->hailo-apps) (1.0.9)
Requirement already satisfied: h11>=0.16 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from httpcore==1.*->httpx<1.0,>=0.24.1->gradio->hailo-apps) (0.16.0)
Requirement already satisfied: filelock in /usr/lib/python3/dist-packages (from huggingface-hub<2.0,>=0.33.5->gradio->hailo-apps) (3.13.1)
Requirement already satisfied: shellingham in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from huggingface-hub<2.0,>=0.33.5->gradio->hailo-apps) (1.5.4)
Requirement already satisfied: tqdm>=4.42.1 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from huggingface-hub<2.0,>=0.33.5->gradio->hailo-apps) (4.67.1)
Requirement already satisfied: typer-slim in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from huggingface-hub<2.0,>=0.33.5->gradio->hailo-apps) (0.20.0)
Requirement already satisfied: hf-xet<2.0.0,>=1.2.0 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from huggingface-hub<2.0,>=0.33.5->gradio->hailo-apps) (1.2.0)
Requirement already satisfied: annotated-types>=0.6.0 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from pydantic<2.12,>=2.0->gradio->hailo-apps) (0.7.0)
Requirement already satisfied: pydantic-core==2.33.2 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from pydantic<2.12,>=2.0->gradio->hailo-apps) (2.33.2)
Requirement already satisfied: typing-inspection>=0.4.0 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from pydantic<2.12,>=2.0->gradio->hailo-apps) (0.4.2)
Requirement already satisfied: click>=8.0.0 in /usr/lib/python3/dist-packages (from typer<1.0,>=0.12->gradio->hailo-apps) (8.1.6)
Requirement already satisfied: rich>=10.11.0 in /usr/lib/python3/dist-packages (from typer<1.0,>=0.12->gradio->hailo-apps) (13.7.1)
Requirement already satisfied: dnspython>=2.0.0 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from aioice>=0.10.1->fastrtc->hailo-apps) (2.8.0)
Requirement already satisfied: ifaddr>=0.2.0 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from aioice>=0.10.1->fastrtc->hailo-apps) (0.2.0)
Requirement already satisfied: llvmlite<0.46,>=0.45.0dev0 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from numba>=0.60.0->fastrtc->hailo-apps) (0.45.1)
Requirement already satisfied: markdown-it-py>=2.2.0 in /usr/lib/python3/dist-packages (from rich>=10.11.0->typer<1.0,>=0.12->gradio->hailo-apps) (3.0.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /usr/lib/python3/dist-packages (from rich>=10.11.0->typer<1.0,>=0.12->gradio->hailo-apps) (2.17.2)
Requirement already satisfied: mdurl~=0.1 in /usr/lib/python3/dist-packages (from markdown-it-py>=2.2.0->rich>=10.11.0->typer<1.0,>=0.12->gradio->hailo-apps) (0.1.2)
Requirement already satisfied: av<17.0.0,>=14.0.0 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from aiortc->fastrtc->hailo-apps) (16.0.1)
Requirement already satisfied: cryptography>=44.0.0 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from aiortc->fastrtc->hailo-apps) (46.0.3)
Requirement already satisfied: google-crc32c>=1.1 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from aiortc->fastrtc->hailo-apps) (1.7.1)
Requirement already satisfied: pyee>=13.0.0 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from aiortc->fastrtc->hailo-apps) (13.0.0)
Requirement already satisfied: pylibsrtp>=0.10.0 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from aiortc->fastrtc->hailo-apps) (1.0.0)
Requirement already satisfied: pyopenssl>=25.0.0 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from aiortc->fastrtc->hailo-apps) (25.3.0)
Requirement already satisfied: cffi>=2.0.0 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from cryptography>=44.0.0->aiortc->fastrtc->hailo-apps) (2.0.0)
Requirement already satisfied: pycparser in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from cffi>=2.0.0->cryptography>=44.0.0->aiortc->fastrtc->hailo-apps) (2.23)
Requirement already satisfied: deprecation in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from lancedb->hailo-apps) (2.1.0)
Requirement already satisfied: pyarrow>=16 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from lancedb->hailo-apps) (22.0.0)
Requirement already satisfied: lance-namespace>=0.0.16 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from lancedb->hailo-apps) (0.0.20)
Requirement already satisfied: lance-namespace-urllib3-client in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from lance-namespace>=0.0.16->lancedb->hailo-apps) (0.0.20)
Requirement already satisfied: pylance>=0.18.0 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from lance-namespace>=0.0.16->lancedb->hailo-apps) (0.38.3)
Requirement already satisfied: python-dateutil>=2.8.2 in /usr/lib/python3/dist-packages (from lance-namespace-urllib3-client->lance-namespace>=0.0.16->lancedb->hailo-apps) (2.8.2)
Requirement already satisfied: urllib3<3.0.0,>=1.25.3 in /usr/lib/python3/dist-packages (from lance-namespace-urllib3-client->lance-namespace>=0.0.16->lancedb->hailo-apps) (2.0.7)
Requirement already satisfied: audioread>=2.1.9 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from librosa->fastrtc->hailo-apps) (3.1.0)
Requirement already satisfied: scipy>=1.6.0 in /usr/lib/python3/dist-packages (from librosa->fastrtc->hailo-apps) (1.11.4)
Requirement already satisfied: scikit-learn>=1.1.0 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from librosa->fastrtc->hailo-apps) (1.7.2)
Requirement already satisfied: joblib>=1.0 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from librosa->fastrtc->hailo-apps) (1.5.2)
Requirement already satisfied: decorator>=4.3.0 in /usr/lib/python3/dist-packages (from librosa->fastrtc->hailo-apps) (5.1.1)
Requirement already satisfied: soundfile>=0.12.1 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from librosa->fastrtc->hailo-apps) (0.13.1)
Requirement already satisfied: pooch>=1.1 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from librosa->fastrtc->hailo-apps) (1.8.2)
Requirement already satisfied: soxr>=0.3.2 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from librosa->fastrtc->hailo-apps) (1.0.0)
Requirement already satisfied: lazy_loader>=0.1 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from librosa->fastrtc->hailo-apps) (0.4)
Requirement already satisfied: msgpack>=1.0 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from librosa->fastrtc->hailo-apps) (1.1.2)
Requirement already satisfied: platformdirs>=2.5.0 in /usr/lib/python3/dist-packages (from pooch>=1.1->librosa->fastrtc->hailo-apps) (4.2.0)
Requirement already satisfied: requests>=2.19.0 in /usr/lib/python3/dist-packages (from pooch>=1.1->librosa->fastrtc->hailo-apps) (2.31.0)
Requirement already satisfied: threadpoolctl>=3.1.0 in ./venv_hailo_rpi_examples/lib/python3.12/site-packages (from scikit-learn>=1.1.0->librosa->fastrtc->hailo-apps) (3.6.0)
📦 Installing shared runtime deps…

⚙️  Running post-install…
Traceback (most recent call last):
File “/home/raspberry/hailo-rpi5-examples/venv_hailo_rpi_examples/bin/hailo-post-install”, line 3, in 
from hailo_apps.hailo_app_python.core.installation.post_install import main
File “/home/raspberry/hailo-rpi5-examples/venv_hailo_rpi_examples/lib/python3.12/site-packages/hailo_apps/hailo_app_python/core/installation/post_install.py”, line 12, in 
from hailo_apps.hailo_app_python.core.common.defines import (
File “/home/raspberry/hailo-rpi5-examples/venv_hailo_rpi_examples/lib/python3.12/site-packages/hailo_apps/hailo_app_python/core/common/defines.py”, line 103, in 
TAPPAS_POSTPROC_PATH_DEFAULT = subprocess.check_output(
^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.12/subprocess.py”, line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.12/subprocess.py”, line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command ‘[‘pkg-config’, ‘–variable=tappas_postproc_lib_dir’, ‘hailo-tappas-core’]’ returned non-zero exit status 1.
raspberry@raspberry:~/hailo-rpi5-examples$ dpkg -l | grep -E “hailo|rpicam”
ii  hailo-all                                     4.22.0-1ubuntu1~marco1                   all          Hailo support (metapackage)
ii  hailo-dkms                                    4.22.0-1ubuntu1~marco1                   all          Hailo PCIe driver
ii  hailo-tappas-core                             5.0.0-1ubuntu1~marco3                    arm64        This package contains the core components of the Hailo Tappas platform.
ii  hailofw                                       4.22.0-1ubuntu1~marco1                   all          Hailo firmware
ii  hailort                                       4.22.0-1ubuntu1~marco1                   arm64        Hailo RT is a lightweight, production-grade runtime library
ii  librpicam-app1:arm64                          1.8.1-1ubuntu1~marco1                    arm64        Framework for rpicam-apps camera applications
ii  python3-hailort                               4.22.0-1ubuntu1~marco2                   arm64        HailoRT Python API, which wraps the runtime library
ii  rpicam-apps                                   1.8.1-1ubuntu1~marco1                    all          Camera based applications for Raspberry Pi using the libcamera framework
ii  rpicam-apps-core                              1.8.1-1ubuntu1~marco1                    arm64        Camera based applications for Raspberry Pi using the libcamera framework
ii  rpicam-apps-encoder:arm64                     1.8.1-1ubuntu1~marco1                    arm64        Framework for rpicam-apps camera applications
ii  rpicam-apps-hailo-postprocess                 1.8.1-1ubuntu1~marco1                    arm64        Raspberry Pi AI HAT+ post-processing plugin for rpicam-apps
ii  rpicam-apps-opencv-postprocess                1.8.1-1ubuntu1~marco1                    arm64        Framework for rpicam-apps camera applications
ii  rpicam-apps-preview:arm64                     1.8.1-1ubuntu1~marco1                    arm64        Framework for rpicam-apps camera applications
raspberry@raspberry:~/hailo-rpi5-examples$

Did you look at my ‘pull request’ mentioned above? For whatever reason, your Python side tries to install Tappas 3.31 while 5.0.0 is already installed?! Not sure, how that would work?!

– Marco

Hi Macro, i am new to this and i am getting error while installing via your PPA. Could you please make some guide for installation via your PPA as it will be helpful for beginners. I want to use it with ros2 jazzy if it work. This wil be helpful to many users on Ubuntu 24.04

At this point, things are pretty bad:-(

  • I got things working with HAILO v4.22, TAPPAS v5.0.0 and a modified hailo_apps_infra
    v 25.07.0
  • I submitted the above mentioned PR and the HAILO people took those changes into the hailo_apps_infra dev branch (which seems to want to become a 25.10.??)
  • But that dev branch now requires HAILO v4.23 and TAPPAS v5.1.0 , which I did not build yet:-(

So, at this point in time, you’re probably a bit out of luck. I’ll try to build new packages for HAILO v 4.23 & TAPPAS v 5.1.0, but that might take a couple of days:-(

Sorry, no easy solution right now.

OK, I have built HAILO 4.23.0 /TAPPAS 5.1.0 packages locally. And it seems to work for the first tests;-)

ubuntu@ubuntu-2404-pi5b:~/20251102_hailo-rpi5-examples$ ./tue.sh 
Setting up the environment...
Checking kernel version...
Project directory added to PYTHONPATH for this session:
/home/ubuntu/20251102_hailo-rpi5-examples
Virtual environment 'venv_hailo_rpi_examples' activated
20:59:29 | INFO | run=20251103-045929-f002e0 | hailo_apps.hailo_app_python.apps.detection.detection_pipeline | Initializing GStreamer Detection App...
20:59:29 | WARNING | run=20251103-045929-f002e0 | hailo_apps.hailo_app_python.core.common.core | Missing environment variables: ['hailo_arch']
⚠ Missing environment variables: %s hailo_arch
20:59:29 | INFO | run=20251103-045929-f002e0 | hailo_apps.hailo_app_python.core.common.installation_utils | Detected Hailo architecture: HAILO8
20:59:29 | INFO | run=20251103-045929-f002e0 | hailo_apps.hailo_app_python.core.common.installation_utils | Detected Hailo architecture: HAILO8
20:59:29 | INFO | run=20251103-045929-f002e0 | hailo_apps.hailo_app_python.core.common.installation_utils | Detected Hailo architecture: HAILO8
20:59:29 | INFO | run=20251103-045929-f002e0 | hailo_apps.hailo_app_python.apps.detection.detection_pipeline | Resources | hef=/usr/local/hailo/resources/models/hailo8/yolov8m.hef | post_so=/usr/local/hailo/resources/so/libyolo_hailortpp_postprocess.so | post_fn=filter_letterbox | labels_json=None
Frame count: 1

Frame count: 2
Detection: ID: 1 Label: person Confidence: 0.91
Detection: ID: 2 Label: person Confidence: 0.91
Detection: ID: 3 Label: person Confidence: 0.89
Detection: ID: 4 Label: person Confidence: 0.84
Detection: ID: 5 Label: person Confidence: 0.84
Detection: ID: 6 Label: person Confidence: 0.84
Detection: ID: 7 Label: person Confidence: 0.75

Frame count: 3
Detection: ID: 1 Label: person Confidence: 0.93
Detection: ID: 2 Label: person Confidence: 0.91
Detection: ID: 3 Label: person Confidence: 0.89

Now, I have to push those source packages to the launchpad, but that might take a bit. They have to be build sequentially and I can only upload the next package once the dependencies are published:-(

– Marco

All sources are now pushed to launchpad.net :wink: Give it anther hour or so until all the 4.23 packages are finally published.

After you got all the 4.23 packages installed and rebooted your RasPi5 (there is also a new firmware version), pull the hailo-rpi5-examples and make the following changes:

ubuntu@ubuntu-2404-pi5b:~/20251102_hailo-rpi5-examples$ git diff config.yaml
diff --git a/config.yaml b/config.yaml
index ead71dd..2a88c34 100644
--- a/config.yaml
+++ b/config.yaml
@@ -2,17 +2,17 @@
 
 # This is RPI specefic variables
 hailo_apps_infra_path: "auto" # Path to the Hailo Apps Infra repository, relative to the current working directory
-hailo_apps_infra_branch_tag: "25.7.0" # Branch or tag of the Hailo Apps Infra repository to use
+hailo_apps_infra_branch_tag: "dev" # Branch or tag of the Hailo Apps Infra repository to use
 hailo_apps_infra_repo_url:  https://github.com/hailo-ai/hailo-apps-infra.git
 # This is Hailo Apps Infra variables
-hailort_version: "auto" # Options: "auto" (detect from device), "latest" (latest version), or specific version 
-tappas_version: "auto" # Version of the Tappas model to use, set to "auto" to detect automatically
-model_zoo_version: "v2.14.0" # Version of the model zoo to use
+hailort_version: "4.23.0" # Options: "auto" (detect from device), "latest" (latest version), or specific version
+tappas_version: "5.1.0" # Version of the Tappas model to use, set to "auto" to detect automatically
+model_zoo_version: "v2.17.0" # Version of the model zoo to use
 host_arch: "auto" # Options: "rpi" (Raspberry Pi), "x86" (desktop/server), "arm" (generic ARM board) or "auto" (detect from device)
 hailo_arch: "auto" # Options: "hailo8", "hailo8l", or "auto" (detect from device)
 resources_path: "resources" # Path to the resources directory, relative to the current working directory
 virtual_env_name: "venv_hailo_rpi_examples" # Name of the virtual environment to be created 
-server_url: "http://dev-public.hailo.ai/2025_01" # URL of the server to download models from , This is static 
+server_url: "http://dev-public.hailo.ai/2025_10" # URL of the server to download models from , This is static 
 storage_dir: "hailo_temp_resources" # Directory to store the deb and whl files , this is the default if set to auot or empty 
 tappas_variant: "auto" # Options : "tappas" or " tappa-core"  or "Auto"
-tappas_postproc_path: "auto" # Path to the post-processing script for Tappas, relative to the current working directory. If set to "auto", it will be detected automatically.
\ No newline at end of file
+tappas_postproc_path: "auto" # Path to the post-processing script for Tappas, relative to the current working directory. If set to "auto", it will be detected automatically.

After that, the install.sh should work and the

source setup_env.sh
python3 basic_pipelines/detection.py

should work as expected after that;-)

I hope, that helps a bit;-)

– Marco

Thanks it worked. Are you able to use it with ros2 ?

I did not get around to that just yet:-(

But there is gscam — gscam 2.0.2 documentation , I assume something similar could not only publish the images but also ‘HAILO detections’ or whatever else :wink:

Or GitHub - BrettRD/ros-gst-bridge: a bidirectional ros to gstreamer bridge and utilities for dynamic pipelines would be another starting point.

After all, those examples are just gstreamer pipelines;-)

Something outside of audio/images/video processing, which does not need the gstreamer framework, should also be doable and probably be simpler because you don’t have to ‘marry’ to very flexible but complex systems. But I don’t have a good use case right now?!

I hope, that gives some pointers :wink:

– Marco

Hi, where can I find the 4.23 package for raspberry 5 with Hailo 8L ?

Tks,

For RasPiOS, my guess is ‘Still nowhere’ :frowning: Also, last I checked, the are NO packages for RasPiOS Trixie available just yet!!

I’m building packages for Ubuntu 24.04 on Pi5 and make them available on launchpad

But, that’s just a hobby project, so use things at your own risk :wink:

Have fun exploring,

– Marco