All Projects → TesseraktZero → UnityHandTrackingWithMediapipe

TesseraktZero / UnityHandTrackingWithMediapipe

Licence: Apache-2.0 License
Realtime hand tracking and finger tracking in Unity using Mediapipe

Programming Languages

C#
18002 projects
ShaderLab
938 projects

Projects that are alternatives of or similar to UnityHandTrackingWithMediapipe

depthai hand tracker
Running Google Mediapipe Hand Tracking models on Luxonis DepthAI hardware (OAK-D-lite, OAK-D, OAK-1,...)
Stars: ✭ 284 (+120.16%)
Mutual labels:  hand-tracking, mediapipe
VSDK-Unity
VSDK is an XR software development kit that enables developers to quickly build XR experiences through systems for naturalistic user interactions and support across a wide variety of XR devices and peripherals. VSDK is available for Unity 3D and for Unreal Engine.
Stars: ✭ 26 (-79.84%)
Mutual labels:  vr, hand-tracking
UnityPlugin
Ultraleap SDK for Unity.
Stars: ✭ 447 (+246.51%)
Mutual labels:  vr, hand-tracking
Streamlit-Applications
Deep Learning and Computer Vision Applications using Streamlit
Stars: ✭ 55 (-57.36%)
Mutual labels:  vr, mediapipe
mediapipe-osc
MediaPipe examples which stream their detections over OSC.
Stars: ✭ 26 (-79.84%)
Mutual labels:  hand-tracking, mediapipe
OpenXRHandTracking
OpenXR API layer enabling XR_EXT_hand_tracking support using Ultraleap tracking
Stars: ✭ 38 (-70.54%)
Mutual labels:  vr, hand-tracking
ue4-mediapipe-plugin
UE4 MediaPipe plugin
Stars: ✭ 159 (+23.26%)
Mutual labels:  hand-tracking, mediapipe
VRMocap
A SteamVR powered mocap solution for Unreal Engine
Stars: ✭ 88 (-31.78%)
Mutual labels:  vr, vtuber
fip-elite
Information Display for Logitech Flight Instrument Panel and for VR for Elite Dangerous
Stars: ✭ 32 (-75.19%)
Mutual labels:  vr
EasyOpenVRUtil
EasyOpenVRUtilは、Steam VR for Unityのちょっと足りないところを埋め合わせるためのライブラリです。特に、コントローラやトラッカーの座標を直接取得したり、非VRだけど位置情報は使いたいといった用途に向いています。その他あると便利な機能も実装しています。
Stars: ✭ 37 (-71.32%)
Mutual labels:  vr
StereoKit-PaintTutorial
Source for a Mixed Reality inking tutorial using StereoKit and C#!
Stars: ✭ 20 (-84.5%)
Mutual labels:  vr
PhoneVR
Use Steam VR-enabled applications with your phone as HMD (Head-mounted display). The only Open-Source solution to similar commercial packages like VRidge, iVRy, Trinus etc etc.
Stars: ✭ 178 (+37.98%)
Mutual labels:  vr
opengloves-ui
OpenGloves UI
Stars: ✭ 34 (-73.64%)
Mutual labels:  vr
DeepVTB
🌌 OpenVTuber-虚拟アイドル共享计划 An application of real-time face and gaze analyzation via deep nerual networks.
Stars: ✭ 32 (-75.19%)
Mutual labels:  vtuber
BoxVR-Playlist-Manager
A Windows based playlist manager for the VR fitness game BoxVR
Stars: ✭ 17 (-86.82%)
Mutual labels:  vr
spark-ar-creators
List of 9500 (and counting) Spark AR Creators. Open an issue or contact me if you want to be added.❤️
Stars: ✭ 122 (-5.43%)
Mutual labels:  vr
VR-for-VLC
VR for VLC base on HoloLens ,3D video player ,VR on Hololens
Stars: ✭ 21 (-83.72%)
Mutual labels:  vr
yoha
A practical hand tracking engine.
Stars: ✭ 1,762 (+1265.89%)
Mutual labels:  hand-tracking
app
Web metaverse client
Stars: ✭ 115 (-10.85%)
Mutual labels:  vr
HoloLensWithDlibFaceLandmarkDetectorExample
HoloLens With DlibFaceLandmarkDetector Example
Stars: ✭ 19 (-85.27%)
Mutual labels:  vtuber

Unity Hand Tracking with Mediapipe

This is a demo of realtime hand tracking and finger tracking in Unity using Mediapipe.

The tracking section is built on Android but a similar approach should also be applicable for desktop or IOS.

It works by first detecting the hand landmarks by Mediapipe in Android, and then sending the results to PC via adb and protobuf, and finally interpreting the results in PC Unity.

Hand Landmark Demo Model Demo

Prerequisites

  • Windows 10 PC recommended
  • Android mobile device (recommended with Android version 8.0 or above)
  • Unity with Android Build Support and Android SDK & NDK Tools (recommended with version 2019.4.6f1 or 2019.4.x)

Installation

  1. Enable Android Developer Mode and USB debugging in the mobile device. Connect the device with PC and allow permissions.

  2. Install the "UnityHandTracking.apk" to the device: drag and drop the apk into device and click the apk in the device's FileManager , or by command: adb install UnityHandTracking.apk. A built version of apk is included in release. The source code of the apk is available in mediapipe_multi_hands_tracking_aar_unity.

  3. Open the SampleScene in Unity project. In the scene, navigate to unitychan>HandLandmarkAndRigs>HandLandmarkSet. Update the Adb Path according to point to local adb which installed along with Unity Android Build Support. The path should have patterns similar to one of the belows:

    • C:\Unity\2019.4.6f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\adb.exe

    • C:\Users\user\AppData\Local\Android\Sdk\platform-tools\adb.exe

  4. Start the SampleScene in Unity project. This should automatically start the Android app and receive data from it.

  5. Hold the device vertically and capture both hands for best tracking.

Customization

To apply hand tracking on your own avatar, follow the below steps:

  1. Setup Animtaion Rigging on the model:

    • Add Prefab HandLandmarkAndRigs as child of the model. Add component Rig Builder to the model. In the Rig Layers of Rig Builder, add the four rigs located under HandLandmarkAndRigs/Rigs (LeftHandRig, LeftFingerRig, RightHandRig, RightFingerRig).
    • In the four Hand Rigs, reassign the Root and Tip bones based on your model armature. Refer to the sample scene for details.
    • For each of the Hand Rigs, align their transform with the Tip transform. To do so, select that object and hold control select object assign in Tip. Then, navigate to menu: Animation Rigging -> Align Transform
  2. Adjust the position and rotation of the prefab HandLandmarkSet to fit with the model.

License

This project is under Apache License 2.0.

Third party assets used in this project are under their own licenses which can be found in corresponding asset folders.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].