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 ?

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.

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;

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.