Search code examples
c#tensorflow-litemediapipe

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

  • 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