tencentcloud-sdk-ims 3.0.496 → 3.0.498

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3943292f220d8294c53e901436c7126d825bfa3d
4
- data.tar.gz: 4af7804db035c0aafa3567f82fe089383d7b6f1b
3
+ metadata.gz: 02798b5eb0f7232493fd5329562c42429782d1a7
4
+ data.tar.gz: eb4f4118868fc940f71708b1c9243c9e6e764789
5
5
  SHA512:
6
- metadata.gz: 065772fbcb97c2146b7355a20ee43cec70e3da989ddb64012a0815298ec2ec6463e084118a71e4f53d688b988c7258868a423bca546d9f6f59330ac62d0575c5
7
- data.tar.gz: a6d41e05d3bffae71049f0bf4b91801b1910e06affe458d99ed4b81a1308ca2842885717b285f1d026e87e7c2f89aee2d5efa823ba5394c8b8c32307554776f2
6
+ metadata.gz: 009be6dc361710bbd5db5a41f91d355534acdaf5c11e0ed24d332104c55de41a370895ffef927d36ff9e2ae0bc1cd525d7fc3df8482f90987750f6227547cdc8
7
+ data.tar.gz: 1cb64327780da435b4e6f8fe5a000c50ffd2af839d66cfc447a635556a2f576731e93abd8e9f1be3b8bcf1748defb84359f80a792a84cbeb0668f5bb0fde64f9
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.496
1
+ 3.0.498
@@ -45,11 +45,13 @@ module TencentCloud
45
45
 
46
46
  # ### 接口调用说明:
47
47
  # - 图片文件大小支持:**文件 < 5M**
48
+ # - 图片尺寸支持:**长或者宽 >50分辨率**和**长或者宽<10000分辨率**
48
49
  # - 图片文件分辨率支持:建议**分辨率大于256x256**,否则可能会影响识别效果;
49
50
  # - 图片文件支持格式:PNG、JPG、JPEG、BMP、GIF、WEBP格式;
50
51
  # - 图片文件链接支持的传输协议:HTTP、HTTPS;
51
52
  # - 若传入图片文件的访问链接,则需要注意**图片下载时间限制为3秒**,为保障被检测图片的稳定性和可靠性,建议您使用腾讯云COS存储或者CDN缓存等;
52
53
  # - 默认接口请求频率限制:**100次/秒**,超过此调用频率则会报错。
54
+ # -审核列表中,排序是按照用户通过API接口上传调用的时间进行排序;
53
55
 
54
56
  # <div class="rno-api-explorer" style="margin-bottom:20px">
55
57
  # <div class="rno-api-explorer-inner">
@@ -143,12 +143,15 @@ module TencentCloud
143
143
  # @type Extra: String
144
144
  # @param FileMD5: 该字段用于返回检测对象对应的MD5校验值,以方便校验文件完整性。
145
145
  # @type FileMD5: String
146
+ # @param RecognitionResults: 该字段用于返回仅识别图片元素的模型结果;包括:场景模型命中的标签、置信度和位置信息
147
+ # 注意:此字段可能返回 null,表示取不到有效值。
148
+ # @type RecognitionResults: Array
146
149
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
147
150
  # @type RequestId: String
148
151
 
149
- attr_accessor :Suggestion, :Label, :SubLabel, :Score, :LabelResults, :ObjectResults, :OcrResults, :LibResults, :DataId, :BizType, :Extra, :FileMD5, :RequestId
152
+ attr_accessor :Suggestion, :Label, :SubLabel, :Score, :LabelResults, :ObjectResults, :OcrResults, :LibResults, :DataId, :BizType, :Extra, :FileMD5, :RecognitionResults, :RequestId
150
153
 
151
- def initialize(suggestion=nil, label=nil, sublabel=nil, score=nil, labelresults=nil, objectresults=nil, ocrresults=nil, libresults=nil, dataid=nil, biztype=nil, extra=nil, filemd5=nil, requestid=nil)
154
+ def initialize(suggestion=nil, label=nil, sublabel=nil, score=nil, labelresults=nil, objectresults=nil, ocrresults=nil, libresults=nil, dataid=nil, biztype=nil, extra=nil, filemd5=nil, recognitionresults=nil, requestid=nil)
152
155
  @Suggestion = suggestion
