Class OcrOptions
Classification을 위한 검사 옵션 설정을 위한 클래스입니다.
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 class OcrOptions : InspectionOptions
Constructors
View SourceOcrOptions(int, int, Size, string, TimeSpan)
생성자입니다.
Declaration
public OcrOptions(int scoreThreshold, int areaThreshold, Size maxInspectionSize, string excludeStr, TimeSpan inspectionTimeLimit = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int | scoreThreshold | score 기준 값 |
| int | areaThreshold | area 기준 값 |
| Size | maxInspectionSize | 검사에 사용할 이미지 최대 크기 값 |
| string | excludeStr | |
| TimeSpan | inspectionTimeLimit | 검사 제한 시간. |
Properties
View SourceAreaThreshold
검출된 박스의 area 값에 기준값을 설정할 수 있습니다.
Declaration
public int AreaThreshold { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ExcludeStr
Declaration
public string ExcludeStr { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MaxInspectionSize
검사에 사용할 이미지의 최대 크기를 설정합니다. 설정된 MaxInspectionSize 보다 큰 이미지를 검사하는 경우 가로 세로 비율을 유지하며 리사이즈됩니다.
Declaration
public Size MaxInspectionSize { get; set; }
Property Value
| Type | Description |
|---|---|
| Size |
ScoreThreshold
검출된 박스의 score 값에 기준값을 설정할 수 있습니다.
Declaration
public int ScoreThreshold { get; set; }
Property Value
| Type | Description |
|---|---|
| int |