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.
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 theFaceMesh
example.Note: I'd like to use a
Span<byte>
ideally instead of abyte[]
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.Span<byte>
instead ofbyte[]