tencentcloud-sdk-ocr 1.0.334 → 1.0.337
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/v20181119/client.rb +1 -1
- data/lib/v20181119/models.rb +9 -3
- 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: df3e5faceff8b7459e1e935edc7a1a54fc39e267
|
4
|
+
data.tar.gz: e92b5f0f742cc392c6151562880d4df9ac91236d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7c0c231438d68db3cc29bf2aaa28285224711390f84b3d15c42a9b1b177afe718210f1d4ef7097b0be63486affcc25247a33ac364aaa623aefa71aa7657a712
|
7
|
+
data.tar.gz: 3126ab7f9703b6f8d5e393fddd8abb6b3227670d03e03b5084c798859f4aed71de5aca16fa14ce5d3712481102505779a959ead225499b6036a80f6e671badd5
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.337
|
data/lib/v20181119/client.rb
CHANGED
@@ -1328,7 +1328,7 @@ module TencentCloud
|
|
1328
1328
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1329
1329
|
end
|
1330
1330
|
|
1331
|
-
#
|
1331
|
+
# 本接口支持北京、上海、广东、江苏、吉林、黑龙江、天津、辽宁、浙江、河南、四川、贵州、山东、安徽、福建、江西、湖南等省份健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,疫苗接种信息,八个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
|
1332
1332
|
|
1333
1333
|
# @param request: Request instance for RecognizeHealthCodeOCR.
|
1334
1334
|
# @type request: :class:`Tencentcloud::ocr::V20181119::RecognizeHealthCodeOCRRequest`
|
data/lib/v20181119/models.rb
CHANGED
@@ -3258,9 +3258,11 @@ module TencentCloud
|
|
3258
3258
|
# 8:通用机打发票
|
3259
3259
|
# 9:汽车票
|
3260
3260
|
# 10:轮船票
|
3261
|
-
# 11
|
3261
|
+
# 11:增值税发票(卷票)
|
3262
3262
|
# 12:购车发票
|
3263
3263
|
# 13:过路过桥费发票
|
3264
|
+
# 15:非税发票
|
3265
|
+
# 16:全电发票
|
3264
3266
|
# @type Type: Integer
|
3265
3267
|
# @param Rect: 识别出的图片在混贴票据图片中的位置信息。与Angel结合可以得出原图位置,组成RotatedRect((X+0.5\*Width,Y+0.5\*Height), (Width, Height), Angle),详情可参考OpenCV文档。
|
3266
3268
|
# @type Rect: :class:`Tencentcloud::Ocr.v20181119.models.Rect`
|
@@ -4345,12 +4347,14 @@ module TencentCloud
|
|
4345
4347
|
# @type TestingResult: String
|
4346
4348
|
# @param TestingTime: 核酸检测时间(允许返回空值)
|
4347
4349
|
# @type TestingTime: String
|
4350
|
+
# @param Vaccination: 疫苗接种信息,返回接种针数或接种情况(允许返回空值)
|
4351
|
+
# @type Vaccination: String
|
4348
4352
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4349
4353
|
# @type RequestId: String
|
4350
4354
|
|
4351
|
-
attr_accessor :Name, :IDNumber, :Time, :Color, :TestingInterval, :TestingResult, :TestingTime, :RequestId
|
4355
|
+
attr_accessor :Name, :IDNumber, :Time, :Color, :TestingInterval, :TestingResult, :TestingTime, :Vaccination, :RequestId
|
4352
4356
|
|
4353
|
-
def initialize(name=nil, idnumber=nil, time=nil, color=nil, testinginterval=nil, testingresult=nil, testingtime=nil, requestid=nil)
|
4357
|
+
def initialize(name=nil, idnumber=nil, time=nil, color=nil, testinginterval=nil, testingresult=nil, testingtime=nil, vaccination=nil, requestid=nil)
|
4354
4358
|
@Name = name
|
4355
4359
|
@IDNumber = idnumber
|
4356
4360
|
@Time = time
|
@@ -4358,6 +4362,7 @@ module TencentCloud
|
|
4358
4362
|
@TestingInterval = testinginterval
|
4359
4363
|
@TestingResult = testingresult
|
4360
4364
|
@TestingTime = testingtime
|
4365
|
+
@Vaccination = vaccination
|
4361
4366
|
@RequestId = requestid
|
4362
4367
|
end
|
4363
4368
|
|
@@ -4369,6 +4374,7 @@ module TencentCloud
|
|
4369
4374
|
@TestingInterval = params['TestingInterval']
|
4370
4375
|
@TestingResult = params['TestingResult']
|
4371
4376
|
@TestingTime = params['TestingTime']
|
4377
|
+
@Vaccination = params['Vaccination']
|
4372
4378
|
@RequestId = params['RequestId']
|
4373
4379
|
end
|
4374
4380
|
end
|
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: 1.0.
|
4
|
+
version: 1.0.337
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06-
|
11
|
+
date: 2022-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|