153
156
  @Label = label
154
157
  @SubLabel = sublabel
@@ -161,6 +164,7 @@ module TencentCloud
161
164
  @BizType = biztype
162
165
  @Extra = extra
163
166
  @FileMD5 = filemd5
167
+ @RecognitionResults = recognitionresults
164
168
  @RequestId = requestid
165
169
  end
166
170
 
@@ -205,6 +209,14 @@ module TencentCloud
205
209
  @BizType = params['BizType']
206
210
  @Extra = params['Extra']
207
211
  @FileMD5 = params['FileMD5']
212
+ unless params['RecognitionResults'].nil?
213
+ @RecognitionResults = []
214
+ params['RecognitionResults'].each do |i|
215
+ recognitionresult_tmp = RecognitionResult.new
216
+ recognitionresult_tmp.deserialize(i)
217
+ @RecognitionResults << recognitionresult_tmp
218
+ end
219
+ end
208
220
  @RequestId = params['RequestId']
209
221
  end
210
222
  end
@@ -587,6 +599,65 @@ module TencentCloud
587
599
  end
588
600
  end
589
601
 
602
+ # 识别类型标签结果信息
603
+ class RecognitionResult < TencentCloud::Common::AbstractModel
604
+ # @param Label: 当前可能的取值:Scene(图片场景模型)
605
+ # 注意:此字段可能返回 null,表示取不到有效值。
606
+ # @type Label: String
607
+ # @param Tags: Label对应模型下的识别标签信息
608
+ # 注意:此字段可能返回 null,表示取不到有效值。
609
+ # @type Tags: Array
610
+
611
+ attr_accessor :Label, :Tags
612
+
613
+ def initialize(label=nil, tags=nil)
614
+ @Label = label
615
+ @Tags = tags
616
+ end
617
+
618
+ def deserialize(params)
619
+ @Label = params['Label']
620
+ unless params['Tags'].nil?
621
+ @Tags = []
622
+ params['Tags'].each do |i|
623
+ recognitiontag_tmp = RecognitionTag.new
624
+ recognitiontag_tmp.deserialize(i)
625
+ @Tags << recognitiontag_tmp
626
+ end
627
+ end
628
+ end
629
+ end
630
+
631
+ # 识别类型标签信息
632
+ class RecognitionTag < TencentCloud::Common::AbstractModel
633
+ # @param Name: 标签名称
634
+ # 注意:此字段可能返回 null,表示取不到有效值。
635
+ # @type Name: String
636
+ # @param Score: 置信分:0~100,数值越大表示置信度越高
637
+ # 注意:此字段可能返回 null,表示取不到有效值。
638
+ # @type Score: Integer
639
+ # @param Location: 标签位置信息,若模型无位置信息,则可能为零值
640
+ # 注意:此字段可能返回 null,表示取不到有效值。
641
+ # @type Location: :class:`Tencentcloud::Ims.v20201229.models.Location`
642
+
643
+ attr_accessor :Name, :Score, :Location
644
+
645
+ def initialize(name=nil, score=nil, location=nil)
646
+ @Name = name
647
+ @Score = score
648
+ @Location = location
649
+ end
650
+
651
+ def deserialize(params)
652
+ @Name = params['Name']
653
+ @Score = params['Score']
654
+ unless params['Location'].nil?
655
+ @Location = Location.new
656
+ @Location.deserialize(params['Location'])
657
+ end
658
+ end
659
+ end
660
+
590
661
  # 用于表示业务用户的账号相关信息
591
662
  class User < TencentCloud::Common::AbstractModel
592
663
  # @param UserId: 该字段表示业务用户ID,填写后,系统可根据账号过往违规历史优化审核结果判定,有利于存在可疑违规风险时的辅助判断。<br>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ims
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.496
4
+ version: 3.0.498
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-19 00:00:00.000000000 Z
11
+ date: 2023-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common