Closed pfabreu closed 6 years ago
Hello,
In the current version there is no way to do that (since i never needed it, i did not provision for it, sorry) you will have to right a proper destructor for OpenPoseWrapper to free all OP resources.
Out of curiosity, which member of OpenPoseWrapper would need special handling in the destructor? It seems to me that everything should be destroyed automatically as import members are inside a shared_ptr.
How could I delete the OpenPose wrapper object and effectively free memory and then recreate another one? I need to parse different sized videos in a loop.