cosyneco / MediaPipe.NET

Pure .NET bindings for Google's MediaPipe.
MIT License
97 stars 18 forks source link

Rewrite solutions #33

Closed Speykious closed 2 years ago

Speykious commented 2 years ago

This PR was originally intended to integrate side packets into our calculators, mainly in an attempt to fix the BlazePoseCalculator which seems to be very slow.

After further examination, it is best to rewrite solutions as they stand and instead approach it the way the official Python bindings for MediaPipe do it, thatis to use graphs from mediapipe/module/ directly instead of going through mediapipe/graphs/ and be obligated to deal with a video output.

Speykious commented 2 years ago

This PR is changing direction, see description edit

Speykious commented 2 years ago

All solutions work and the packet API has been completely refactored. We can now merge this. Note that while all solutions work, Hands and Pose are very slow on CPU. I postponed the ideas of any further redesign as the priority is now to put MediaPipe.NET up-to-date with MediaPipeUnityPlugin, since a lot has changed since we ported the project to .NET.