'How to use MediaPipe in C#?

I would like to use the Face Mesh application from Media Pipe in a C# project. As the library is not impemented in C#, I looked for solutions. I found that my face mesh model is saved in tflite but I don't know how to use it.

Is there a simple way to use a tflite model in C#? Or maybe a way to use directly MediaPipe in C#?

Thanks!



Solution 1:[1]

There is currently no way to directly use MediaPipe in a C# project.

You have 2 options:

  • Figure out what the MediaPipe pipeline is doing, do those operations yourself and run the tflite model(s) directly using something like emgutf

  • Wait for (or contribute towards) Vignette's wrapper

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 dbruning