cosyneco / MediaPipe.NET

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

Refactor resource provider #27

Closed Speykious closed 2 years ago

Speykious commented 2 years ago

This is the final PR before we finally release MediaPipe.NET in a Nuget package. It will let us customize how we manage our resources. I provided an example DummyResourceManager in the FaceMesh example.

Note: I'd like to use a Span<byte> ideally instead of a byte[] as @LeNitrous requested, but it segfaulted unfortunately. I may have coded that wrong and need to change more things in order for it to work. I'll experiment with this a bit later today.