Struct SaigeTextObject
(OCR) 텍스트를 검출하는 OCR 검사의 결과가 담긴 구조체입니다.
OCR기능은 글자의 영역을 검출하는 부분과 해당 영역의 글자 종류를 인식하는 부분으로 나뉘어있습니다.
SaigeVision OCR에서는 글자의 영역을 polygon 형태(2차원 점의 배열)로 제공하며 문자열 정보를 같이 담은 구조체로 검사결과를 제공합니다.
Inherited Members
Namespace: SaigeVision.Net.Core.V2
Assembly: SaigeVision.Net.Core.V2.dll
Syntax
public struct SaigeTextObject
Fields
View SourcenumOfPoints
글자 영역을 구성하는 점의 개수 입니다.
Declaration
public int numOfPoints
Field Value
| Type | Description |
|---|---|
| int |
points
글자 영역 polygon의 점의 좌표입니다. 순서는 x1, y1, x2, y2, ..., xn, yn 형태입니다.
Declaration
public IntPtr points
Field Value
| Type | Description |
|---|---|
| IntPtr |
polygonScore
검출된 글자 영역의 신뢰도 점수입니다.
Declaration
public double polygonScore
Field Value
| Type | Description |
|---|---|
| double |
text
검출된 문자열 값입니다.
Declaration
public IntPtr text
Field Value
| Type | Description |
|---|---|
| IntPtr |
textLength
검출된 문자열의 마지막 null 문자를 제외한 길이입니다.
Declaration
public int textLength
Field Value
| Type | Description |
|---|---|
| int |
textScore
인식된 글자의 확률적 점수입니다. 각 글자별 점수의 평균값 입니다.
Declaration
public double textScore
Field Value
| Type | Description |
|---|---|
| double |
textSize
검출된 글자의 크기입니다.
Declaration
public double textSize
Field Value
| Type | Description |
|---|---|
| double |