Deepstream pyds.NvDsObjectMeta.cast(data) doesn't have propertydetector_bbox_info

Hello, Does any one know my problem? I’m using:


  • Jetson Xavier NX
  • Deepstream 5.0
  • Deepstream python sample custom
  • TensoRT 7.1.3

When i using python with deepstream and yolov4 it was running fine and i start to take class_id, confidence of the object but when i start to take the property detector_bbox_info the terminal said that my NvDsObjectMeta have no attribute detector_bbox_info.
When i use struct.dir my NvDsObjectMeta.cast(data) it return this. But in the document from NVIDIA, there are detector_bbox_info ->
[‘class’, ‘delattr’, ‘dir’, ‘doc’, ‘eq’, ‘format’, ‘ge’, ‘getattribute’, ‘gt’, ‘hash’, ‘init’, ‘init_subclass’, ‘le’, ‘lt’, ‘module’, ‘ne’, ‘new’, ‘reduce’, ‘reduce_ex’, ‘repr’, ‘setattr’, ‘sizeof’, ‘str’, ‘subclasshook’, ‘base_meta’, ‘cast’, ‘class_id’, ‘classifier_meta_list’, ‘confidence’, ‘misc_obj_info’, ‘obj_label’, ‘obj_user_meta_list’, ‘object_id’, ‘parent’, ‘rect_params’, ‘reserved’, ‘text_params’, ‘unique_component_id’]
Please help me! thank you

I found another way to get coordinate of detected object by using rect_params.* which ‘*’ is left, top, width or height.
Thank you