Class: TencentCloud::Ocr::V20181119::TextFormulaInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::TextFormulaInfo
- Defined in:
- lib/v20181119/models.rb
Overview
公式识别结果
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(detectedtext = nil, coord = nil) ⇒ TextFormulaInfo
constructor
A new instance of TextFormulaInfo.
Constructor Details
#initialize(detectedtext = nil, coord = nil) ⇒ TextFormulaInfo
Returns a new instance of TextFormulaInfo.
12254 12255 12256 12257 |
# File 'lib/v20181119/models.rb', line 12254 def initialize(detectedtext=nil, coord=nil) @DetectedText = detectedtext @Coord = coord end |
Instance Attribute Details
#Coord ⇒ Object
12252 12253 12254 |
# File 'lib/v20181119/models.rb', line 12252 def Coord @Coord end |
#DetectedText ⇒ Object
12252 12253 12254 |
# File 'lib/v20181119/models.rb', line 12252 def DetectedText @DetectedText end |
Instance Method Details
#deserialize(params) ⇒ Object
12259 12260 12261 12262 12263 12264 12265 |
# File 'lib/v20181119/models.rb', line 12259 def deserialize(params) @DetectedText = params['DetectedText'] unless params['Coord'].nil? @Coord = Polygon.new @Coord.deserialize(params['Coord']) end end |