Python deepstream6.1 How do I hide or remove a tag?

while l_obj is not None:
# Casting to pyds.NvDsObjectMeta
obj_meta = pyds.NvDsObjectMeta.cast(
except StopIteration:
obj_counter[obj_meta.class_id] += 1
if (obj_meta.class_id == 0):
obj_meta.rect_params.border_width = 0
obj_meta.rect_params.has_bg_color = 1 = 0.0 = 0.0 = 0.0
obj_meta.rect_params.bg_color.alpha = 0.0

With this code, I can modify the border, or I can remove the border. How do I remove tag text ?

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;