Mediapipe.Net
0.8.10
See the version list below for details.
dotnet add package Mediapipe.Net --version 0.8.10
NuGet\Install-Package Mediapipe.Net -Version 0.8.10
<PackageReference Include="Mediapipe.Net" Version="0.8.10" />
paket add Mediapipe.Net --version 0.8.10
#r "nuget: Mediapipe.Net, 0.8.10"
// Install Mediapipe.Net as a Cake Addin #addin nuget:?package=Mediapipe.Net&version=0.8.10 // Install Mediapipe.Net as a Cake Tool #tool nuget:?package=Mediapipe.Net&version=0.8.10
MediaPipe.NET
Bringing the best of MediaPipe to the .NET ecosystem! Based on MediaPipeUnity, MediaPipe.NET brings Google's MediaPipe into the .NET ecosystem in its fullest.
Installation
You may install via NuGet (not yet released):
dotnet add --project <Project> Mediapipe.Net
Since this library is mapping off native methods from MediaPipe to the CLR realm, the runtime is not explicitly included in the NuGet package or in this repository. Interested parties who may want to head to the MediaPipe.NET.Runtime repository, where the native code resides.
However, if you just want things to work, You will want to use MediaPipe.Net.Runtime
, you have the option of using CPU or GPU:
$ dotnet add --project <Project> Mediapipe.Net.Runtime.Gpu # if you want to use GPU
$ dotnet add --project <Project> Mediapipe.Net.Runtime.Cpu # if you want to use CPU
⚠️ NOTE ⚠️ : Certain features may not work at the moment in GPU, please consult the compatibility matrix.
Compatibility Matrix
We share the same compatibility matrix with MediaPipeUnityPlugin, so this will change depending on whichever party implements what's missing.
Linux (x86_64) | macOS (x86_64) | macOS (ARM64) | Windows (x86_64) | Android | iOS | |
---|---|---|---|---|---|---|
Linux (AMD64) [^1] | ✔️ | ✔️ | ||||
Intel Mac | ✔️ | ✔️ | ✔️ | |||
M1 Mac [^2] | ✔️ | ✔️ | ✔️ | |||
Windows 10 (AMD64) [^3][^4] | ✔️ | ✔️ | ✔️ |
[^1]: Tested on Arch Linux. [^2]: Experimental, because MediaPipe does not support M1 Mac. [^3]: Windows 11 will be also OK. [^4]: Running MediaPipe on Windows is experimental.
Examples
Coming soon!
Copyright
MediaPipe.NET is Copyright © The Vignette Authors, Licensed under MIT. Parts of this code is based on MediaPipeUnity, Copyright © homuler, Licensed under MIT.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Google.Protobuf (>= 3.19.4)
- Mediapipe.Net.Framework.Protobuf (>= 0.8.9)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Mediapipe.Net:
Package | Downloads |
---|---|
OpenSense.Components.LibreFace
LibreFace component of OpenSense. This package uses CUDA, build options are available if you build from source. |
|
Moetion
A solver library for tracking solutions. |
|
OpenSense.Components.MediaPipe.NET
Mediapipe.NET component of OpenSense. This package uses the CPU runtime, if you want to use other runtimes, please compile from source. The face_detection and face_landmark models are included for convenience. |
GitHub repositories
This package is not used by any popular GitHub repositories.