Class: TencentCloud::Vm::V20201229::ImageResultsResultDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vm::V20201229::ImageResultsResultDetail
- Defined in:
- lib/v20201229/models.rb
Overview
具体场景下的图片识别结果
Instance Attribute Summary collapse
-
#Keywords ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#Label ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#LibId ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#LibName ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#Location ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#Name ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#OcrHitInfos ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#Score ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#SubLabel ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#SubLabelCode ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#Suggestion ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#Text ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, text = nil, location = nil, label = nil, libid = nil, libname = nil, keywords = nil, suggestion = nil, score = nil, sublabelcode = nil, sublabel = nil, ocrhitinfos = nil) ⇒ ImageResultsResultDetail
constructor
A new instance of ImageResultsResultDetail.
Constructor Details
#initialize(name = nil, text = nil, location = nil, label = nil, libid = nil, libname = nil, keywords = nil, suggestion = nil, score = nil, sublabelcode = nil, sublabel = nil, ocrhitinfos = nil) ⇒ ImageResultsResultDetail
Returns a new instance of ImageResultsResultDetail.
941 942 943 944 945 946 947 948 949 950 951 952 953 954 |
# File 'lib/v20201229/models.rb', line 941 def initialize(name=nil, text=nil, location=nil, label=nil, libid=nil, libname=nil, keywords=nil, suggestion=nil, score=nil, sublabelcode=nil, sublabel=nil, ocrhitinfos=nil) @Name = name @Text = text @Location = location @Label = label @LibId = libid @LibName = libname @Keywords = keywords @Suggestion = suggestion @Score = score @SubLabelCode = sublabelcode @SubLabel = sublabel @OcrHitInfos = ocrhitinfos end |
Instance Attribute Details
#Keywords ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
939 940 941 |
# File 'lib/v20201229/models.rb', line 939 def Keywords @Keywords end |
#Label ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
939 940 941 |
# File 'lib/v20201229/models.rb', line 939 def Label @Label end |
#LibId ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
939 940 941 |
# File 'lib/v20201229/models.rb', line 939 def LibId @LibId end |
#LibName ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
939 940 941 |
# File 'lib/v20201229/models.rb', line 939 def LibName @LibName end |
#Location ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
939 940 941 |
# File 'lib/v20201229/models.rb', line 939 def Location @Location end |
#Name ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
939 940 941 |
# File 'lib/v20201229/models.rb', line 939 def Name @Name end |
#OcrHitInfos ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
939 940 941 |
# File 'lib/v20201229/models.rb', line 939 def OcrHitInfos @OcrHitInfos end |
#Score ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
939 940 941 |
# File 'lib/v20201229/models.rb', line 939 def Score @Score end |
#SubLabel ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
939 940 941 |
# File 'lib/v20201229/models.rb', line 939 def SubLabel @SubLabel end |
#SubLabelCode ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
939 940 941 |
# File 'lib/v20201229/models.rb', line 939 def SubLabelCode @SubLabelCode end |
#Suggestion ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
939 940 941 |
# File 'lib/v20201229/models.rb', line 939 def Suggestion @Suggestion end |
#Text ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
939 940 941 |
# File 'lib/v20201229/models.rb', line 939 def Text @Text end |
Instance Method Details
#deserialize(params) ⇒ Object
956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 |
# File 'lib/v20201229/models.rb', line 956 def deserialize(params) @Name = params['Name'] @Text = params['Text'] unless params['Location'].nil? @Location = ImageResultsResultDetailLocation.new @Location.deserialize(params['Location']) end @Label = params['Label'] @LibId = params['LibId'] @LibName = params['LibName'] @Keywords = params['Keywords'] @Suggestion = params['Suggestion'] @Score = params['Score'] @SubLabelCode = params['SubLabelCode'] @SubLabel = params['SubLabel'] unless params['OcrHitInfos'].nil? @OcrHitInfos = [] params['OcrHitInfos'].each do |i| hitinfo_tmp = HitInfo.new hitinfo_tmp.deserialize(i) @OcrHitInfos << hitinfo_tmp end end end |