Class InspectionEngine<TOption, UResult>
Inspection을 수행하는 Engine의 추상 구현체입니다. Engine이 사용 가능한 상태가 되도록 준비하는것을 지원합니다.
Inheritance
object
InspectionEngine<TOption, UResult>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SaigeVision.Net.V2
Assembly: SaigeVision.Net.V2.dll
Syntax
public abstract class InspectionEngine<TOption, UResult> : IInspectionEngine<TOption, UResult>, IDisposable where TOption : InspectionOption where UResult : InspectionResult
Type Parameters
| Name | Description |
|---|---|
| TOption | 검사 옵션 타입 |
| UResult | 검사 결과 타입 |
Remarks
InspectionEngine<TOption, UResult>은 지정된 모델에서 범용적으로 사용되는 데이터들을 읽고 준비 하는것이 주 목적입니다.
그외 Inspection에 필요한 지원 함수들이 포함됩니다.
Methods
View SourceDispose()
메모리를 해제합니다
Declaration
public void Dispose()
~InspectionEngine()
Declaration
protected ~InspectionEngine()
GetInferenceOption()
Declaration
public abstract TOption GetInferenceOption()
Returns
| Type | Description |
|---|---|
| TOption |
GetModelInfo()
모델 정보가 담긴 클래스입니다.
Declaration
public ModelInfo GetModelInfo()
Returns
| Type | Description |
|---|---|
| ModelInfo |
GetResult()
Declaration
public abstract UResult GetResult()
Returns
| Type | Description |
|---|---|
| UResult |
GetResults()
Declaration
public abstract UResult[] GetResults()
Returns
| Type | Description |
|---|---|
| UResult[] |
Inspection(params Bitmap[])
추론을 진행합니다. 추론에 대한 결과는 GetResult(s) 를 통해 확인할 수 있습니다.
Declaration
public void Inspection(params Bitmap[] bmps)
Parameters
| Type | Name | Description |
|---|---|---|
| Bitmap[] | bmps |
Inspection(params string[])
추론을 진행합니다. 추론에 대한 결과는 GetResult(s) 를 통해 확인할 수 있습니다.
Declaration
public void Inspection(params string[] imagePaths)
Parameters
| Type | Name | Description |
|---|---|---|
| string[] | imagePaths | 추론에 필요한 이미지 파일 경로 |
InspectionAsync(params Bitmap[])
bmps에 대한 검사를 진행합니다.
Declaration
public Task InspectionAsync(params Bitmap[] bmps)
Parameters
| Type | Name | Description |
|---|---|---|
| Bitmap[] | bmps | 검사할 이미지. |
Returns
| Type | Description |
|---|---|
| Task |
SetInferenceOption(TOption, bool)
Declaration
public abstract void SetInferenceOption(TOption option, bool writeModelFile = false)
Parameters
| Type | Name | Description |
|---|---|---|
| TOption | option | |
| bool | writeModelFile |
Implements
System.IDisposable