The hailooverlay element has a few parameters or element properties like font-thickness and line-thickness that you can change when you create the GStreamer pipeline string. e.g. the following command will remove the confidence score from the overlay.
... hailooverlay show-confidence=false ...
You can use the following command to see the Element Properties:
gst-inspect-1.0 hailooverlay
For all other changes you will need to modify the GStreamer element and recompile it. The sources are in our GitHub repository: