diff --git a/FakePlugin/FakePlugin.cs b/FakePlugin/FakePlugin.cs index ebda670..a103a1b 100755 --- a/FakePlugin/FakePlugin.cs +++ b/FakePlugin/FakePlugin.cs @@ -14,6 +14,7 @@ public class FakePlugin : IObjectDetectionPlugin public string Description => "Fake Description"; public string Author => "Fake Author"; public string Company => "Fake Company"; + public IEnumerable Dependences => new[] {"Fake Dependency >= 1.0.0"}; public string Url => "http://fake-url"; public Version Version => new Version(api: 2, major: 1, minor: 0); public InferenceType InferenceType => InferenceType.Cpu; diff --git a/LacmusPlugin/Enums/InferenceType.cs b/LacmusPlugin/Enums/InferenceType.cs index 2d797af..fe1b3de 100755 --- a/LacmusPlugin/Enums/InferenceType.cs +++ b/LacmusPlugin/Enums/InferenceType.cs @@ -6,6 +6,7 @@ public enum InferenceType CudaGpu = 20, AmdGpu = 21, AnyGpu = 22, - GoogleTpu = 30 + GoogleTpu = 30, + OpenVinoNpu = 40 } } \ No newline at end of file diff --git a/LacmusPlugin/IObjectDetectionPlugin.cs b/LacmusPlugin/IObjectDetectionPlugin.cs index d902910..a270c28 100755 --- a/LacmusPlugin/IObjectDetectionPlugin.cs +++ b/LacmusPlugin/IObjectDetectionPlugin.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections; using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; using LacmusPlugin.Enums; namespace LacmusPlugin @@ -14,6 +10,7 @@ public interface IObjectDetectionPlugin public string Description { get; } public string Author { get; } public string Company { get; } + public IEnumerable Dependences { get; } public string Url { get; } public Version Version { get; } public InferenceType InferenceType { get; } diff --git a/LacmusPlugin/LacmusPlugin.csproj b/LacmusPlugin/LacmusPlugin.csproj index f86ad5e..58c3460 100755 --- a/LacmusPlugin/LacmusPlugin.csproj +++ b/LacmusPlugin/LacmusPlugin.csproj @@ -19,7 +19,7 @@ plugins;lacmus ../packages false - 2.0.2 + 2.0.3 9 diff --git a/LacmusRetinanetPlugin.Cuda/Plugin.cs b/LacmusRetinanetPlugin.Cuda/Plugin.cs index 6c2827c..41f5909 100755 --- a/LacmusRetinanetPlugin.Cuda/Plugin.cs +++ b/LacmusRetinanetPlugin.Cuda/Plugin.cs @@ -12,7 +12,8 @@ public class Plugin : IObjectDetectionPlugin public string Author => "gosha20777"; public string Company => "Lacmus Foundation"; public string Url => "https://github.com/lacmus-foundation/lacmus"; - public Version Version => new Version(api: 2, major: 1, minor: 0); + public IEnumerable Dependences => new[] {"CUDA == 10.1", "CuDNN == 7.6"}; + public Version Version => new Version(api: 2, major: 5, minor: 0); public InferenceType InferenceType => InferenceType.CudaGpu; public HashSet OperatingSystems => new HashSet() { diff --git a/LacmusRetinanetPlugin.DirectML/Plugin.cs b/LacmusRetinanetPlugin.DirectML/Plugin.cs index 1efacbd..c0b60cc 100755 --- a/LacmusRetinanetPlugin.DirectML/Plugin.cs +++ b/LacmusRetinanetPlugin.DirectML/Plugin.cs @@ -13,7 +13,8 @@ public class Plugin : IObjectDetectionPlugin public string Author => "gosha20777"; public string Company => "Lacmus Foundation"; public string Url => "https://github.com/lacmus-foundation/lacmus"; - public Version Version => new Version(api: 2, major: 1, minor: 0); + public IEnumerable Dependences => new[] {"DirectX >= 12.1"}; + public Version Version => new Version(api: 2, major: 5, minor: 0); public InferenceType InferenceType => InferenceType.AnyGpu; public HashSet OperatingSystems => new HashSet() { diff --git a/LacmusRetinanetPlugin/Plugin.cs b/LacmusRetinanetPlugin/Plugin.cs index f336514..c35a32c 100755 --- a/LacmusRetinanetPlugin/Plugin.cs +++ b/LacmusRetinanetPlugin/Plugin.cs @@ -12,7 +12,8 @@ public class Plugin : IObjectDetectionPlugin public string Author => "gosha20777"; public string Company => "Lacmus Foundation"; public string Url => "https://github.com/lacmus-foundation/lacmus"; - public Version Version => new Version(api: 2, major: 1, minor: 0); + public IEnumerable Dependences => new[] {"(windows) microsoft visual c++ redistributable >= 2019"}; + public Version Version => new Version(api: 2, major: 5, minor: 0); public InferenceType InferenceType => InferenceType.Cpu; public HashSet OperatingSystems => new HashSet() {