Struct SaigeInferenceOption
추론 옵션이 담긴 구조체입니다.
Inherited Members
Namespace: SaigeVision.Net.Core.V2
Assembly: SaigeVision.Net.Core.V2.dll
Syntax
public struct SaigeInferenceOption
Fields
View SourceadditionalScores
Declaration
public float[] additionalScores
Field Value
| Type | Description |
|---|---|
| float[] | (CLS) 클래스별 additional score 값입니다. |
anomalyScoreThreshold
Declaration
public double anomalyScoreThreshold
Field Value
| Type | Description |
|---|---|
| double | (IAD) 이미지 전체를 대표하는 anomaly score가 이 값보다 크면 비정상 이미지로, 작거나 같으면 정상 이미지로 판정합니다. |
batchSize
Declaration
public int batchSize
Field Value
| Type | Description |
|---|---|
| int | (Common) 추론을 한 번 수행할 때 추론하는 이미지의 개수입니다. |
calcClassActivationMap
Declaration
public bool calcClassActivationMap
Field Value
| Type | Description |
|---|---|
| bool | (CLS) |
calcHeatmap
Declaration
public bool calcHeatmap
Field Value
| Type | Description |
|---|---|
| bool | (IAD) |
calcMask
Declaration
public bool calcMask
Field Value
| Type | Description |
|---|---|
| bool | (IAD, SEG) |
calcObject
Declaration
public bool calcObject
Field Value
| Type | Description |
|---|---|
| bool | (SEG, IAD) |
calcObjectAreaAndApplyThreshold
Declaration
public bool calcObjectAreaAndApplyThreshold
Field Value
| Type | Description |
|---|---|
| bool | (SEG, IAD) |
calcObjectScoreAndApplyThreshold
Declaration
public bool calcObjectScoreAndApplyThreshold
Field Value
| Type | Description |
|---|---|
| bool | (SEG, IAD) |
calcScoremap
Declaration
public bool calcScoremap
Field Value
| Type | Description |
|---|---|
| bool | (SEG) |
calcTime
Declaration
public bool calcTime
Field Value
| Type | Description |
|---|---|
| bool | (Common) 추론 API 실행에 소요되는 시간을 세분화하여 출력할지 결정합니다. |
heatmapColorRangeMax
Declaration
public double heatmapColorRangeMax
Field Value
| Type | Description |
|---|---|
| double | (IAD) Heatmap을 계산할 때 이 값보다 score가 큰 픽셀은 모두 클리핑됩니다. |
heatmapColorRangeMin
Declaration
public double heatmapColorRangeMin
Field Value
| Type | Description |
|---|---|
| double | (IAD) Heatmap을 계산할 때 이 값보다 score가 작은 픽셀은 모두 클리핑됩니다. |
inspectionSizeHeight
Declaration
public int inspectionSizeHeight
Field Value
| Type | Description |
|---|---|
| int | (SEG) 추론할 때의 이미지 높이입니다. |
inspectionSizeWidth
Declaration
public int inspectionSizeWidth
Field Value
| Type | Description |
|---|---|
| int | (SEG) 추론할 때의 이미지 너비입니다. |
maxItalicAngle
Declaration
public double maxItalicAngle
Field Value
| Type | Description |
|---|---|
| double | (OCR) OCR 기능 반영 시 안내 예정. |
maxNumOfDetectedObjects
Declaration
public int[] maxNumOfDetectedObjects
Field Value
| Type | Description |
|---|---|
| int[] | (DET) 검출할 detected object의 최대 개수입니다. |
maxNumOfTextPolygons
Declaration
public int maxNumOfTextPolygons
Field Value
| Type | Description |
|---|---|
| int | (OCR) OCR 기능 반영 시 안내 예정. |
objectAreaThreshold
Declaration
public int objectAreaThreshold
Field Value
| Type | Description |
|---|---|
| int | (IAD) 검출된 segmented object의 면적이 이 값보다 작으면 최종 결과에서 제외됩니다.
|
objectAreaThresholdPerClass
Declaration
public int[] objectAreaThresholdPerClass
Field Value
| Type | Description |
|---|---|
| int[] | (SEG, DET) 클래스별 object area threshold 값입니다. |
objectBoundaryThreshold
Declaration
public double objectBoundaryThreshold
Field Value
| Type | Description |
|---|---|
| double | (IAD) 이 값이 클수록 mask 및 segmented object의 경계가 좁아집니다.
Mask를 계산할 때 이 값보다 score가 더 큰 픽셀은 1로, 더 작은 픽셀은 0으로 계산합니다.
|
objectBoundaryThresholdPerClass
Declaration
public int[] objectBoundaryThresholdPerClass
Field Value
| Type | Description |
|---|---|
| int[] | (SEG) 클래스별 object boundary threshold 값입니다. |
objectScoreThreshold
Declaration
public double objectScoreThreshold
Field Value
| Type | Description |
|---|---|
| double | (IAD) 검출된 segmented object의 score가 이 값보다 작으면 최종 결과에서 제외됩니다.
|
objectScoreThresholdPerClass
Declaration
public double[] objectScoreThresholdPerClass
Field Value
| Type | Description |
|---|---|
| double[] | (SEG, DET) 클래스별 object score threshold 값입니다. |
oversizedImageHandling
Declaration
public IntPtr oversizedImageHandling
Field Value
| Type | Description |
|---|---|
| IntPtr | (SEG) |
polygonScoreThreshold
Declaration
public double polygonScoreThreshold
Field Value
| Type | Description |
|---|---|
| double | (OCR) OCR 기능 반영 시 안내 예정. |
removeSelfIntersectingPolygon
Declaration
public bool removeSelfIntersectingPolygon
Field Value
| Type | Description |
|---|---|
| bool | (OCR) OCR 기능 반영 시 안내 예정. |
textHeightThreshold
Declaration
public double textHeightThreshold
Field Value
| Type | Description |
|---|---|
| double | (OCR) OCR 기능 반영 시 안내 예정. |
textScoreThreshold
Declaration
public double textScoreThreshold
Field Value
| Type | Description |
|---|---|
| double | (OCR) OCR 기능 반영 시 안내 예정. |