I am trying tappas on Pi 5 and Hailo8, and then I find some example can run on Pi5, so I write the most useful wiki about multistream inference on hailo8.
Here is the wiki Link:
We have added the ability to modify the batch size based on the new code, significantly improving the inference speed. According to the tests conducted on YOLOv8m with an input size of 640x640 and a batch size of 8, the inference speed for a video input of 720p is as follows:
Thanks a lot for your link!
I got error when running command: ./install.sh --skip-hailort --target-platform rpi5
shows …/libs/postprocesses/detection/hailo_nms_decode.hpp:68:78: error:‘HAILO_FORMAT_ORDER_HAILO_NMS_BY_CLASS’ was not declared in this scope, do you mean ‘HAILO_FORMAT_ORDER_HAILO_NMS’ ?
I found the reason of this error. There are 2 versions of hailort.h, one is under /usr/include/hailo, the other is under tappas/hailort/sources/hailort/libhailort/include/hailo, and they are not same. The ./install.sh script uses /usr/include/hailo/hailort.h, which does not have HAILO_FORMAT_ORDER_HAILO_NMS_BY_CLASS. But the other version of hailort.h have this HAILO_FORMAT_ORDER_HAILO_NMS_BY_CLASS.