Class TableDetectInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ocr.v20181119.models.TableDetectInfo
-
public class TableDetectInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description TableDetectInfo()
TableDetectInfo(TableDetectInfo 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TableCell[]
getCells()
Get 单元格内容 注意:此字段可能返回 null,表示取不到有效值。Coord[]
getTableCoordPoint()
Get 表格主体四个顶点坐标(依次为左上角, 右上角,右下角,左下角) 注意:此字段可能返回 null,表示取不到有效值。TableTitle[]
getTitles()
Get 表格标题 注意:此字段可能返回 null,表示取不到有效值。Long
getType()
Get 图像中的文本块类型,0 为非表格文本, 1 为有线表格,2 为无线表格 (接口暂不支持日文无线表格识别,若传入日文无线表格,返回0) 注意:此字段可能返回 null,表示取不到有效值。void
setCells(TableCell[] Cells)
Set 单元格内容 注意:此字段可能返回 null,表示取不到有效值。void
setTableCoordPoint(Coord[] TableCoordPoint)
Set 表格主体四个顶点坐标(依次为左上角, 右上角,右下角,左下角) 注意:此字段可能返回 null,表示取不到有效值。void
setTitles(TableTitle[] Titles)
Set 表格标题 注意:此字段可能返回 null,表示取不到有效值。void
setType(Long Type)
Set 图像中的文本块类型,0 为非表格文本, 1 为有线表格,2 为无线表格 (接口暂不支持日文无线表格识别,若传入日文无线表格,返回0) 注意:此字段可能返回 null,表示取不到有效值。void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
TableDetectInfo
public TableDetectInfo()
-
TableDetectInfo
public TableDetectInfo(TableDetectInfo 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.
-
-
Method Detail
-
getCells
public TableCell[] getCells()
Get 单元格内容 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Cells 单元格内容 注意:此字段可能返回 null,表示取不到有效值。
-
setCells
public void setCells(TableCell[] Cells)
Set 单元格内容 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Cells
- 单元格内容 注意:此字段可能返回 null,表示取不到有效值。
-
getTitles
public TableTitle[] getTitles()
Get 表格标题 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Titles 表格标题 注意:此字段可能返回 null,表示取不到有效值。
-
setTitles
public void setTitles(TableTitle[] Titles)
Set 表格标题 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Titles
- 表格标题 注意:此字段可能返回 null,表示取不到有效值。
-
getType
public Long getType()
Get 图像中的文本块类型,0 为非表格文本, 1 为有线表格,2 为无线表格 (接口暂不支持日文无线表格识别,若传入日文无线表格,返回0) 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Type 图像中的文本块类型,0 为非表格文本, 1 为有线表格,2 为无线表格 (接口暂不支持日文无线表格识别,若传入日文无线表格,返回0) 注意:此字段可能返回 null,表示取不到有效值。
-
setType
public void setType(Long Type)
Set 图像中的文本块类型,0 为非表格文本, 1 为有线表格,2 为无线表格 (接口暂不支持日文无线表格识别,若传入日文无线表格,返回0) 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Type
- 图像中的文本块类型,0 为非表格文本, 1 为有线表格,2 为无线表格 (接口暂不支持日文无线表格识别,若传入日文无线表格,返回0) 注意:此字段可能返回 null,表示取不到有效值。
-
getTableCoordPoint
public Coord[] getTableCoordPoint()
Get 表格主体四个顶点坐标(依次为左上角, 右上角,右下角,左下角) 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- TableCoordPoint 表格主体四个顶点坐标(依次为左上角, 右上角,右下角,左下角) 注意:此字段可能返回 null,表示取不到有效值。
-
setTableCoordPoint
public void setTableCoordPoint(Coord[] TableCoordPoint)
Set 表格主体四个顶点坐标(依次为左上角, 右上角,右下角,左下角) 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
TableCoordPoint
- 表格主体四个顶点坐标(依次为左上角, 右上角,右下角,左下角) 注意:此字段可能返回 null,表示取不到有效值。
-
-