I am running a custom secondary model that needs to attach a Python dictionary to an object metadata
NvDsObjectMeta. What is the suggested way to do this? Is there any workaround? I thought about a few solutions but they don’t seem to be right.
- I was thinking about using the
obj_meta.obj_user_meta_listbut this does not seem like a good idea as secondary models will output their output tensor there. Any other place? Even if I could use the
user_meta_listhow can I allocate an object
NvDsUserMetaso that the memory is owned by C++? There’s no method
- I also looked for a way to create custom objects to attach to msg meta but there is no complete documentation on how to do it and I don’t know C++ very well How to use pyds with custom Object classes?
Any other idea?