Mediapipe.Net.Framework.Protobuf
0.8.9
See the version list below for details.
dotnet add package Mediapipe.Net.Framework.Protobuf --version 0.8.9
NuGet\Install-Package Mediapipe.Net.Framework.Protobuf -Version 0.8.9
<PackageReference Include="Mediapipe.Net.Framework.Protobuf" Version="0.8.9" />
paket add Mediapipe.Net.Framework.Protobuf --version 0.8.9
#r "nuget: Mediapipe.Net.Framework.Protobuf, 0.8.9"
// Install Mediapipe.Net.Framework.Protobuf as a Cake Addin #addin nuget:?package=Mediapipe.Net.Framework.Protobuf&version=0.8.9 // Install Mediapipe.Net.Framework.Protobuf as a Cake Tool #tool nuget:?package=Mediapipe.Net.Framework.Protobuf&version=0.8.9
MediaPipe.NET.Runtime
Native library package for MediaPipe.NET.
This is the first half of the port of MediaPipeUnityPlugin, in order to use MediaPipe on the latest .NET environment. The goal is to separate the actual C# bindings from the native library into 2 different workflows to increase productivity and efficiency. We think it will drastically improve maintainability as we'll be able to take better advantage of CI and other things like GitHub releases.
We take homuler's Mediapipe C API and building utilities almost completely as-is, use them to build a native Mediapipe library, and ship all libraries for different OSes into one Nuget native runtime package: Mediapipe.Net.Runtime
.
Since the workflow also generated C# Protobuf sources, we decided to also bundle them in their own Nuget package. This helps separating the source code from an auto-generated one, and also makes more sense when it comes to package releases.
A few key points to note:
- The namespace where all C# Protobuf sources belong is
Mediapipe.Net.Framework.Protobuf
, to match our MediaPipe.NET namespaces. - On Windows, the name of the native library is
mediapipe_c.dll
rather thanlibmediapipe_c.dll
as it makes more sense on Windows and helps avoiding confusion when making bindings to it. - Since the native library can be shipped in CPU and GPU version, we ship both in their individual Nuget package:
Mediapipe.Net.Runtime.CPU
andMediapipe.Net.Runtime.GPU
. Since Mediapipe only supports GPU computation on Linux as of now, it also means thatMediapipe.Net.Runtime.GPU
only bundles a Linux native library. - We changed the Bazel version from 4.2.1 (from MediaPipe 0.8.9 update) to 4.2.2.
- We considerably changed the
build.py
script to adapt for this workflow. For example, some things are not downloaded as they are only relevant in Unity, and options such as--protobuf
and--install
have bee added to better control the build process.
Build instructions
Coming soon!
While waiting, you can look at the MediaPipeUnityPlugin installation guide, as it already gives a very good indication on how to build the native libraries. Most if not every command there will also work here.
You can also check some of our CI files and look at the commands used for something more accurate but less commented.
License
This repository is licensed under the MIT license. See LICENSE for details.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Google.Protobuf (>= 3.19.1)
-
net6.0
- Google.Protobuf (>= 3.19.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Mediapipe.Net.Framework.Protobuf:
Package | Downloads |
---|---|
Mediapipe.Net
Pure .NET bindings for MediaPipe |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Mediapipe.Net.Framework.Protobuf:
Repository | Stars |
---|---|
maker-community/ElectronBot.DotNet
一个为ElectronBot机器人和瀚文键盘(HelloWorldKeyboard)开发的上位机软件(包含机器人USB操作SDK和瀚文键盘HID操作SDK),采用Windows App SDK框架编写界面。 A host computer software developed for ElectronBot robots (including robot USB operation SDK), using the Windows App SDK framework to write UI.
|
|
cosyneco/MediaPipe.NET
Pure .NET bindings for Google's MediaPipe.
|
Version | Downloads | Last updated | |
---|---|---|---|
1.0.0-alpha2 | 2,129 | 7/28/2022 | |
1.0.0-alpha1 | 711 | 7/26/2022 | |
0.9.1 | 1,924 | 3/9/2023 | |
0.9.1-mpu-0.9.1-20230214.1 | 378 | 2/14/2023 | |
0.9.1-mpu-0.9.1-20230214 | 129 | 2/14/2023 | |
0.8.9.1 | 1,104 | 3/21/2022 | |
0.8.9 | 2,098 | 1/8/2022 | |
0.8.9-rc1 | 588 | 1/8/2022 |