public class AiRecognitionTaskOcrFullTextSegmentTextItem extends AbstractModel
Constructor and Description |
---|
AiRecognitionTaskOcrFullTextSegmentTextItem() |
AiRecognitionTaskOcrFullTextSegmentTextItem(AiRecognitionTaskOcrFullTextSegmentTextItem 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[] |
getAreaCoordSet()
Get Zone coordinates of recognition result.
|
Float |
getConfidence()
Get Confidence of recognized segment.
|
String |
getText()
Get Recognized text.
|
void |
setAreaCoordSet(Long[] AreaCoordSet)
Set Zone coordinates of recognition result.
|
void |
setConfidence(Float Confidence)
Set Confidence of recognized segment.
|
void |
setText(String Text)
Set Recognized text.
|
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 AiRecognitionTaskOcrFullTextSegmentTextItem()
public AiRecognitionTaskOcrFullTextSegmentTextItem(AiRecognitionTaskOcrFullTextSegmentTextItem source)
public Float getConfidence()
public void setConfidence(Float Confidence)
Confidence
- Confidence of recognized segment. Value range: 0-100.public Long[] getAreaCoordSet()
public void setAreaCoordSet(Long[] AreaCoordSet)
AreaCoordSet
- Zone coordinates of recognition result. The array contains four elements: [x1,y1,x2,y2], i.e., the horizontal and vertical coordinates of the top-left and bottom-right corners.public String getText()
public void setText(String Text)
Text
- Recognized text.Copyright © 2021. All rights reserved.