There is no update from you for a period, assuming this is not an issue anymore.
Hence we are closing this topic. If need further support, please open a new one.
Thanks
You can refer the deepstream source code from the path below:
You can set the paramerters below to draw the text or not.
/** Boolean indicating whether text is to be drawn. */
gboolean draw_text;
/** Boolean indicating whether bounding is to be drawn. */
gboolean draw_bbox;
/** Boolean indicating whether instance mask is to be drawn. */
gboolean draw_mask;