Skip to content

Commit 0e73c49

Browse files
authored
Add Hailo build parameters
1 parent 4a92c36 commit 0e73c49

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

documentation/asciidoc/computers/camera/rpicam_apps_building.adoc

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,14 +152,14 @@ For desktop-based operating systems like Raspberry Pi OS, configure the `rpicam-
152152

153153
[source,console]
154154
----
155-
$ meson setup build -Denable_libav=enabled -Denable_drm=enabled -Denable_egl=enabled -Denable_qt=enabled -Denable_opencv=disabled -Denable_tflite=disabled
155+
$ meson setup build -Denable_libav=enabled -Denable_drm=enabled -Denable_egl=enabled -Denable_qt=enabled -Denable_opencv=disabled -Denable_tflite=disabled -Denable_hailo=disabled
156156
----
157157

158158
For headless operating systems like Raspberry Pi OS Lite, configure the `rpicam-apps` build with the following `meson` command:
159159

160160
[source,console]
161161
----
162-
$ meson setup build -Denable_libav=disabled -Denable_drm=enabled -Denable_egl=disabled -Denable_qt=disabled -Denable_opencv=disabled -Denable_tflite=disabled
162+
$ meson setup build -Denable_libav=disabled -Denable_drm=enabled -Denable_egl=disabled -Denable_qt=disabled -Denable_opencv=disabled -Denable_tflite=disabled -Denable_hailo=disabled
163163
----
164164

165165
[TIP]
@@ -168,6 +168,7 @@ $ meson setup build -Denable_libav=disabled -Denable_drm=enabled -Denable_egl=di
168168
* Use `-Dneon_flags=armv8-neon` to enable optimisations for 32-bit OSes on Raspberry Pi 3 or Raspberry Pi 4.
169169
* Use `-Denable_opencv=enabled` if you have installed OpenCV and wish to use OpenCV-based post-processing stages.
170170
* Use `-Denable_tflite=enabled` if you have installed TensorFlow Lite and wish to use it in post-processing stages.
171+
* Use `-Denable_hailo=enabled` if you have installed HailoRT and wish to use it in post-processing stages.
171172
172173
======
173174

@@ -226,6 +227,11 @@ The `meson` build configuration for `rpicam-apps` supports the following flags:
226227

227228
`-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.
228229

230+
`-Denable_hailo=enabled`:: Enables or disables HailoRT-based post-processing stages. Requires HailoRT to enable. Defaults to `auto`.
231+
232+
`-Ddownload_hailo_models=true`:: Downloads and installs models for HailoRT post-processing stages. Requires `wget` to be installed. Defaults to `true`.
233+
234+
229235
Each of the above options (except for `neon_flags`) supports the following values:
230236

231237
* `enabled`: enables the option, fails the build if dependencies are not available

0 commit comments

Comments
 (0)