• Hardware Platform (Jetson / GPU)
Tesla T4
• DeepStream Version
Official DeepStream 6.2 Docker Image Devel.
I am using the latest available commit for the Python Bindings: 441b50da01779a2afacc60d40cd666d4bdde628e
• NVIDIA GPU Driver Version (valid for GPU only)
510.47.03
• Issue Type( questions, new requirements, bugs)
Bug
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
Code:
import pyds
batch_meta = pyds.nvds_create_batch_meta(max_batch_size=1)
obj_meta = pyds.nvds_acquire_obj_meta_from_pool(batch_meta)
obj_meta.obj_label = "truck"
print(obj_meta.obj_label)
obj_meta.obj_label = "car"
print(obj_meta.obj_label)
Output:
truck
carck
Temporary fix
obj_meta.obj_label = "car\0"
I guess the bindings are missing the end of string character.
Thank you!