Class AdvertiseTextDetection
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ocr.v20181119.models.AdvertiseTextDetection
-
public class AdvertiseTextDetection extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description AdvertiseTextDetection()AdvertiseTextDetection(AdvertiseTextDetection 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 StringgetAdvancedInfo()Get 此字段为扩展字段。 GeneralBasicOcr接口返回段落信息Parag,包含ParagNo。LonggetConfidence()Get 置信度 0 ~100StringgetDetectedText()Get 识别出的文本行内容Coord[]getPolygon()Get 文本行坐标,以四个顶点坐标表示voidsetAdvancedInfo(String AdvancedInfo)Set 此字段为扩展字段。 GeneralBasicOcr接口返回段落信息Parag,包含ParagNo。voidsetConfidence(Long Confidence)Set 置信度 0 ~100voidsetDetectedText(String DetectedText)Set 识别出的文本行内容voidsetPolygon(Coord[] Polygon)Set 文本行坐标,以四个顶点坐标表示voidtoMap(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
-
AdvertiseTextDetection
public AdvertiseTextDetection()
-
AdvertiseTextDetection
public AdvertiseTextDetection(AdvertiseTextDetection 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
-
getDetectedText
public String getDetectedText()
Get 识别出的文本行内容- Returns:
- DetectedText 识别出的文本行内容
-
setDetectedText
public void setDetectedText(String DetectedText)
Set 识别出的文本行内容- Parameters:
DetectedText- 识别出的文本行内容
-
getConfidence
public Long getConfidence()
Get 置信度 0 ~100- Returns:
- Confidence 置信度 0 ~100
-
setConfidence
public void setConfidence(Long Confidence)
Set 置信度 0 ~100- Parameters:
Confidence- 置信度 0 ~100
-
getPolygon
public Coord[] getPolygon()
Get 文本行坐标,以四个顶点坐标表示- Returns:
- Polygon 文本行坐标,以四个顶点坐标表示
-
setPolygon
public void setPolygon(Coord[] Polygon)
Set 文本行坐标,以四个顶点坐标表示- Parameters:
Polygon- 文本行坐标,以四个顶点坐标表示
-
getAdvancedInfo
public String getAdvancedInfo()
Get 此字段为扩展字段。 GeneralBasicOcr接口返回段落信息Parag,包含ParagNo。- Returns:
- AdvancedInfo 此字段为扩展字段。 GeneralBasicOcr接口返回段落信息Parag,包含ParagNo。
-
setAdvancedInfo
public void setAdvancedInfo(String AdvancedInfo)
Set 此字段为扩展字段。 GeneralBasicOcr接口返回段落信息Parag,包含ParagNo。- Parameters:
AdvancedInfo- 此字段为扩展字段。 GeneralBasicOcr接口返回段落信息Parag,包含ParagNo。
-
-