Skip to content

Commit

Permalink
Bump to NatML 1.1.15
Browse files Browse the repository at this point in the history
  • Loading branch information
olokobayusuf committed Sep 21, 2023
1 parent 1e5e989 commit bbcae11
Show file tree
Hide file tree
Showing 18 changed files with 1,567 additions and 418 deletions.
621 changes: 311 additions & 310 deletions Assembly-CSharp.csproj

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Assets/BlazePalmSample.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
namespace NatML.Examples {

using UnityEngine;
using NatML.VideoKit;
using NatML.Vision;
using NatML.Visualizers;
using VideoKit;

public sealed class BlazePalmSample : MonoBehaviour {

Expand Down
2 changes: 1 addition & 1 deletion Assets/BlazePalmVisualizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ namespace NatML.Visualizers {
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.UI.Extensions;
using NatML.VideoKit.UI;
using NatML.Vision;
using VideoKit.UI;

/// <summary>
/// </summary>
Expand Down
3 changes: 3 additions & 0 deletions Packages/ai.natml.vision.blazepalm/Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 1.0.3
+ Upgraded to NatML 1.1.15.

## 1.0.2
+ Added `BlazePalmPredictor.Tag` constant string for embedding the edge model.
+ Upgraded to NatML 1.1.4.
Expand Down
6 changes: 3 additions & 3 deletions Packages/ai.natml.vision.blazepalm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ Add the following items to your Unity project's `Packages/manifest.json`:
{
"name": "NatML",
"url": "https://registry.npmjs.com",
"scopes": ["ai.natml"]
"scopes": ["ai.fxn", "ai.natml"]
}
],
"dependencies": {
"ai.natml.vision.blazepalm": "1.0.2"
"ai.natml.vision.blazepalm": "1.0.3"
}
}
```
Expand All @@ -35,7 +35,7 @@ BlazePalmPredictor.Hand[] hands = pipeline.Predict(image);
___

## Requirements
- Unity 2021.2+
- Unity 2022.3+

## Quick Tips
- Join the [NatML community on Discord](https://natml.ai/community).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "NatML.Vision.BlazePalm",
"references": [
"NatML.ML",
"NatML.Runtime",
"NatML.Vision.BlazePalm.Detector"
],
"includePlatforms": [
Expand Down
10 changes: 5 additions & 5 deletions Packages/ai.natml.vision.blazepalm/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "ai.natml.vision.blazepalm",
"version": "1.0.2",
"version": "1.0.3",
"displayName": "BlazePalm",
"description": "Palm landmark prediction with MediaPipe Hands in Unity Engine.",
"unity": "2021.2",
"unity": "2022.3",
"dependencies": {
"ai.natml.natml": "1.1.4",
"ai.natml.vision.blazepalm.detector": "1.0.1"
"ai.natml.natml": "1.1.15",
"ai.natml.vision.blazepalm.detector": "1.0.2"
},
"keywords": [
"natml",
Expand All @@ -24,5 +24,5 @@
"url": "https://github.com/natmlx"
},
"license": "Apache-2.0",
"repository": "github:natmlx/blazepalm"
"repository": "github:natmlx/blazepalm-unity"
}
14 changes: 8 additions & 6 deletions Packages/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"name": "NatML",
"url": "https://registry.npmjs.com",
"scopes": [
"ai.fxn",
"ai.natml"
]
},
Expand All @@ -16,15 +17,16 @@
}
],
"dependencies": {
"ai.natml.videokit": "0.0.12",
"com.unity.collab-proxy": "1.17.7",
"ai.natml.videokit": "0.0.14",
"com.unity.ai.navigation": "1.1.4",
"com.unity.collab-proxy": "2.0.5",
"com.unity.feature.development": "1.0.1",
"com.unity.ide.rider": "3.0.18",
"com.unity.ide.visualstudio": "2.0.17",
"com.unity.ide.rider": "3.0.24",
"com.unity.ide.visualstudio": "2.0.18",
"com.unity.ide.vscode": "1.2.5",
"com.unity.test-framework": "1.1.31",
"com.unity.test-framework": "1.1.33",
"com.unity.textmeshpro": "3.0.6",
"com.unity.timeline": "1.6.4",
"com.unity.timeline": "1.7.5",
"com.unity.ugui": "1.0.0",
"com.unity.uiextensions": "2.2.7",
"com.unity.visualscripting": "1.8.0",
Expand Down
113 changes: 35 additions & 78 deletions Packages/packages-lock.json
Original file line number Diff line number Diff line change
@@ -1,58 +1,30 @@
{
"dependencies": {
"ai.natml.hub": {
"version": "1.0.20",
"depth": 2,
"source": "registry",
"dependencies": {},
"url": "https://registry.npmjs.com"
},
"ai.natml.natcorder": {
"version": "1.9.4",
"depth": 1,
"source": "registry",
"dependencies": {
"ai.natml.hub": "1.0.20"
},
"url": "https://registry.npmjs.com"
},
"ai.natml.natdevice": {
"version": "1.3.3",
"ai.fxn.fxn3d": {
"version": "0.0.4",
"depth": 1,
"source": "registry",
"dependencies": {
"ai.natml.hub": "1.0.20"
"com.unity.nuget.newtonsoft-json": "3.2.1"
},
"url": "https://registry.npmjs.com"
},
"ai.natml.natml": {
"version": "1.1.4",
"version": "1.1.15",
"depth": 1,
"source": "registry",
"dependencies": {
"ai.natml.hub": "1.0.20",
"com.unity.nuget.newtonsoft-json": "3.1.0"
},
"url": "https://registry.npmjs.com"
},
"ai.natml.natshare": {
"version": "1.3.0",
"depth": 1,
"source": "registry",
"dependencies": {
"ai.natml.hub": "1.0.12"
"com.unity.nuget.newtonsoft-json": "3.2.1"
},
"url": "https://registry.npmjs.com"
},
"ai.natml.videokit": {
"version": "0.0.12",
"version": "0.0.14",
"depth": 0,
"source": "registry",
"dependencies": {
"ai.natml.natml": "1.1.4",
"ai.natml.natcorder": "1.9.4",
"ai.natml.natdevice": "1.3.3",
"ai.natml.natshare": "1.3.0"
"ai.natml.natml": "1.1.15",
"ai.fxn.fxn3d": "0.0.4"
},
"url": "https://registry.npmjs.com"
},
Expand All @@ -61,28 +33,35 @@
"depth": 0,
"source": "embedded",
"dependencies": {
"ai.natml.natml": "1.1.4",
"ai.natml.vision.blazepalm.detector": "1.0.1"
"ai.natml.natml": "1.1.15",
"ai.natml.vision.blazepalm.detector": "1.0.2"
}
},
"ai.natml.vision.blazepalm.detector": {
"version": "1.0.1",
"version": "1.0.2",
"depth": 1,
"source": "registry",
"dependencies": {
"ai.natml.natml": "1.1.3"
"ai.natml.natml": "1.1.15"
},
"url": "https://registry.npmjs.com"
},
"com.unity.collab-proxy": {
"version": "1.17.7",
"com.unity.ai.navigation": {
"version": "1.1.4",
"depth": 0,
"source": "registry",
"dependencies": {
"com.unity.services.core": "1.0.1"
"com.unity.modules.ai": "1.0.0"
},
"url": "https://packages.unity.com"
},
"com.unity.collab-proxy": {
"version": "2.0.5",
"depth": 0,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.editorcoroutines": {
"version": "1.0.0",
"depth": 1,
Expand All @@ -102,17 +81,17 @@
"depth": 0,
"source": "builtin",
"dependencies": {
"com.unity.ide.visualstudio": "2.0.17",
"com.unity.ide.rider": "3.0.18",
"com.unity.ide.visualstudio": "2.0.18",
"com.unity.ide.rider": "3.0.24",
"com.unity.ide.vscode": "1.2.5",
"com.unity.editorcoroutines": "1.0.0",
"com.unity.performance.profile-analyzer": "1.1.1",
"com.unity.test-framework": "1.1.31",
"com.unity.testtools.codecoverage": "1.2.2"
"com.unity.performance.profile-analyzer": "1.2.2",
"com.unity.test-framework": "1.1.33",
"com.unity.testtools.codecoverage": "1.2.4"
}
},
"com.unity.ide.rider": {
"version": "3.0.18",
"version": "3.0.24",
"depth": 0,
"source": "registry",
"dependencies": {
Expand All @@ -121,7 +100,7 @@
"url": "https://packages.unity.com"
},
"com.unity.ide.visualstudio": {
"version": "2.0.17",
"version": "2.0.18",
"depth": 0,
"source": "registry",
"dependencies": {
Expand All @@ -137,39 +116,28 @@
"url": "https://packages.unity.com"
},
"com.unity.nuget.newtonsoft-json": {
"version": "3.1.0",
"version": "3.2.1",
"depth": 2,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.performance.profile-analyzer": {
"version": "1.1.1",
"version": "1.2.2",
"depth": 1,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.services.core": {
"version": "1.7.0",
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.modules.unitywebrequest": "1.0.0",
"com.unity.nuget.newtonsoft-json": "3.0.2",
"com.unity.modules.androidjni": "1.0.0"
},
"url": "https://packages.unity.com"
},
"com.unity.settings-manager": {
"version": "1.0.3",
"version": "2.0.1",
"depth": 2,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.test-framework": {
"version": "1.1.31",
"version": "1.1.33",
"depth": 0,
"source": "registry",
"dependencies": {
Expand All @@ -180,7 +148,7 @@
"url": "https://packages.unity.com"
},
"com.unity.testtools.codecoverage": {
"version": "1.2.2",
"version": "1.2.4",
"depth": 1,
"source": "registry",
"dependencies": {
Expand All @@ -199,7 +167,7 @@
"url": "https://packages.unity.com"
},
"com.unity.timeline": {
"version": "1.6.4",
"version": "1.7.5",
"depth": 0,
"source": "registry",
"dependencies": {
Expand Down Expand Up @@ -368,17 +336,6 @@
"version": "1.0.0",
"depth": 0,
"source": "builtin",
"dependencies": {
"com.unity.modules.ui": "1.0.0",
"com.unity.modules.imgui": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0",
"com.unity.modules.uielementsnative": "1.0.0"
}
},
"com.unity.modules.uielementsnative": {
"version": "1.0.0",
"depth": 1,
"source": "builtin",
"dependencies": {
"com.unity.modules.ui": "1.0.0",
"com.unity.modules.imgui": "1.0.0",
Expand Down
7 changes: 4 additions & 3 deletions ProjectSettings/PackageManagerSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_EnablePreReleasePackages: 0
m_EnablePackageDependencies: 0
m_AdvancedSettingsExpanded: 1
m_ScopedRegistriesSettingsExpanded: 1
m_SeeAllPackageVersions: 0
m_DismissPreviewPackagesInUse: 0
oneTimeWarningShown: 0
m_Registries:
- m_Id: main
Expand All @@ -30,6 +30,7 @@ MonoBehaviour:
m_Name: NatML
m_Url: https://registry.npmjs.com
m_Scopes:
- ai.fxn
- ai.natml
m_IsDefault: 0
m_Capabilities: 0
Expand All @@ -47,6 +48,6 @@ MonoBehaviour:
m_RegistryInfoDraft:
m_Modified: 0
m_ErrorMessage:
m_UserModificationsInstanceId: -846
m_OriginalInstanceId: -850
m_UserModificationsInstanceId: -838
m_OriginalInstanceId: -842
m_LoadAssets: 0
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{
"m_Name": "Settings",
"m_Path": "ProjectSettings/Packages/com.unity.testtools.codecoverage/Settings.json",
"m_Dictionary": {
"m_DictionaryValues": []
}
Expand Down
4 changes: 2 additions & 2 deletions ProjectSettings/ProjectVersion.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
m_EditorVersion: 2021.3.17f1
m_EditorVersionWithRevision: 2021.3.17f1 (3e8111cac19d)
m_EditorVersion: 2022.3.5f1
m_EditorVersionWithRevision: 2022.3.5f1 (9674261d40ee)
Empty file removed ProjectSettings/boot.config
Empty file.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ Palm landmark prediction with MediaPipe Hands in Unity Engine.
## Running the Sample
Retrieve your access key from [NatML Hub](https://hub.natml.ai/profile) and add it to your Project Settings:

![project settings](https://github.com/natmlx/NatDevice/raw/main/.media/key.png)
![project settings](https://github.com/natmlx/videokit/raw/main/Media/set-access-key.gif)

## Using the Predictor in a Different Project
[See the predictor README for more details](Packages/ai.natml.vision.blazepalm/README.md).

## Requirements
- Unity 2021.2+
- Unity 2022.3+

## Supported Platforms
- Android API level 24+
Expand Down
Loading

0 comments on commit bbcae11

Please sign in to comment.