Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pose LandMark: Unmanaged Code #59

Closed
GuillaumeWillefert opened this issue Jul 11, 2023 · 1 comment
Closed

Pose LandMark: Unmanaged Code #59

GuillaumeWillefert opened this issue Jul 11, 2023 · 1 comment

Comments

@GuillaumeWillefert
Copy link

GuillaumeWillefert commented Jul 11, 2023

Hi, when i tried to use the CalculatorGraph using this pbtxt:
https://github.com/google/mediapipe/blob/master/mediapipe/modules/pose_landmark/pose_landmark_cpu.pbtxt

I got this problem:

Mediapipe.Net.Core.MediapipeNetException: Exception is thrown in Unmanaged Code
   at Mediapipe.Net.Native.MpReturnCodeExtension.Assert(MpReturnCode code)
   at Mediapipe.Net.Framework.Port.StatusOrPoller`1.Value()
   at PoseTracking.PosesSystem.Call(BitmapSource frame) in [...]\PoseTracking\PosesSystem.cs:line 59

At the line:

OutputStreamPoller<NormalizedLandmarkList> poller = graph.AddOutputStreamPoller<NormalizedLandmarkList>("LANDMARKS").Value();

On:
Working on a WPF Project, with MediaPipe.NET and MediaPipe.NET.Runtime.CPU on Any CPU.

I post rarely issue and i am not sure if i have write like intended.

The file if needed: (Seen than the error can be related on the wrong line, but no solution)
PosesSystem.txt

@GuillaumeWillefert
Copy link
Author

Found the problem related than i have not download the .tflile from google.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant