tencentcloud-sdk-ocr 3.0.1188 → 3.0.1193

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20181119/models.rb +19 -7
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 299da0bc2c82b6146e6d216b1cc3176357b7d050
4
- data.tar.gz: 80e1d2ec29ad6b80b1cdc2b5d6f59802e86891c7
3
+ metadata.gz: 4a951aaf9b5fe92523e8f8404ec1b1b968c04f83
4
+ data.tar.gz: 0422e62df7187faab5be8da54ca2817fe6fd053a
5
5
  SHA512:
6
- metadata.gz: fb5d90f7183bf7be425ad88160edc35689c7a9cb09dc4990b76b2c0beb7e116773ee60490e18a3bc683b0eb941b5b22e6ffb34c86810b1a65904c0cfdd61ddfd
7
- data.tar.gz: d335d862b8abc2e56843ad33b919734d3edc673bcecb4efad5126b250e4d1923fd165990de3d7135e25be7e10c03c744b4f758a39f4392ccf19dcc7ef09693e9
6
+ metadata.gz: f2f319b2cdd6b74a1f09736732b2a8a57c1c81245cbac79287982ad198145b9f292a6c6885babca5413bc89a5de9353e9dbc758630807c7411465f22ed3c0836
7
+ data.tar.gz: b6e1fe7feb2d87f0a9e2582ff5b86bc375113feb59fd5f7c1de0c3a1444c2e92798cd297865541c34912a01a7477e7cc80cade8eeb5b388327db156dbb7a47b8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1188
1
+ 3.0.1193
@@ -5948,14 +5948,17 @@ module TencentCloud
5948
5948
  # @type Rect: :class:`Tencentcloud::Ocr.v20181119.models.Rect`
5949
5949
  # @param Color: 识别出的车牌颜色,目前支持颜色包括 “白”、“黑”、“蓝”、“绿“、“黄”、“黄绿”、“临牌”、“喷漆”、“其它”。
5950
5950
  # @type Color: String
5951
+ # @param LicensePlateCategory: 车牌类别, 如: 实体车牌、非实体车牌
5952
+ # @type LicensePlateCategory: String
5951
5953
 
5952
- attr_accessor :Number, :Confidence, :Rect, :Color
5954
+ attr_accessor :Number, :Confidence, :Rect, :Color, :LicensePlateCategory
5953
5955
 
5954
- def initialize(number=nil, confidence=nil, rect=nil, color=nil)
5956
+ def initialize(number=nil, confidence=nil, rect=nil, color=nil, licenseplatecategory=nil)
5955
5957
  @Number = number
5956
5958
  @Confidence = confidence
5957
5959
  @Rect = rect
5958
5960
  @Color = color
5961
+ @LicensePlateCategory = licenseplatecategory
5959
5962
  end
5960
5963
 
5961
5964
  def deserialize(params)
@@ -5966,6 +5969,7 @@ module TencentCloud
5966
5969
  @Rect.deserialize(params['Rect'])
5967
5970
  end
5968
5971
  @Color = params['Color']
5972
+ @LicensePlateCategory = params['LicensePlateCategory']
5969
5973
  end
5970
5974
  end
5971
5975
 
@@ -5997,21 +6001,24 @@ module TencentCloud
5997
6001
  # @type Confidence: Integer
5998
6002
  # @param Rect: 文本行在原图片中的像素坐标框。
5999
6003
  # @type Rect: :class:`Tencentcloud::Ocr.v20181119.models.Rect`
6000
- # @param Color: 识别出的车牌颜色,目前支持颜色包括 “白”、“黑”、“蓝”、“绿“、“黄”、“黄绿”、“临牌”、“喷漆”、“其它”。
6004
+ # @param Color: 识别出的车牌颜色,目前支持颜色包括 “白”、“黑”、“蓝”、“绿”、“黄”、“黄绿”、“临牌”、“喷漆”、“其它”。
6001
6005
  # @type Color: String
6002
6006
  # @param LicensePlateInfos: 全部车牌信息。
6003
6007
  # @type LicensePlateInfos: Array
6008
+ # @param LicensePlateCategory: 车牌类别, 如: 实体车牌、非实体车牌 示例值:实体车牌
6009
+ # @type LicensePlateCategory: String
6004
6010
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6005
6011
  # @type RequestId: String
6006
6012
 
6007
- attr_accessor :Number, :Confidence, :Rect, :Color, :LicensePlateInfos, :RequestId
6013
+ attr_accessor :Number, :Confidence, :Rect, :Color, :LicensePlateInfos, :LicensePlateCategory, :RequestId
6008
6014
 
