Class LiveStreamOcrWordsRecognitionResult
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.mps.v20190612.models.LiveStreamOcrWordsRecognitionResult
-
public class LiveStreamOcrWordsRecognitionResult extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long[]
getAreaCoords()
Get 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。Float
getConfidence()
Get 识别片段置信度。取值:0~100。Float
getEndPtsTime()
Get 识别片段终止的 PTS 时间,单位:秒。Float
getStartPtsTime()
Get 识别片段起始的 PTS 时间,单位:秒。String
getWord()
Get 文本关键词。void
setAreaCoords(Long[] AreaCoords)
Set 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。void
setConfidence(Float Confidence)
Set 识别片段置信度。取值:0~100。void
setEndPtsTime(Float EndPtsTime)
Set 识别片段终止的 PTS 时间,单位:秒。void
setStartPtsTime(Float StartPtsTime)
Set 识别片段起始的 PTS 时间,单位:秒。void
setWord(String Word)
Set 文本关键词。void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
LiveStreamOcrWordsRecognitionResult
public LiveStreamOcrWordsRecognitionResult()
-
LiveStreamOcrWordsRecognitionResult
public 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.
-
-
Method Detail
-
getWord
public String getWord()
Get 文本关键词。- Returns:
- Word 文本关键词。
-
setWord
public void setWord(String Word)
Set 文本关键词。- Parameters:
Word
- 文本关键词。
-
getStartPtsTime
public Float getStartPtsTime()
Get 识别片段起始的 PTS 时间,单位:秒。- Returns:
- StartPtsTime 识别片段起始的 PTS 时间,单位:秒。
-
setStartPtsTime
public void setStartPtsTime(Float StartPtsTime)
Set 识别片段起始的 PTS 时间,单位:秒。- Parameters:
StartPtsTime
- 识别片段起始的 PTS 时间,单位:秒。
-
getEndPtsTime
public Float getEndPtsTime()
Get 识别片段终止的 PTS 时间,单位:秒。- Returns:
- EndPtsTime 识别片段终止的 PTS 时间,单位:秒。
-
setEndPtsTime
public void setEndPtsTime(Float EndPtsTime)
Set 识别片段终止的 PTS 时间,单位:秒。- Parameters:
EndPtsTime
- 识别片段终止的 PTS 时间,单位:秒。
-
getConfidence
public Float getConfidence()
Get 识别片段置信度。取值:0~100。- Returns:
- Confidence 识别片段置信度。取值:0~100。
-
setConfidence
public void setConfidence(Float Confidence)
Set 识别片段置信度。取值:0~100。- Parameters:
Confidence
- 识别片段置信度。取值:0~100。
-
getAreaCoords
public Long[] getAreaCoords()
Get 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。- Returns:
- AreaCoords 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。
-
setAreaCoords
public void setAreaCoords(Long[] AreaCoords)
Set 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。- Parameters:
AreaCoords
- 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。
-
-