Error running basic_pipelines with --hef-path yolov5s_personface.hef

Hi there, I’m new here.

I’m trying to run the basic_pipelines/detection.py script using other models. I can run the the script with models present in /resources python basic_pipelines/detection.py --hef-path resources/yolov8s-hailo8l-barcode.hef.

However when I try to use the yolov5s_personface.hefavailable at hailo_model_zoo/hailo_models/personface_detection I get the error:

(Hailo Detection App:3531): Streamer-Base-CRITICAL **: 10:38:22.064: gst queue
array_push_tail: assercion
array != NULL' failed

Hey @Huw_Llewellyn,

Welcome to the Hailo Community!

Just to clarify - what you’re trying to run is actually a face detection model, but the example you’re looking at is for general object detection. These two aren’t compatible.

We’ll have a dedicated face detection example in the next release of the Raspberry Pi examples. That should give you exactly what you need to get your face detection model working properly.

Let me know if you need anything else in the meantime!