tencentcloud-sdk-ocr 3.0.954 → 3.0.956

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6f3cbfcd7a7ecfe3043bebf94ab4f136f82eefdc
4
- data.tar.gz: ed172155c065f4d8a518a8c501f92a1489f5aedf
3
+ metadata.gz: ef9ab09c03b7ac6421c36aed548723915ef74060
4
+ data.tar.gz: 04d02517aaf89436f639dd9b3d99301aed2cb01d
5
5
  SHA512:
6
- metadata.gz: dac7bf0f9a967a19963cdf455476109b79b6042a1333d6e0793578625f23be41528f283b971124d672cc1a5e6ce8cff9173724f73d0ff08432daac2d61a328a0
7
- data.tar.gz: bead8dac82d51864a91d65eab464425200297d0e93e67597e817a90f4f99a215410d46f9df387e35b05e532925fa17258d6cae88ec472f645a4d9d87d57986a4
6
+ metadata.gz: 042813a5de8f48a1bd366c1344d754b55482101a905005a78bae0991b6996c04c79e05a29582709b26489684d2936802d0737f2242af4efc8bcf09fd46fd80b7
7
+ data.tar.gz: 1ae691fa596707e2ba11547eafd3b135d2de4066359c5692592f05f0d0cc413e428c2358e150506b385dc481d03a328205fd27f5c517c501c283ff37e6dd28d3
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.954
1
+ 3.0.956
@@ -4353,16 +4353,19 @@ module TencentCloud
4353
4353
 
4354
4354
  # 此开关需要在反光检测开关开启下才会生效(即此开关生效的前提是config入参里的"ReflectWarn":true),若EnableReflectDetail设置为true,则会返回反光点覆盖区域详情。反光点覆盖区域详情分为四部分:人像照片位置、国徽位置、识别字段位置、其他位置。一个反光点允许覆盖多个区域,且一张图片可能存在多个反光点。
4355
4355
  # @type EnableReflectDetail: Boolean
4356
+ # @param EnableDateVerify: 用于控制是否开启日期校验,默认值为true,打开会进行日期校验。
4357
+ # @type EnableDateVerify: Boolean
4356
4358
 
4357
- attr_accessor :ImageBase64, :ImageUrl, :CardSide, :Config, :EnableRecognitionRectify, :EnableReflectDetail
4359
+ attr_accessor :ImageBase64, :ImageUrl, :CardSide, :Config, :EnableRecognitionRectify, :EnableReflectDetail, :EnableDateVerify
4358
4360
 
4359
- def initialize(imagebase64=nil, imageurl=nil, cardside=nil, config=nil, enablerecognitionrectify=nil, enablereflectdetail=nil)
4361
+ def initialize(imagebase64=nil, imageurl=nil, cardside=nil, config=nil, enablerecognitionrectify=nil, enablereflectdetail=nil, enabledateverify=nil)
4360
4362
  @ImageBase64 = imagebase64
4361
4363
  @ImageUrl = imageurl
4362
4364
  @CardSide = cardside
4363
4365
  @Config = config
4364
4366
  @EnableRecognitionRectify = enablerecognitionrectify
4365
4367
  @EnableReflectDetail = enablereflectdetail
4368
+ @EnableDateVerify = enabledateverify
4366
4369
  end
4367
4370
 
4368
4371
  def deserialize(params)
@@ -4372,6 +4375,7 @@ module TencentCloud
4372
4375
  @Config = params['Config']
4373
4376
  @EnableRecognitionRectify = params['EnableRecognitionRectify']
4374
4377
  @EnableReflectDetail = params['EnableReflectDetail']
4378
+ @EnableDateVerify = params['EnableDateVerify']
4375
4379
  end
4376
4380
  end
4377
4381
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ocr
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.954
4
+ version: 3.0.956
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-04 00:00:00.000000000 Z
11
+ date: 2024-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common