Hey all I would like to be able to modify the existing bounding boxes in the object_detection.py script, displaying my own artefacts for object recognition. I am looking in:
But cannot find the code responsible for “drawing” these boxes. Can anyone point me in the right direction? Or is this happening at a lower-level in the code (C++ bindings)?
The bounding boxes are drawn by a GStreamer element called hailooverlay. It is precompiled and allows some modifications by setting parameters. Use the following command to see all options:
gst-inspect-1.0 hailooverlay
The element is configured in the the following file:
If you want additional changes you can replace or modify the GStreamer hailooverlay element. It is part of the TAPPAS GStreamer elements. They are open-source and the source code is available in our GitHub Tappas repository: