Hello,
I have a program in Delphi that gets the stream from a camera managed in Python.
I get the camera image using the following function GetPythonEngine.PyBytes_AsStringAndSize(camera.ValueObject,P,Len);
And I notice that there is a memory leak every time this function is called.
Specifically with the function GetPythonEngine.PyBytes_Check(camera.ValueObject); which is used by PyBytes_AsStringAndSize
Is anyone observing the same thing?
How can I solve the problem? Is there any other way to get the address and size of the camera variable?