Does anyone know how to increase the thickness of bounding boxes? I am using hailo-infra repository, By default, which file should I configure, and how exactly should I modify it?
Welcome to the Hailo Community!
You can change the thickness of the bounding boxes by modifying the input to the hailooverlay
GStreamer element in the following file.
GitHub - hailo-apps-infra - gstreamer_helper_pipelines.py
# Construct the overlay pipeline string
overlay_pipeline = (
f'{QUEUE(name=f"{name}_q")} ! '
f'hailooverlay name={name} '
)
Add the line-thickness
property:
# Construct the overlay pipeline string
overlay_pipeline = (
f'{QUEUE(name=f"{name}_q")} ! '
f'hailooverlay name={name} line-thickness=2'
)
To review all Element Properties of the hailooverlay
GStreamer element, run the following command:
gst-inspect-1.0 hailooverlay
1 Like
OMG, thank you so much! It finally worked! I’ve been trying for weeks!