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.
19648 19649 19650 19651 19652 19653 19654 |
# File 'lib/v20190612/models.rb', line 19648 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
19646 19647 19648 |
# File 'lib/v20190612/models.rb', line 19646 def AreaCoords @AreaCoords end |
#Confidence ⇒ Object
19646 19647 19648 |
# File 'lib/v20190612/models.rb', line 19646 def Confidence @Confidence end |
#EndPtsTime ⇒ Object
19646 19647 19648 |
# File 'lib/v20190612/models.rb', line 19646 def EndPtsTime @EndPtsTime end |
#StartPtsTime ⇒ Object
19646 19647 19648 |
# File 'lib/v20190612/models.rb', line 19646 def StartPtsTime @StartPtsTime end |
#Word ⇒ Object
19646 19647 19648 |
# File 'lib/v20190612/models.rb', line 19646 def Word @Word end |
Instance Method Details
#deserialize(params) ⇒ Object
19656 19657 19658 19659 19660 19661 19662 |
# File 'lib/v20190612/models.rb', line 19656 def deserialize(params) @Word = params['Word'] @StartPtsTime = params['StartPtsTime'] @EndPtsTime = params['EndPtsTime'] @Confidence = params['Confidence'] @AreaCoords = params['AreaCoords'] end |