Class OCROption
검사에 필요한 옵션을 가져오거나 설정할 수 있습니다.
Implements
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.OCR
Assembly: SaigeVision.Net.V2.dll
Syntax
public class OCROption : InspectionOption, IInspectionOption
Constructors
View SourceOCROption(bool, int, double, int, int, int, double, TextFormatting)
Declaration
public OCROption(bool calcTime, int batchSize, double polygonScoreThreshold, int textSizeRangeMin, int textSizeRangeMax, int maxNumOfTextObjects, double textScoreThreshold, TextFormatting textFormatting)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | calcTime | 추론 API 실행에 소요되는 시간을 세분화하여 출력할지 결정합니다. |
| int | batchSize | 추론을 한 번 수행할 때 추론하는 이미지의 개수입니다. |
| double | polygonScoreThreshold | `검출된 글자영역인 polygon score 값이 이 값보다 작으면 최종 결과에서 제외됩니다. |
| int | textSizeRangeMin | 검출된 글자영역 크기의 유효범위 하한값입니다. |
| int | textSizeRangeMax | 검출된 글자영역 크기의 유효범위 상한값입니다. |
| int | maxNumOfTextObjects | 한 번에 출력할 수 있는 글자 오브젝트의 최대 검출 개수입니다. |
| double | textScoreThreshold | 인식된 글자 오브젝트의 text score 값이 이 값보다 작으면 최종 결과에서 제외됩니다. |
| TextFormatting | textFormatting | 인식하고자 하는 글자의 포맷을 지정하는 옵션입니다. |
Properties
View SourceMaxNumOfTextObjects
한 번에 출력할 수 있는 글자 오브젝트의 최대 검출 개수입니다.
0 이하의 값은 제한 없음을 의미합니다.
Declaration
public int MaxNumOfTextObjects { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
PolygonScoreThreshold
검출된 글자영역인 polygon score 값이 이 값보다 작으면 최종 결과에서 제외됩니다.
Declaration
public double PolygonScoreThreshold { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
TextFormatting
인식하고자 하는 글자의 포맷을 지정하는 옵션입니다.
Declaration
public TextFormatting TextFormatting { get; set; }
Property Value
| Type | Description |
|---|---|
| TextFormatting |
TextScoreThreshold
인식된 글자 오브젝트의 text score 값이 이 값보다 작으면 최종 결과에서 제외됩니다.
Declaration
public double TextScoreThreshold { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
TextSizeRangeMax
검출된 글자영역 크기의 유효범위 상한값입니다.
이 값보다 큰 글자는 최종 결과에서 제외됩니다.
Declaration
public int TextSizeRangeMax { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
TextSizeRangeMin
검출된 글자영역 크기의 유효범위 하한값입니다.
이 값보다 작은 글자는 최종 결과에서 제외됩니다.
Declaration
public int TextSizeRangeMin { get; set; }
Property Value
| Type | Description |
|---|---|
| int |