Class: TencentCloud::Ocr::V20181119::StructuralItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::StructuralItem
- Defined in:
- lib/v20181119/models.rb
Overview
智能结构化识别
Instance Attribute Summary collapse
-
#Confidence ⇒ Object
坐标。.
-
#ItemCoord ⇒ Object
坐标。.
-
#Name ⇒ Object
坐标。.
-
#Row ⇒ Object
坐标。.
-
#Value ⇒ Object
坐标。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, value = nil, confidence = nil, itemcoord = nil, row = nil) ⇒ StructuralItem
constructor
A new instance of StructuralItem.
Constructor Details
#initialize(name = nil, value = nil, confidence = nil, itemcoord = nil, row = nil) ⇒ StructuralItem
Returns a new instance of StructuralItem.
11207 11208 11209 11210 11211 11212 11213 |
# File 'lib/v20181119/models.rb', line 11207 def initialize(name=nil, value=nil, confidence=nil, itemcoord=nil, row=nil) @Name = name @Value = value @Confidence = confidence @ItemCoord = itemcoord @Row = row end |
Instance Attribute Details
#Confidence ⇒ Object
坐标。
11205 11206 11207 |
# File 'lib/v20181119/models.rb', line 11205 def Confidence @Confidence end |
#ItemCoord ⇒ Object
坐标。
11205 11206 11207 |
# File 'lib/v20181119/models.rb', line 11205 def ItemCoord @ItemCoord end |
#Name ⇒ Object
坐标。
11205 11206 11207 |
# File 'lib/v20181119/models.rb', line 11205 def Name @Name end |
#Row ⇒ Object
坐标。
11205 11206 11207 |
# File 'lib/v20181119/models.rb', line 11205 def Row @Row end |
#Value ⇒ Object
坐标。
11205 11206 11207 |
# File 'lib/v20181119/models.rb', line 11205 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 |
# File 'lib/v20181119/models.rb', line 11215 def deserialize(params) @Name = params['Name'] @Value = params['Value'] @Confidence = params['Confidence'] unless params['ItemCoord'].nil? @ItemCoord = ItemCoord.new @ItemCoord.deserialize(params['ItemCoord']) end @Row = params['Row'] end |