Class: TencentCloud::Mps::V20190612::LiveStreamOcrWordsRecognitionResult
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::LiveStreamOcrWordsRecognitionResult
- Defined in:
- lib/v20190612/models.rb
Overview
直播 AI Ocr 单词识别结果
Instance Attribute Summary collapse
- #AreaCoords ⇒ Object
- #Confidence ⇒ Object
- #EndPtsTime ⇒ Object
- #StartPtsTime ⇒ Object
- #Word ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(word = nil, startptstime = nil, endptstime = nil, confidence = nil, areacoords = nil) ⇒ LiveStreamOcrWordsRecognitionResult
constructor
A new instance of LiveStreamOcrWordsRecognitionResult.
Constructor Details
#initialize(word = nil, startptstime = nil, endptstime = nil, confidence = nil, areacoords = nil) ⇒ LiveStreamOcrWordsRecognitionResult
Returns a new instance of LiveStreamOcrWordsRecognitionResult.
17205 17206 17207 17208 17209 17210 17211 |
# File 'lib/v20190612/models.rb', line 17205 def initialize(word=nil, startptstime=nil, endptstime=nil, confidence=nil, areacoords=nil) @Word = word @StartPtsTime = startptstime @EndPtsTime = endptstime @Confidence = confidence @AreaCoords = areacoords end |
Instance Attribute Details
#AreaCoords ⇒ Object
17203 17204 17205 |
# File 'lib/v20190612/models.rb', line 17203 def AreaCoords @AreaCoords end |
#Confidence ⇒ Object
17203 17204 17205 |
# File 'lib/v20190612/models.rb', line 17203 def Confidence @Confidence end |
#EndPtsTime ⇒ Object
17203 17204 17205 |
# File 'lib/v20190612/models.rb', line 17203 def EndPtsTime @EndPtsTime end |
#StartPtsTime ⇒ Object
17203 17204 17205 |
# File 'lib/v20190612/models.rb', line 17203 def StartPtsTime @StartPtsTime end |
#Word ⇒ Object
17203 17204 17205 |
# File 'lib/v20190612/models.rb', line 17203 def Word @Word end |
Instance Method Details
#deserialize(params) ⇒ Object
17213 17214 17215 17216 17217 17218 17219 |
# File 'lib/v20190612/models.rb', line 17213 def deserialize(params) @Word = params['Word'] @StartPtsTime = params['StartPtsTime'] @EndPtsTime = params['EndPtsTime'] @Confidence = params['Confidence'] @AreaCoords = params['AreaCoords'] end |