Class TextDetectionEn
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ocr.v20181119.models.TextDetectionEn
-
public class TextDetectionEn extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description TextDetectionEn()
TextDetectionEn(TextDetectionEn 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 String
getAdvancedInfo()
Get 此字段为扩展字段。目前EnglishOCR接口返回内容为空。CandWord[]
getCandWord()
Get 候选字符集(包含候选字Character以及置信度Confidence)。Long
getConfidence()
Get 置信度 0 ~100。String
getDetectedText()
Get 识别出的文本行内容。Coord[]
getPolygon()
Get 文本行在原图中的四点坐标。 注意:此字段可能返回 null,表示取不到有效值。WordCoordPoint[]
getWordCoordPoint()
Get 英文单词在原图中的四点坐标。Words[]
getWords()
Get 识别出来的单词信息(包括单词Character和单词置信度confidence)void
setAdvancedInfo(String AdvancedInfo)
Set 此字段为扩展字段。目前EnglishOCR接口返回内容为空。void
setCandWord(CandWord[] CandWord)
Set 候选字符集(包含候选字Character以及置信度Confidence)。void
setConfidence(Long Confidence)
Set 置信度 0 ~100。void
setDetectedText(String DetectedText)
Set 识别出的文本行内容。void
setPolygon(Coord[] Polygon)
Set 文本行在原图中的四点坐标。 注意:此字段可能返回 null,表示取不到有效值。void
setWordCoordPoint(WordCoordPoint[] WordCoordPoint)
Set 英文单词在原图中的四点坐标。void
setWords(Words[] Words)
Set 识别出来的单词信息(包括单词Character和单词置信度confidence)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
-
TextDetectionEn
public TextDetectionEn()
-
TextDetectionEn
public TextDetectionEn(TextDetectionEn 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 文本行在原图中的四点坐标。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Polygon 文本行在原图中的四点坐标。 注意:此字段可能返回 null,表示取不到有效值。
-
setPolygon
public void setPolygon(Coord[] Polygon)
Set 文本行在原图中的四点坐标。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Polygon
- 文本行在原图中的四点坐标。 注意:此字段可能返回 null,表示取不到有效值。
-
getAdvancedInfo
public String getAdvancedInfo()
Get 此字段为扩展字段。目前EnglishOCR接口返回内容为空。- Returns:
- AdvancedInfo 此字段为扩展字段。目前EnglishOCR接口返回内容为空。
-
setAdvancedInfo
public void setAdvancedInfo(String AdvancedInfo)
Set 此字段为扩展字段。目前EnglishOCR接口返回内容为空。- Parameters:
AdvancedInfo
- 此字段为扩展字段。目前EnglishOCR接口返回内容为空。
-
getWordCoordPoint
public WordCoordPoint[] getWordCoordPoint()
Get 英文单词在原图中的四点坐标。- Returns:
- WordCoordPoint 英文单词在原图中的四点坐标。
-
setWordCoordPoint
public void setWordCoordPoint(WordCoordPoint[] WordCoordPoint)
Set 英文单词在原图中的四点坐标。- Parameters:
WordCoordPoint
- 英文单词在原图中的四点坐标。
-
getCandWord
public CandWord[] getCandWord()
Get 候选字符集(包含候选字Character以及置信度Confidence)。- Returns:
- CandWord 候选字符集(包含候选字Character以及置信度Confidence)。
-
setCandWord
public void setCandWord(CandWord[] CandWord)
Set 候选字符集(包含候选字Character以及置信度Confidence)。- Parameters:
CandWord
- 候选字符集(包含候选字Character以及置信度Confidence)。
-
getWords
public Words[] getWords()
Get 识别出来的单词信息(包括单词Character和单词置信度confidence)- Returns:
- Words 识别出来的单词信息(包括单词Character和单词置信度confidence)
-
setWords
public void setWords(Words[] Words)
Set 识别出来的单词信息(包括单词Character和单词置信度confidence)- Parameters:
Words
- 识别出来的单词信息(包括单词Character和单词置信度confidence)
-
-