public class LiveStreamOcrFullTextRecognitionResult extends AbstractModel
Constructor and Description |
---|
LiveStreamOcrFullTextRecognitionResult() |
Modifier and Type | Method and Description |
---|---|
Long[] |
getAreaCoordSet()
Get Zone coordinates of recognition result.
|
Float |
getConfidence()
Get Confidence of recognized segment.
|
Float |
getEndPtsTime()
Get End PTS time of recognized segment in seconds.
|
Float |
getStartPtsTime()
Get Start PTS time of recognized segment in seconds.
|
String |
getText()
Get Speech text.
|
void |
setAreaCoordSet(Long[] AreaCoordSet)
Set Zone coordinates of recognition result.
|
void |
setConfidence(Float Confidence)
Set Confidence of recognized segment.
|
void |
setEndPtsTime(Float EndPtsTime)
Set End PTS time of recognized segment in seconds.
|
void |
setStartPtsTime(Float StartPtsTime)
Set Start PTS time of recognized segment in seconds.
|
void |
setText(String Text)
Set Speech 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 LiveStreamOcrFullTextRecognitionResult()
public String getText()
public void setText(String Text)
Text
- Speech text.public Float getStartPtsTime()
public void setStartPtsTime(Float StartPtsTime)
StartPtsTime
- Start PTS time of recognized segment in seconds.public Float getEndPtsTime()
public void setEndPtsTime(Float EndPtsTime)
EndPtsTime
- End PTS time of recognized segment in seconds.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.Copyright © 2020. All rights reserved.