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.
11063 11064 11065 11066 11067 11068 11069 |
# File 'lib/v20181119/models.rb', line 11063 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
坐标。
11061 11062 11063 |
# File 'lib/v20181119/models.rb', line 11061 def Confidence @Confidence end |
#ItemCoord ⇒ Object
坐标。
11061 11062 11063 |
# File 'lib/v20181119/models.rb', line 11061 def ItemCoord @ItemCoord end |
#Name ⇒ Object
坐标。
11061 11062 11063 |
# File 'lib/v20181119/models.rb', line 11061 def Name @Name end |
#Row ⇒ Object
坐标。
11061 11062 11063 |
# File 'lib/v20181119/models.rb', line 11061 def Row @Row end |
#Value ⇒ Object
坐标。
11061 11062 11063 |
# File 'lib/v20181119/models.rb', line 11061 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 |
# File 'lib/v20181119/models.rb', line 11071 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 |