public class LiveStreamOcrWordsRecognitionResult extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| LiveStreamOcrWordsRecognitionResult() | 
| LiveStreamOcrWordsRecognitionResult(LiveStreamOcrWordsRecognitionResult 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[] | 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, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic LiveStreamOcrWordsRecognitionResult()
public LiveStreamOcrWordsRecognitionResult(LiveStreamOcrWordsRecognitionResult source)
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 © 2025. All rights reserved.