How to add user_meta_data and draw image in python?

• Hardware Platform (Jetson / GPU) GTX2080
• DeepStream Version 5.0
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only) 440.100

I’m now trying to use deepstream in python

in deepstream-user-metadata-test
We get pointer in pool
Alloc Memory to store data
Set Copy and Release Function

How do we do the samething in python?

For drawing image
We can get frame image in deepstream-imagedata-multistream and store them
How do we modify image and display on Windows?

Hey Can you refer the deepstream-user-metadata-test and the method