Class: TencentCloud::Ims::V20200713::OcrTextDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ims::V20200713::OcrTextDetail
- Defined in:
- lib/v20200713/models.rb
Overview
OCR文本结果详情
Instance Attribute Summary collapse
-
#Keywords ⇒ Object
以及令人反感、不安全或不适宜的内容类型。.
-
#Label ⇒ Object
以及令人反感、不安全或不适宜的内容类型。.
-
#LibId ⇒ Object
以及令人反感、不安全或不适宜的内容类型。.
-
#LibName ⇒ Object
以及令人反感、不安全或不适宜的内容类型。.
-
#Location ⇒ Object
以及令人反感、不安全或不适宜的内容类型。.
-
#Rate ⇒ Object
以及令人反感、不安全或不适宜的内容类型。.
-
#Score ⇒ Object
以及令人反感、不安全或不适宜的内容类型。.
-
#SubLabel ⇒ Object
以及令人反感、不安全或不适宜的内容类型。.
-
#Text ⇒ Object
以及令人反感、不安全或不适宜的内容类型。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(text = nil, label = nil, libid = nil, libname = nil, keywords = nil, score = nil, location = nil, rate = nil, sublabel = nil) ⇒ OcrTextDetail
constructor
A new instance of OcrTextDetail.
Constructor Details
#initialize(text = nil, label = nil, libid = nil, libname = nil, keywords = nil, score = nil, location = nil, rate = nil, sublabel = nil) ⇒ OcrTextDetail
Returns a new instance of OcrTextDetail.
604 605 606 607 608 609 610 611 612 613 614 |
# File 'lib/v20200713/models.rb', line 604 def initialize(text=nil, label=nil, libid=nil, libname=nil, keywords=nil, score=nil, location=nil, rate=nil, sublabel=nil) @Text = text @Label = label @LibId = libid @LibName = libname @Keywords = keywords @Score = score @Location = location @Rate = rate @SubLabel = sublabel end |
Instance Attribute Details
#Keywords ⇒ Object
以及令人反感、不安全或不适宜的内容类型。
602 603 604 |
# File 'lib/v20200713/models.rb', line 602 def Keywords @Keywords end |
#Label ⇒ Object
以及令人反感、不安全或不适宜的内容类型。
602 603 604 |
# File 'lib/v20200713/models.rb', line 602 def Label @Label end |
#LibId ⇒ Object
以及令人反感、不安全或不适宜的内容类型。
602 603 604 |
# File 'lib/v20200713/models.rb', line 602 def LibId @LibId end |
#LibName ⇒ Object
以及令人反感、不安全或不适宜的内容类型。
602 603 604 |
# File 'lib/v20200713/models.rb', line 602 def LibName @LibName end |
#Location ⇒ Object
以及令人反感、不安全或不适宜的内容类型。
602 603 604 |
# File 'lib/v20200713/models.rb', line 602 def Location @Location end |
#Rate ⇒ Object
以及令人反感、不安全或不适宜的内容类型。
602 603 604 |
# File 'lib/v20200713/models.rb', line 602 def Rate @Rate end |
#Score ⇒ Object
以及令人反感、不安全或不适宜的内容类型。
602 603 604 |
# File 'lib/v20200713/models.rb', line 602 def Score @Score end |
#SubLabel ⇒ Object
以及令人反感、不安全或不适宜的内容类型。
602 603 604 |
# File 'lib/v20200713/models.rb', line 602 def SubLabel @SubLabel end |
#Text ⇒ Object
以及令人反感、不安全或不适宜的内容类型。
602 603 604 |
# File 'lib/v20200713/models.rb', line 602 def Text @Text end |
Instance Method Details
#deserialize(params) ⇒ Object
616 617 618 619 620 621 622 623 624 625 626 627 628 629 |
# File 'lib/v20200713/models.rb', line 616 def deserialize(params) @Text = params['Text'] @Label = params['Label'] @LibId = params['LibId'] @LibName = params['LibName'] @Keywords = params['Keywords'] @Score = params['Score'] unless params['Location'].nil? @Location = Location.new @Location.deserialize(params['Location']) end @Rate = params['Rate'] @SubLabel = params['SubLabel'] end |