Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: TesseraktZero/UnityHandTrackingWithMediapipe
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.0.1
Choose a base ref
...
head repository: TesseraktZero/UnityHandTrackingWithMediapipe
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 5 commits
  • 2 files changed
  • 3 contributors

Commits on Sep 15, 2020

  1. Update README.md

    TesseraktZero committed Sep 15, 2020
    Copy the full SHA
    e5d549f View commit details
  2. Update README.md

    TesseraktZero committed Sep 15, 2020
    Copy the full SHA
    904a925 View commit details

Commits on Sep 29, 2020

  1. Update README.md

    TesseraktZero committed Sep 29, 2020
    Copy the full SHA
    61e8b83 View commit details

Commits on Dec 22, 2021

  1. Copy the full SHA
    d03adbc View commit details
  2. Merge pull request #12 from henryouly/master

    Fix updating the filter param of the right hand.
    TesseraktZero authored Dec 22, 2021
    Copy the full SHA
    efe2e9b View commit details
Showing with 14 additions and 8 deletions.
  1. +1 −1 Assets/Scipts/LandmarkInterface/LandmarkResultSet.cs
  2. +13 −7 README.md
2 changes: 1 addition & 1 deletion Assets/Scipts/LandmarkInterface/LandmarkResultSet.cs
Original file line number Diff line number Diff line change
@@ -59,7 +59,7 @@ private void Awake()
private void Update()
{
LeftHandFilter.UpdateFilterParameter(FilterTimeInterval, FilterNoise, DisplacementLimit);
LeftHandFilter.UpdateFilterParameter(FilterTimeInterval, FilterNoise, DisplacementLimit);
RightHandFilter.UpdateFilterParameter(FilterTimeInterval, FilterNoise, DisplacementLimit);
}

public void UpdateLandmark(LandmarkType landmarkType, NormalizedLandmarkList landmarkList)
20 changes: 13 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -14,16 +14,22 @@ It works by first detecting the hand landmarks by Mediapipe in Android, and then
* Unity with Android Build Support and Android SDK & NDK Tools (recommended with version 2019.4.6f1 or 2019.4.x)

## Installation
1. Ensure adb (Android Debug Bridge) is available in command. In environment variables 'PATH', add path of android sdk platform-tools. The path should have either of below patterns:
C:\Unity\2019.4.6f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools
C:\Users\user\AppData\Local\Android\Sdk\platform-tools
1. Enable Android Developer Mode and USB debugging in the mobile device. Connect the device with PC and allow permissions.

2. 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](https://github.com/TesseraktZero/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:

3. Install the "UnityHandTracking.apk" to the device:
`adb install UnityHandTracking.apk`
- `C:\Unity\2019.4.6f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\adb.exe`

4. Start and run the SampleScene in Unity project. This should automatically start the Android app and receive data from it.
- `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: