Class: TencentCloud::Ocr::V20181119::DetectedWords
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::DetectedWords
- Defined in:
- lib/v20181119/models.rb
Overview
识别出来的单字信息包括单字(包括单字Character和单字置信度confidence)
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(confidence = nil, character = nil) ⇒ DetectedWords
constructor
A new instance of DetectedWords.
Constructor Details
#initialize(confidence = nil, character = nil) ⇒ DetectedWords
Returns a new instance of DetectedWords.
1604 1605 1606 1607 |
# File 'lib/v20181119/models.rb', line 1604 def initialize(confidence=nil, character=nil) @Confidence = confidence @Character = character end |
Instance Attribute Details
#Character ⇒ Object
1602 1603 1604 |
# File 'lib/v20181119/models.rb', line 1602 def Character @Character end |
#Confidence ⇒ Object
1602 1603 1604 |
# File 'lib/v20181119/models.rb', line 1602 def Confidence @Confidence end |
Instance Method Details
#deserialize(params) ⇒ Object
1609 1610 1611 1612 |
# File 'lib/v20181119/models.rb', line 1609 def deserialize(params) @Confidence = params['Confidence'] @Character = params['Character'] end |