Class: TencentCloud::Ocr::V20181119::TextEduPaper
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::TextEduPaper
- Defined in:
- lib/v20181119/models.rb
Overview
数学试题识别结果
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(item = nil, detectedtext = nil, itemcoord = nil) ⇒ TextEduPaper
constructor
A new instance of TextEduPaper.
Constructor Details
#initialize(item = nil, detectedtext = nil, itemcoord = nil) ⇒ TextEduPaper
Returns a new instance of TextEduPaper.
11935 11936 11937 11938 11939 |
# File 'lib/v20181119/models.rb', line 11935 def initialize(item=nil, detectedtext=nil, itemcoord=nil) @Item = item @DetectedText = detectedtext @Itemcoord = itemcoord end |
Instance Attribute Details
#DetectedText ⇒ Object
11933 11934 11935 |
# File 'lib/v20181119/models.rb', line 11933 def DetectedText @DetectedText end |
#Item ⇒ Object
11933 11934 11935 |
# File 'lib/v20181119/models.rb', line 11933 def Item @Item end |
#Itemcoord ⇒ Object
11933 11934 11935 |
# File 'lib/v20181119/models.rb', line 11933 def Itemcoord @Itemcoord end |
Instance Method Details
#deserialize(params) ⇒ Object
11941 11942 11943 11944 11945 11946 11947 11948 |
# File 'lib/v20181119/models.rb', line 11941 def deserialize(params) @Item = params['Item'] @DetectedText = params['DetectedText'] unless params['Itemcoord'].nil? @Itemcoord = ItemCoord.new @Itemcoord.deserialize(params['Itemcoord']) end end |