| Package | Description | 
|---|---|
| com.tencentcloudapi.ocr.v20181119.models | 
| Modifier and Type | Method and Description | 
|---|---|
| Coord | Polygon. getLeftBottom()Get The coordinates of the lower-right vertex. | 
| Coord | Polygon. getLeftTop()Get The coordinates of the upper-left vertex. | 
| Coord[] | TextDetection. getPolygon()Get Text line coordinates, which are represented as 4 vertex coordinates. | 
| Coord[] | TableCellInfo. getPolygon()Get Four-point coordinates of the cell in the image | 
| Coord[] | TextDetectionResult. getPolygon()Get The coordinates, represented in the coordinates of the four points. | 
| Coord[] | TextTable. getPolygon()Get Text line coordinates, which are represented as 4 vertex coordinates. | 
| Coord | Polygon. getRightBottom()Get The coordinates of the lower-left vertex. | 
| Coord | Polygon. getRightTop()Get The coordinates of the upper-right vertex. | 
| Coord[] | TableInfo. getTableCoordPoint()Get The coordinates of the four vertices (upper-left, upper-right, lower-right, and lower-left) of the table body. | 
| Coord[] | DetectedWordCoordPoint. getWordCoordinate()Get Coordinates of a word’s four corners in a clockwise order on the input image, starting from the upper-left corner | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Polygon. setLeftBottom(Coord LeftBottom)Set The coordinates of the lower-right vertex. | 
| void | Polygon. setLeftTop(Coord LeftTop)Set The coordinates of the upper-left vertex. | 
| void | TextDetection. setPolygon(Coord[] Polygon)Set Text line coordinates, which are represented as 4 vertex coordinates. | 
| void | TableCellInfo. setPolygon(Coord[] Polygon)Set Four-point coordinates of the cell in the image | 
| void | TextDetectionResult. setPolygon(Coord[] Polygon)Set The coordinates, represented in the coordinates of the four points. | 
| void | TextTable. setPolygon(Coord[] Polygon)Set Text line coordinates, which are represented as 4 vertex coordinates. | 
| void | Polygon. setRightBottom(Coord RightBottom)Set The coordinates of the lower-left vertex. | 
| void | Polygon. setRightTop(Coord RightTop)Set The coordinates of the upper-right vertex. | 
| void | TableInfo. setTableCoordPoint(Coord[] TableCoordPoint)Set The coordinates of the four vertices (upper-left, upper-right, lower-right, and lower-left) of the table body. | 
| void | DetectedWordCoordPoint. setWordCoordinate(Coord[] WordCoordinate)Set Coordinates of a word’s four corners in a clockwise order on the input image, starting from the upper-left corner | 
| Constructor and Description | 
|---|
| Coord(Coord source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
Copyright © 2024. All rights reserved.