6009
- def initialize(number=nil, confidence=nil, rect=nil, color=nil, licenseplateinfos=nil, requestid=nil)
6015
+ def initialize(number=nil, confidence=nil, rect=nil, color=nil, licenseplateinfos=nil, licenseplatecategory=nil, requestid=nil)
6010
6016
  @Number = number
6011
6017
  @Confidence = confidence
6012
6018
  @Rect = rect
6013
6019
  @Color = color
6014
6020
  @LicensePlateInfos = licenseplateinfos
6021
+ @LicensePlateCategory = licenseplatecategory
6015
6022
  @RequestId = requestid
6016
6023
  end
6017
6024
 
@@ -6031,6 +6038,7 @@ module TencentCloud
6031
6038
  @LicensePlateInfos << licenseplateinfo_tmp
6032
6039
  end
6033
6040
  end
6041
+ @LicensePlateCategory = params['LicensePlateCategory']
6034
6042
  @RequestId = params['RequestId']
6035
6043
  end
6036
6044
  end
@@ -9703,15 +9711,17 @@ module TencentCloud
9703
9711
  # @type AdvancedInfo: String
9704
9712
  # @param CardCount: 卡证正面图片中,证件主体的数量(仅请求曼谷地域[ap-bangkok]返回)
9705
9713
  # @type CardCount: Integer
9714
+ # @param IsComplete: 卡证字段是否完整,true:完整;false:不完整
9715
+ # @type IsComplete: Boolean
9706
9716
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9707
9717
  # @type RequestId: String
9708
9718
 
9709
- attr_accessor :ID, :ThaiName, :EnFirstName, :EnLastName, :IssueDate, :ExpirationDate, :EnIssueDate, :EnExpirationDate, :Birthday, :EnBirthday, :Religion, :SerialNumber, :Address, :LaserID, :PortraitImage, :WarnCardInfos, :AdvancedInfo, :CardCount, :RequestId
9719
+ attr_accessor :ID, :ThaiName, :EnFirstName, :EnLastName, :IssueDate, :ExpirationDate, :EnIssueDate, :EnExpirationDate, :Birthday, :EnBirthday, :Religion, :SerialNumber, :Address, :LaserID, :PortraitImage, :WarnCardInfos, :AdvancedInfo, :CardCount, :IsComplete, :RequestId
9710
9720
  extend Gem::Deprecate
9711
9721
  deprecate :AdvancedInfo, :none, 2025, 12
9712
9722
  deprecate :AdvancedInfo=, :none, 2025, 12
9713
9723
 
9714
- def initialize(id=nil, thainame=nil, enfirstname=nil, enlastname=nil, issuedate=nil, expirationdate=nil, enissuedate=nil, enexpirationdate=nil, birthday=nil, enbirthday=nil, religion=nil, serialnumber=nil, address=nil, laserid=nil, portraitimage=nil, warncardinfos=nil, advancedinfo=nil, cardcount=nil, requestid=nil)
9724
+ def initialize(id=nil, thainame=nil, enfirstname=nil, enlastname=nil, issuedate=nil, expirationdate=nil, enissuedate=nil, enexpirationdate=nil, birthday=nil, enbirthday=nil, religion=nil, serialnumber=nil, address=nil, laserid=nil, portraitimage=nil, warncardinfos=nil, advancedinfo=nil, cardcount=nil, iscomplete=nil, requestid=nil)
9715
9725
  @ID = id
9716
9726
  @ThaiName = thainame
9717
9727
  @EnFirstName = enfirstname
@@ -9730,6 +9740,7 @@ module TencentCloud
9730
9740
  @WarnCardInfos = warncardinfos
9731
9741
  @AdvancedInfo = advancedinfo
9732
9742
  @CardCount = cardcount
9743
+ @IsComplete = iscomplete
9733
9744
  @RequestId = requestid
9734
9745
  end
9735
9746
 
@@ -9752,6 +9763,7 @@ module TencentCloud
9752
9763
  @WarnCardInfos = params['WarnCardInfos']
9753
9764
  @AdvancedInfo = params['AdvancedInfo']
9754
9765
  @CardCount = params['CardCount']
9766
+ @IsComplete = params['IsComplete']
9755
9767
  @RequestId = params['RequestId']
9756
9768
  end
9757
9769
  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: 3.0.1188
4
+ version: 3.0.1193
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-12-23 00:00:00.000000000 Z
11
+ date: 2025-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common