takuya-takeuchi / OpenPoseDotNet

OpenPose wrapper written in C++ and C# for Windows
MIT License
66 stars 25 forks source link

OpenPoseObject's unmanaged Dispose leaks #5

Open takuya-takeuchi opened 5 years ago

takuya-takeuchi commented 5 years ago

Same issue

https://github.com/takuya-takeuchi/DlibDotNet/issues/92

takuya-takeuchi commented 5 years ago

It should not be fixed. Because .net garbage collector collect OpenPoseObject and it may dispose unmanaged object. It means that AccessViolation may occur.

bruce987 commented 4 years ago

@takuya-takeuchi

I was revisiting your site to see if there was any new issues and came across this. I've been working with OpenPoseDotNet for awhile now. I'm capturing live video feed of the hand and trying to determine direction. Anyway, if I move my hand into the webcam to adjust it I get an access violation every time. I have a secondary camera on a tripod. I'm just reporting this issue to let you know it does happen on a regular basis.

image

takuya-takeuchi commented 4 years ago

@bruce987 I transfer your issue to #15. This issue is not access violation but memory leak. Thanks.