Class SegmentationEngine
Segmentation을 수행할 수 있는 Engine입니다
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SaigeVision.Net.V2.Segmentation
Assembly: SaigeVision.Net.V2.dll
Syntax
public sealed class SegmentationEngine : InspectionEngine<SegmentationOption, SegmentationResult>, IInspectionEngine<SegmentationOption, SegmentationResult>, IDisposable
Constructors
View SourceSegmentationEngine(string, int, int, bool, Size?)
생성자입니다
Declaration
public SegmentationEngine(string model, int gpuNumber, int batchSize = 1, bool useOptimize = false, Size? size = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | model | .saigeseg 모델파일의 경로 |
| int | gpuNumber | 추론에 사용할 장치의 인덱스 |
| int | batchSize | 추론을 한 번 수행할 때 몇 개의 이미지를 동시에 추론할지 설정 |
| bool | useOptimize | |
| Size? | size |
See Also
Methods
View SourceGetInferenceOption()
검사에 필요한 옵션값을 가져옵니다
Declaration
public override SegmentationOption GetInferenceOption()
Returns
| Type | Description |
|---|---|
| SegmentationOption | 검사에 필요한 옵션값 |
Overrides
SaigeVision.Net.V2.InspectionEngine<SaigeVision.Net.V2.Segmentation.SegmentationOption, SaigeVision.Net.V2.Segmentation.SegmentationResult>.GetInferenceOption()
See Also
View SourceGetResult()
검사 결과를 받아오는 함수
Declaration
public override SegmentationResult GetResult()
Returns
| Type | Description |
|---|---|
| SegmentationResult | 검사 결과가 담겨있는 값 |
Overrides
SaigeVision.Net.V2.InspectionEngine<SaigeVision.Net.V2.Segmentation.SegmentationOption, SaigeVision.Net.V2.Segmentation.SegmentationResult>.GetResult()
See Also
View SourceGetResults()
검사 결과를 받아오는 함수
Declaration
public override SegmentationResult[] GetResults()
Returns
| Type | Description |
|---|---|
| SegmentationResult[] | 검사 결과가 담겨있는 배열값 |
Overrides
SaigeVision.Net.V2.InspectionEngine<SaigeVision.Net.V2.Segmentation.SegmentationOption, SaigeVision.Net.V2.Segmentation.SegmentationResult>.GetResults()
See Also
View SourceSetInferenceOption(SegmentationOption, bool)
검사에 필요한 옵션값을 설정합니다
Declaration
public override void SetInferenceOption(SegmentationOption option, bool writeModelFile = false)
Parameters
| Type | Name | Description |
|---|---|---|
| SegmentationOption | option | 옵션을 설정할 값 |
| bool | writeModelFile | 모델파일에 옵션값을 덮어 씁니다. |
Overrides
SaigeVision.Net.V2.InspectionEngine<SaigeVision.Net.V2.Segmentation.SegmentationOption, SaigeVision.Net.V2.Segmentation.SegmentationResult>.SetInferenceOption(SaigeVision.Net.V2.Segmentation.SegmentationOption, bool)
See Also
Implements
System.IDisposable