tencentcloud-sdk-ocr 3.0.955 → 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: 2e7c5d967c4b59d85ddfe20cce43381fb2e009b6
4
- data.tar.gz: 4521fcdf60110338668a0f264dd2a12a07da284d
3
+ metadata.gz: ef9ab09c03b7ac6421c36aed548723915ef74060
4
+ data.tar.gz: 04d02517aaf89436f639dd9b3d99301aed2cb01d
5
5
  SHA512:
6
- metadata.gz: 4c6312e6ed77a32bb7545e1b88b788c79e76f7d48fe7982e47d3d51afe9035ecfcc32443896275c57876a4d38a18ae01b8e5404f22ce696c78013d0b029040f4
7
- data.tar.gz: 562a5b2c833aab12a6022483aaa9571074bcaf9142480e09fdfe7f4dfaaaa5d63b3482ee53ec4ce94f7f621befdfa051bf323422f0e8492ca9128838d9efbdcb
6
+ metadata.gz: 042813a5de8f48a1bd366c1344d754b55482101a905005a78bae0991b6996c04c79e05a29582709b26489684d2936802d0737f2242af4efc8bcf09fd46fd80b7
7
+ data.tar.gz: 1ae691fa596707e2ba11547eafd3b135d2de4066359c5692592f05f0d0cc413e428c2358e150506b385dc481d03a328205fd27f5c517c501c283ff37e6dd28d3
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.955
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.955
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