tencentcloud-sdk-faceid 3.0.1094 → 3.0.1100
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180301/models.rb +15 -12
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f34eabef58a8cb1819e44e1e68307bbc8e4bb6d
|
4
|
+
data.tar.gz: d7ed70f0ab34c7407fc7a169d2970d07d873582f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3ce624b9a19ca5a878064d5e7c5f4998c3ede2f431e4379688307553e17c3c7ada25e8d53125edbe12ff4474cda236b4b534b25dcc4e0095a5104ce7b690cbb
|
7
|
+
data.tar.gz: e7243fd738ff7579df64cd845e27bb9bfc96e511f4f9f3aa8cf2f907f8e9ac36bbd130b039cb6f3e34e0e99fe4cea33772168fda5a1818e049e4e61cab4b0cfe
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1100
|
data/lib/v20180301/models.rb
CHANGED
@@ -319,8 +319,8 @@ module TencentCloud
|
|
319
319
|
|
320
320
|
attr_accessor :ReqTime, :Seq, :IdCard, :Idcard, :Name, :Sim, :IsNeedCharge, :ChargeType, :ErrorCode, :ErrorMessage
|
321
321
|
extend Gem::Deprecate
|
322
|
-
deprecate :Idcard, :none, 2025,
|
323
|
-
deprecate :Idcard=, :none, 2025,
|
322
|
+
deprecate :Idcard, :none, 2025, 7
|
323
|
+
deprecate :Idcard=, :none, 2025, 7
|
324
324
|
|
325
325
|
def initialize(reqtime=nil, seq=nil, idcard=nil, name=nil, sim=nil, isneedcharge=nil, chargetype=nil, errorcode=nil, errormessage=nil)
|
326
326
|
@ReqTime = reqtime
|
@@ -751,17 +751,18 @@ module TencentCloud
|
|
751
751
|
|
752
752
|
# DetectAIFakeFaces请求参数结构体
|
753
753
|
class DetectAIFakeFacesRequest < TencentCloud::Common::AbstractModel
|
754
|
-
# @param FaceInput:
|
754
|
+
# @param FaceInput: 传入需要检测的人脸图片或人脸视频(当前仅支持单人脸检测),使用base64编码的形式,如您的场景视频和图片都有,我们更建议您使用视频进行检测,为了提供更好的检测效果,请您注意以下输入数据的限制与建议:
|
755
|
+
|
755
756
|
# - 图片的Base64值:
|
756
|
-
# 建议整体图像480x640
|
757
|
+
# 建议整体图像480x640的分辨率,脸部大小在 100X100 以上,由手机前置摄像头拍摄。
|
757
758
|
# Base64编码后的图片数据大小建议不超过3M、最大不可超过10M,仅支持jpg、png格式。
|
758
759
|
# 请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
|
759
760
|
|
760
761
|
# - 视频的Base64值:
|
761
|
-
# Base64
|
762
|
+
# Base64编码后的大小建议在8M以内、最大不可超过10M,支持mp4、avi、flv格式,由手机前置摄像头拍摄。
|
763
|
+
# 视频建议时长为2~5s,最大不可超过20s。
|
764
|
+
# 视频分辨率建议为480x640(最大支持720p),帧率在25fps~30fps之间。
|
762
765
|
# 请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
|
763
|
-
# 视频时长最大支持20s,建议时长2~5s。
|
764
|
-
# 建议视频分辨率为480x640,帧率在25fps~30fps之间。
|
765
766
|
|
766
767
|
# 示例值:/9j/4AAQSkZJRg.....s97n//2Q==
|
767
768
|
# @type FaceInput: String
|
@@ -801,12 +802,14 @@ module TencentCloud
|
|
801
802
|
|
802
803
|
# DetectAIFakeFaces返回参数结构体
|
803
804
|
class DetectAIFakeFacesResponse < TencentCloud::Common::AbstractModel
|
804
|
-
# @param AttackRiskLevel:
|
805
|
-
# - Low
|
805
|
+
# @param AttackRiskLevel: 对于输入图片/视频的检测结果,检测是否存在人脸攻击。
|
806
|
+
# - Low:低攻击风险。
|
806
807
|
# - Mid:中度疑似攻击。
|
807
808
|
# - High:高度疑似攻击。
|
809
|
+
|
810
|
+
# 建议返回值为High时判断为拦截,Mid和Low判断为通过,以更好平衡安全性和通过率。
|
808
811
|
# @type AttackRiskLevel: String
|
809
|
-
# @param AttackRiskDetailList:
|
812
|
+
# @param AttackRiskDetailList: 检测到的疑似攻击痕迹列表,仅当AttackRiskLevel为High或Mid时返回。
|
810
813
|
# - 说明:未检测到攻击痕迹时,返回空数组。
|
811
814
|
# - 此出参仅作为结果判断的参考,实际应用仍建议使用AttackRiskLevel的结果。
|
812
815
|
# @type AttackRiskDetailList: Array
|
@@ -3156,8 +3159,8 @@ module TencentCloud
|
|
3156
3159
|
|
3157
3160
|
attr_accessor :IntentionVerifyVideo, :AsrResult, :ErrorCode, :ErrorMessage, :IntentionVerifyBestFrame, :AsrResultSimilarity
|
3158
3161
|
extend Gem::Deprecate
|
3159
|
-
deprecate :AsrResultSimilarity, :none, 2025,
|
3160
|
-
deprecate :AsrResultSimilarity=, :none, 2025,
|
3162
|
+
deprecate :AsrResultSimilarity, :none, 2025, 7
|
3163
|
+
deprecate :AsrResultSimilarity=, :none, 2025, 7
|
3161
3164
|
|
3162
3165
|
def initialize(intentionverifyvideo=nil, asrresult=nil, errorcode=nil, errormessage=nil, intentionverifybestframe=nil, asrresultsimilarity=nil)
|
3163
3166
|
@IntentionVerifyVideo = intentionverifyvideo
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-faceid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1100
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-07-
|
11
|
+
date: 2025-07-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|