Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.
/ Akihabara Public archive

A pure .NET port for Google Mediapipe, inspired of MediaPipeUnity.

License

Notifications You must be signed in to change notification settings

vignetteapp/Akihabara

Folders and files

NameName
Last commit message
Last commit date

Latest commit

07fe940 · Jan 18, 2022
Oct 15, 2021
Jan 5, 2022
Jan 5, 2022
Oct 11, 2021
Sep 16, 2021
Oct 14, 2021
Sep 17, 2021
Aug 9, 2021
Jun 30, 2021
Sep 18, 2021
Jan 18, 2022
Oct 8, 2021
Nov 2, 2021

Repository files navigation

Deprecation Note

This library has been superseded by MediaPipe.NET, which has a more cleaner take to the library. As such, MediaPipe.NET is a natural evolution from Akihabara's codebase and is much more predictable and maintainable. We will no longer provide maintenance to Akihabara.

Akihabara

Akihabara is Vignette's pure .NET port of Mediapipe, based on Junrou Nishida's MediaPipeUnity project.

Getting Started

Almost everything is done via the build.py script, so run this first. This will fetch the Mediapipe source, apply patches and finally compile the glue library + Mediapipe itself in one nifty small library. However, you will still need to do the dotnet side, which is just a matter of dotnet build after getting setup.py done.

Keep in mind Mediapipe supports both CPU and GPU so you will need to compile as such based on what you need:

If you want CPU (Recommended)

python3 build.py build --desktop cpu -vv

If you want GPU (Experimental, doesn't work yet!)

python3 build.py build --desktop gpu --vv

Prerequisites

  • Python 3.9 (We tried it with 3.8 but for some odd reason things were broken for this build. PRs welcome to fix this though!)
  • .NET 5.0 or .NET 6.0 LTS
  • GCC-9 (GCC-10 also works but not guranteed to work since Mediapipe uses a lot of deprecated syntax).
  • Bazel