From 0e73c4984d49a016e2fa806c7293df5252ee79b8 Mon Sep 17 00:00:00 2001 From: Matthew Foran Date: Mon, 23 Sep 2024 14:37:16 -0400 Subject: [PATCH] Add Hailo build parameters --- .../computers/camera/rpicam_apps_building.adoc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/documentation/asciidoc/computers/camera/rpicam_apps_building.adoc b/documentation/asciidoc/computers/camera/rpicam_apps_building.adoc index a3249e9dd..306e9cfb8 100644 --- a/documentation/asciidoc/computers/camera/rpicam_apps_building.adoc +++ b/documentation/asciidoc/computers/camera/rpicam_apps_building.adoc @@ -152,14 +152,14 @@ For desktop-based operating systems like Raspberry Pi OS, configure the `rpicam- [source,console] ---- -$ meson setup build -Denable_libav=enabled -Denable_drm=enabled -Denable_egl=enabled -Denable_qt=enabled -Denable_opencv=disabled -Denable_tflite=disabled +$ meson setup build -Denable_libav=enabled -Denable_drm=enabled -Denable_egl=enabled -Denable_qt=enabled -Denable_opencv=disabled -Denable_tflite=disabled -Denable_hailo=disabled ---- For headless operating systems like Raspberry Pi OS Lite, configure the `rpicam-apps` build with the following `meson` command: [source,console] ---- -$ meson setup build -Denable_libav=disabled -Denable_drm=enabled -Denable_egl=disabled -Denable_qt=disabled -Denable_opencv=disabled -Denable_tflite=disabled +$ meson setup build -Denable_libav=disabled -Denable_drm=enabled -Denable_egl=disabled -Denable_qt=disabled -Denable_opencv=disabled -Denable_tflite=disabled -Denable_hailo=disabled ---- [TIP] @@ -168,6 +168,7 @@ $ meson setup build -Denable_libav=disabled -Denable_drm=enabled -Denable_egl=di * Use `-Dneon_flags=armv8-neon` to enable optimisations for 32-bit OSes on Raspberry Pi 3 or Raspberry Pi 4. * Use `-Denable_opencv=enabled` if you have installed OpenCV and wish to use OpenCV-based post-processing stages. * Use `-Denable_tflite=enabled` if you have installed TensorFlow Lite and wish to use it in post-processing stages. +* Use `-Denable_hailo=enabled` if you have installed HailoRT and wish to use it in post-processing stages. ====== @@ -226,6 +227,11 @@ The `meson` build configuration for `rpicam-apps` supports the following flags: `-Denable_tflite=enabled`:: Enables or disables TensorFlow Lite post-processing stages. Disabled by default. Requires Tensorflow Lite to enable. Depending on how you have built and/or installed TFLite, you may need to tweak the `meson.build` file in the `post_processing_stages` directory. +`-Denable_hailo=enabled`:: Enables or disables HailoRT-based post-processing stages. Requires HailoRT to enable. Defaults to `auto`. + +`-Ddownload_hailo_models=true`:: Downloads and installs models for HailoRT post-processing stages. Requires `wget` to be installed. Defaults to `true`. + + Each of the above options (except for `neon_flags`) supports the following values: * `enabled`: enables the option, fails the build if dependencies are not available