HI @yuweiw
In this topic:- Query regarding nvds meta_type - #16 by ereshmittal5
I followed your approach and updated the DeepStream Python bindings in the following directories:
📁 bindings/docstrings/
Added:
nvdspreprocessmetadoc.h
nvdsroimetadoc.h
Modified:
nvdsmetadoc.h
📁 bindings/src/
bindnvds_roi_meta.cpp
bindnvdspreprocess_meta.cpp
bindnvdsmeta.cpp (extended)
📁 bindings/include/bind/
bindnvds_roi_meta.hpp
bindnvdspreprocess_meta.hpp
bindnvdsmeta.hpp (extended)
Other changes:
utils.hpp: Helpers for casting and metadata handling
pyds.cpp: Registered new bindings
docs/bindings_file_list.txt: Added the new files to the build list
What I’m Trying To Do
Build the .whl (Python wheel) using:
cd deepstream_python_apps/bindings
mkdir build && cd build
cmake ..
make
The Problem
While building, I’m getting multiple import or type reference errors during make. Examples:
Symbols not recognized from new .cpp or .hpp files
Unresolved references related to NvDsPreProcessBatchMeta
Some errors appear to be related to incorrect binding registrations or missing includes
Attachments
I’ve attached:
binding_files.zip (4.5 KB) (This is above topic we got )
deepstream_python_apps_action_changes.zip (7.7 MB) ( we make changes )
What I Need Help With
Can you please review if the changes are correct to extend pyds with new metadata types?
What are the required steps to correctly register new bindings in DeepStream 7.0's pyds?
How do I avoid or fix multiple symbol errors during the build?
Could you share a clean example or template for how NVIDIA recommends adding new metadata bindings?
Additional Notes
DeepStream Version: 7.0
Installed from: /opt/nvidia/deepstream/deepstream-7.0
Using existing v1.1.11 of pyds as base
I confirmed changes were applied cleanly; now just stuck during the final build steps
Any guidance, validation, or examples you could provide would be immensely helpful to unblock this.
Thanks so much in advance!
Best regards,
Debjit