public class TextDetectionEn extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and 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.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public TextDetectionEn()
public TextDetectionEn(TextDetectionEn source)
public String getDetectedText()
public void setDetectedText(String DetectedText)
DetectedText
- 识别出的文本行内容。public Long getConfidence()
public void setConfidence(Long Confidence)
Confidence
- 置信度 0 ~100。public Coord[] getPolygon()
public void setPolygon(Coord[] Polygon)
Polygon
- 文本行在原图中的四点坐标。
注意:此字段可能返回 null,表示取不到有效值。public String getAdvancedInfo()
public void setAdvancedInfo(String AdvancedInfo)
AdvancedInfo
- 此字段为扩展字段。目前EnglishOCR接口返回内容为空。public WordCoordPoint[] getWordCoordPoint()
public void setWordCoordPoint(WordCoordPoint[] WordCoordPoint)
WordCoordPoint
- 英文单词在原图中的四点坐标。public CandWord[] getCandWord()
public void setCandWord(CandWord[] CandWord)
CandWord
- 候选字符集(包含候选字Character以及置信度Confidence)。public Words[] getWords()
public void setWords(Words[] Words)
Words
- 识别出来的单词信息(包括单词Character和单词置信度confidence)Copyright © 2022. All rights reserved.