Class EngineLoader
Inspection engine을 로드를 관장합니다.
Inheritance
object
EngineLoader
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SaigeVision.Core.Inference
Assembly: SaigeVision.Core.Inference.dll
Syntax
public static class EngineLoader
Methods
View SourceLoadFrom(Type, Uri)
지정된 타입에 해당 하는 Engine을 생성하여 반환합니다.
Declaration
public static object LoadFrom(Type engineType, Uri modelUri)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | engineType | 엔진 타입. |
| Uri | modelUri | 모델 URI. |
Returns
| Type | Description |
|---|---|
| object | Inspection Engine. |
Remarks
이 작업은 스레드가 Blocking 될만한 정도의 시간 소요가 필요 합니다.
LoadFrom<T>(Uri)
지정된 타입에 해당 하는 Engine을 생성하여 반환합니다.
Declaration
public static T LoadFrom<T>(Uri modelUri) where T : IInspectionEngine
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | modelUri |
Returns
| Type | Description |
|---|---|
| T | Inspection Engine. |
Type Parameters
| Name | Description |
|---|---|
| T | 엔진 타입. |
Remarks
이 작업은 스레드가 Blocking 될만한 정도의 시간 소요가 필요 합니다.