• Hardware Platform: dGPU
• DeepStream Version: 5.0
• TensorRT Version: 7.0.0-1+cuda10.2
• NVIDIA GPU Driver Version: 465.19.01
Hello,
I am trying to create python bindings for deepstream’s smart recording feature,
this is the first time I am using pybindings11 and also never worked much on c++ so probably I am doing something wrong here… I am able to create a .so file with the functions used in the example of deepstream_test_sr_app.c in deepstream5.1 (I am currently using deepstream5.0) I am able to the .so file but getting the following error while trying to import that package ie. ImportError:path_to_the_so/pyds_nvdssr.so: undefined symbol: NvDsSRCreate
Also, this line NvDsSRStatus NvDsSRCreate (NvDsSRContext **ctx, NvDsSRInitParams *params); in gst-nvdssr.h was giving me error for the double pointer which I removed by changing it to NvDsSRStatus NvDsSRCreate (NvDsSRContext *ctx, NvDsSRInitParams *params);
looking forward to hearing from you …
Regards,
Isaac