[1]
I’m thinking of implementing that function myself with Pybind11. However, I feel that it will not be easy.
So here’s the question. Is it possible for individuals/organizations to implement Python bindings for Smart Records with the current version of Deepstream (v6.2) ?
I’m having difficulty implementing the following callback in particular.
typedef struct NvDsSRInitParams
{
/** callback function gets called once recording is complete */
NvDsSRCallbackFunc callback;
...
};
} NvDsSRInitParams;
[2]
Also, when do you plan to provide the Python version of Deepstream Smart Record?
Let me know if there is an instructions or a sample of how to implement when the structs element has a callback function like the following:
typedef struct NvDsSRInitParams
{
/** callback function gets called once recording is complete */
NvDsSRCallbackFunc callback;
...
};
} NvDsSRInitParams;
Since the callback is defined in c structure, so you need to implement the callback with c/c++, and binding them into python. Please refer to Python resources for more details.
There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks
In my case deep stream test-5 smart it does not store event based instead of that it storing whole video and if i give a duration of the smart record it is storing continuously.