diff --git a/Packages/ai.natml.vision.mobilenet-v2/Changelog.md b/Packages/ai.natml.vision.mobilenet-v2/Changelog.md index 35b3857..6bfd6c5 100644 --- a/Packages/ai.natml.vision.mobilenet-v2/Changelog.md +++ b/Packages/ai.natml.vision.mobilenet-v2/Changelog.md @@ -1,3 +1,7 @@ +## 1.0.3 ++ Added `MobileNetv2Predictor.Tag` constant string to enable model embedding. ++ Upgraded to NatML 1.1.4. + ## 1.0.2 + Added `MobileNetv2Predictor.Create` static method for creating the predictor. + Removed public `MobileNetv2Predictor` constructor. diff --git a/Packages/ai.natml.vision.mobilenet-v2/LICENSE.md b/Packages/ai.natml.vision.mobilenet-v2/LICENSE.md index 7940e66..4135f83 100644 --- a/Packages/ai.natml.vision.mobilenet-v2/LICENSE.md +++ b/Packages/ai.natml.vision.mobilenet-v2/LICENSE.md @@ -1,6 +1,6 @@ The MIT License -Copyright (c) 2022 NatML Inc. All Rights Reserved. +Copyright © 2023 NatML Inc. All Rights Reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Packages/ai.natml.vision.mobilenet-v2/README.md b/Packages/ai.natml.vision.mobilenet-v2/README.md index f41587f..46326c4 100644 --- a/Packages/ai.natml.vision.mobilenet-v2/README.md +++ b/Packages/ai.natml.vision.mobilenet-v2/README.md @@ -13,7 +13,7 @@ Add the following items to your Unity project's `Packages/manifest.json`: } ], "dependencies": { - "ai.natml.vision.mobilenet-v2": "1.0.2" + "ai.natml.vision.mobilenet-v2": "1.0.3" } } ``` diff --git a/Packages/ai.natml.vision.mobilenet-v2/Runtime/MobileNetv2Predictor.cs b/Packages/ai.natml.vision.mobilenet-v2/Runtime/MobileNetv2Predictor.cs index fdcc624..e9ca560 100644 --- a/Packages/ai.natml.vision.mobilenet-v2/Runtime/MobileNetv2Predictor.cs +++ b/Packages/ai.natml.vision.mobilenet-v2/Runtime/MobileNetv2Predictor.cs @@ -17,7 +17,7 @@ namespace NatML.Vision { /// public sealed class MobileNetv2Predictor : IMLPredictor { - #region --Client API-- + #region --Types-- /// /// Class label with confidence score. /// @@ -38,6 +38,14 @@ public void Deconstruct (out string label, out float confidence) { confidence = this.confidence; } } + #endregion + + + #region --Client API-- + /// + /// Predictor tag. + /// + public const string Tag = "@natsuite/mobilenet-v2"; /// /// Classify an image. @@ -78,7 +86,7 @@ public static async Task Create ( MLEdgeModel.Configuration configuration = null, string accessKey = null ) { - var model = await MLEdgeModel.Create("@natsuite/mobilenet-v2", configuration, accessKey); + var model = await MLEdgeModel.Create(Tag, configuration, accessKey); var predictor = new MobileNetv2Predictor(model); return predictor; } diff --git a/Packages/ai.natml.vision.mobilenet-v2/package.json b/Packages/ai.natml.vision.mobilenet-v2/package.json index 736eb9a..2b2d25a 100644 --- a/Packages/ai.natml.vision.mobilenet-v2/package.json +++ b/Packages/ai.natml.vision.mobilenet-v2/package.json @@ -1,11 +1,11 @@ { "name": "ai.natml.vision.mobilenet-v2", - "version": "1.0.2", + "version": "1.0.3", "displayName": "MobileNet v2", "description": "Realtime image classification in Unity Engine.", "unity": "2021.2", "dependencies": { - "ai.natml.natml": "1.1.3" + "ai.natml.natml": "1.1.4" }, "keywords": [ "natml", @@ -20,5 +20,5 @@ "url": "https://github.com/natmlx" }, "license": "MIT", - "repository": "github:natml-hub/MobileNet-v2" + "repository": "github:natmlx/mobilenet-v2-unity" } \ No newline at end of file diff --git a/Packages/manifest.json b/Packages/manifest.json index afdd3d8..40b77b7 100644 --- a/Packages/manifest.json +++ b/Packages/manifest.json @@ -9,7 +9,7 @@ } ], "dependencies": { - "ai.natml.videokit": "0.0.11", + "ai.natml.videokit": "0.0.12", "com.unity.collab-proxy": "1.17.7", "com.unity.feature.development": "1.0.1", "com.unity.ide.rider": "3.0.18", diff --git a/Packages/packages-lock.json b/Packages/packages-lock.json index 02cde55..5b49ef5 100644 --- a/Packages/packages-lock.json +++ b/Packages/packages-lock.json @@ -2,7 +2,7 @@ "dependencies": { "ai.natml.hub": { "version": "1.0.20", - "depth": 1, + "depth": 2, "source": "registry", "dependencies": {}, "url": "https://registry.npmjs.com" @@ -26,11 +26,12 @@ "url": "https://registry.npmjs.com" }, "ai.natml.natml": { - "version": "1.1.3", + "version": "1.1.4", "depth": 1, "source": "registry", "dependencies": { - "ai.natml.hub": "1.0.20" + "ai.natml.hub": "1.0.20", + "com.unity.nuget.newtonsoft-json": "3.1.0" }, "url": "https://registry.npmjs.com" }, @@ -44,12 +45,11 @@ "url": "https://registry.npmjs.com" }, "ai.natml.videokit": { - "version": "0.0.11", + "version": "0.0.12", "depth": 0, "source": "registry", "dependencies": { - "ai.natml.hub": "1.0.20", - "ai.natml.natml": "1.1.3", + "ai.natml.natml": "1.1.4", "ai.natml.natcorder": "1.9.4", "ai.natml.natdevice": "1.3.3", "ai.natml.natshare": "1.3.0" @@ -61,7 +61,7 @@ "depth": 0, "source": "embedded", "dependencies": { - "ai.natml.natml": "1.1.3" + "ai.natml.natml": "1.1.4" } }, "com.unity.collab-proxy": { @@ -127,7 +127,7 @@ "url": "https://packages.unity.com" }, "com.unity.nuget.newtonsoft-json": { - "version": "3.0.2", + "version": "3.1.0", "depth": 2, "source": "registry", "dependencies": {},