public class TableCellInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
TableCellInfo() |
TableCellInfo(TableCellInfo 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.
|
Modifier and Type | Method and Description |
---|---|
Long |
getColBr()
Get Column index of the lower-right corner of the cell
|
Long |
getColTl()
Get Column index of the upper-left corner of the cell
|
Float |
getConfidence()
Get Cell confidence
|
Coord[] |
getPolygon()
Get Four-point coordinates of the cell in the image
|
Long |
getRowBr()
Get Row index of the lower-right corner of the cell
|
Long |
getRowTl()
Get Row index of the upper-left corner of the cell
|
String |
getText()
Get Recognized string text within the cell.
|
String |
getType()
Get Cell type
|
void |
setColBr(Long ColBr)
Set Column index of the lower-right corner of the cell
|
void |
setColTl(Long ColTl)
Set Column index of the upper-left corner of the cell
|
void |
setConfidence(Float Confidence)
Set Cell confidence
|
void |
setPolygon(Coord[] Polygon)
Set Four-point coordinates of the cell in the image
|
void |
setRowBr(Long RowBr)
Set Row index of the lower-right corner of the cell
|
void |
setRowTl(Long RowTl)
Set Row index of the upper-left corner of the cell
|
void |
setText(String Text)
Set Recognized string text within the cell.
|
void |
setType(String Type)
Set Cell type
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public TableCellInfo()
public TableCellInfo(TableCellInfo source)
public Long getColTl()
public void setColTl(Long ColTl)
ColTl
- Column index of the upper-left corner of the cellpublic Long getRowTl()
public void setRowTl(Long RowTl)
RowTl
- Row index of the upper-left corner of the cellpublic Long getColBr()
public void setColBr(Long ColBr)
ColBr
- Column index of the lower-right corner of the cellpublic Long getRowBr()
public void setRowBr(Long RowBr)
RowBr
- Row index of the lower-right corner of the cellpublic String getText()
public void setText(String Text)
Text
- Recognized string text within the cell. If there are multiple lines, they are separated by "\n".public String getType()
public void setType(String Type)
Type
- Cell typepublic Float getConfidence()
public void setConfidence(Float Confidence)
Confidence
- Cell confidencepublic Coord[] getPolygon()
public void setPolygon(Coord[] Polygon)
Polygon
- Four-point coordinates of the cell in the imageCopyright © 2024. All rights reserved.