while l_obj is not None:
# Casting l_obj.data to pyds.NvDsObjectMeta
obj_meta = pyds.NvDsObjectMeta.cast(l_obj.data)
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
obj_meta.rect_params.bg_color.red = 0.0
obj_meta.rect_params.bg_color.green = 0.0
obj_meta.rect_params.bg_color.blue = 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. */
/** Boolean indicating whether bounding is to be drawn. */
/** Boolean indicating whether instance mask is to be drawn. */
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.