Cannot find post processing stages

Hello,

I am running into an issue where I get this reported when running examples from the documentation on raspberry pi ai kit. Some of the output is truncated.

rpicam-hello -t 0 --post-process-file ~/rpicam-apps/assets/hailo_yolov8_pose.json --lores-width 640 --lores-height 640

Made DRM preview window
Postprocessing requested lores: 640x640 BGR888
Reading post processing stage "hailo_yolo_inference"
No post processing stage found for "object_detect_draw_cv"

I have followed the guide from for the hailo ai kit from raspberry pi and this worked with the cameras from raspberry pi, but now I have 3rd party cameras and have to rebuild libcamera and rpicam-apps, which I think may be causing this issue.

When I build rpicam-apps it finds hailo is installed. Is there something else I need to do to build the post processing files or change a meson.build file so that it copies them to the appropriate locations when doing the meson install?

Hi @smat,
Have you changed this file assets/hailo_yolov8_pose.json to include a module named object_detect_draw_cv?

I haven’t changed anything. I have tried several of the examples on the rpi hailo quick start with similar errors. The one above was actually just the object detection examples.

This is more accurate for the pose example.

Postprocessing requested lores: 640x640 BGR888
No post processing stage found for "hailo_yolo_pose"

Hello,

Solved my own question by looking at the meson.build file in the hailo directory. If you don’t enable open cv when building rpicam-apps then meson wont include some of the necessary files during the install.