Hello,
I followed a procedure to use a Hailo 8 and Yolov5 on Imx8 Yocto just to test the basic version that comes with the Hailo.
My input is a webcam and my output is a screen.
The screen displays what it should, and I have frames around the objects. The problem is that there are no labels for the frames, labels such as “person”, “dog” etc …
Can you help me solve this problem please?
Here is what i modified in the basic detection.sh by Hailo :
PIPELINE=“gst-launch-1.0
v4l2src device=$input_source ! image/jpeg, format=yuv2, width=1280, height=720, framerate=30/1 !
decodebin ! videoconvert ! queue leaky=downstream max-size-buffers=30 max-size-bytes=0 max-size-time=0 !
hailonet model-path=$model_path ! queue leaky=downstream max-size-buffers=30 max-size-bytes=0 max-size-time=0 !
hailooverlay ! queue leaky=downstream max-size-buffers=30 max-size-bytes=0 max-size-time=0 !
videoconvert ! autovideosink name=halo_display sync=false text-overlay=true ${additional_parameters}”
And my json file :
{
“iou threshold”: 0.45,
“detection threshold”: 0.3,
“output activation”: “none”,
“label offset”: 1,
“max boxes”: 200,
“anchors”: [
116, 90, 156, 198, 373, 326,
30, 61, 62, 45, 59, 119,
10, 13, 16, 30, 33, 23
],
“labels”: [
“unlabeled”,
“person”,
“bicycle”,
“car”,
“motorcycle”,
“airplane”,
“bus”,
“train”,
“truck”,
“boat”,
“traffic light”,
“fire hydrant”,
“stop sign”,
“parking meter”
(and the rest of the labels)
Thank you very much.
Paramdeep