public class LiveStreamOcrWordsRecognitionResult extends AbstractModel
Constructor and Description |
---|
LiveStreamOcrWordsRecognitionResult() |
Modifier and Type | Method and Description |
---|---|
Long[] |
getAreaCoords()
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 |
getWord()
Get Text keyword.
|
void |
setAreaCoords(Long[] AreaCoords)
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 |
setWord(String Word)
Set Text keyword.
|
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 String getWord()
public void setWord(String Word)
Word
- Text keyword.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[] getAreaCoords()
public void setAreaCoords(Long[] AreaCoords)
AreaCoords
- 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.