tencentcloud-sdk-ocr 1.0.355 → 1.0.358

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a5ed24be32a29a3e795eb11c05a62cc9ffc6dbbb
4
- data.tar.gz: 82e366fb5184fbe768a81c08eff9f8c071537289
3
+ metadata.gz: ec3ca75383f3fdf6dc8de2ad4237fd185cc90b3d
4
+ data.tar.gz: bfb6c9df026b3411403c6a76e2e466f64768bc79
5
5
  SHA512:
6
- metadata.gz: 41b7c72b0432551e131059be4b5bd3dfb615808d920d37010a55f867576bd7c2b79de6d891d18c03c8a9f4bf9545b969ba66d453c12a872f83d01fee4b1162c0
7
- data.tar.gz: b7ed855e757a5727595723b4ccdbee30df195f3da70a61e2474140146263df1bd41bcfd5dfcdca7c45dc84d908b82cc20a53d47322a4cc782c7e822755144259
6
+ metadata.gz: 58c9a1e46b898c030113f99bcff188675b49617bbf366d25dc489c1ebc7f783be77c1a9bffd52e380cbd46332e9ebaf4edfbaa6c6ce291271f13a9933d8b5c63
7
+ data.tar.gz: f1359c80cce16a05023a919fe0110a9709ebb404f42d9fa8947175eb942f3c222e17c6d82b8f8303a59ca6131b1bf4cd42abd89e059937f9d73276ade4fd557f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.355
1
+ 1.0.358
@@ -799,7 +799,6 @@ module TencentCloud
799
799
  end
800
800
 
801
801
  # 本接口支持中国香港身份证人像面中关键字段的识别,包括中文姓名、英文姓名、姓名电码、出生日期、性别、证件符号、首次签发日期、最近领用日期、身份证号、是否是永久性居民身份证;具备防伪识别、人像照片裁剪等扩展功能。
802
- # 本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
803
802
 
804
803
  # @param request: Request instance for HKIDCardOCR.
805
804
  # @type request: :class:`Tencentcloud::ocr::V20181119::HKIDCardOCRRequest`
@@ -990,6 +989,8 @@ module TencentCloud
990
989
 
991
990
  # 本接口支持对中国大陆机动车车牌的自动定位和识别,返回地域编号和车牌号码与车牌颜色信息。
992
991
 
992
+ # 默认接口请求频率限制:10次/秒。
993
+
993
994
  # @param request: Request instance for LicensePlateOCR.
994
995
  # @type request: :class:`Tencentcloud::ocr::V20181119::LicensePlateOCRRequest`
995
996
  # @rtype: :class:`Tencentcloud::ocr::V20181119::LicensePlateOCRResponse`
@@ -2067,6 +2068,8 @@ module TencentCloud
2067
2068
 
2068
2069
  # 本接口支持市面上主流版式电子运单的识别,包括收件人和寄件人的姓名、电话、地址以及运单号等字段,精度均处于业界领先水平,识别准确率达到99%以上。
2069
2070
 
2071
+ # 默认接口请求频率限制:10次/秒。
2072
+
2070
2073
  # @param request: Request instance for WaybillOCR.
2071
2074
  # @type request: :class:`Tencentcloud::ocr::V20181119::WaybillOCRRequest`
2072
2075
  # @rtype: :class:`Tencentcloud::ocr::V20181119::WaybillOCRResponse`
@@ -2838,6 +2838,37 @@ module TencentCloud
2838
2838
  end
2839
2839
  end
2840
2840
 
2841
+ # 全部车牌信息
2842
+ class LicensePlateInfo < TencentCloud::Common::AbstractModel
2843
+ # @param Number: 识别出的车牌号码。
2844
+ # @type Number: String
2845
+ # @param Confidence: 置信度,0 - 100 之间。
2846
+ # @type Confidence: Integer
2847
+ # @param Rect: 文本行在原图片中的像素坐标框。
2848
+ # @type Rect: :class:`Tencentcloud::Ocr.v20181119.models.Rect`
2849
+ # @param Color: 识别出的车牌颜色,目前支持颜色包括 “白”、“黑”、“蓝”、“绿“、“黄”、“黄绿”、“临牌”。
2850
+ # @type Color: String
2851
+
2852
+ attr_accessor :Number, :Confidence, :Rect, :Color
2853
+
2854
+ def initialize(number=nil, confidence=nil, rect=nil, color=nil)
2855
+ @Number = number
2856
+ @Confidence = confidence
2857
+ @Rect = rect
2858
+ @Color = color
2859
+ end
2860
+
2861
+ def deserialize(params)
2862
+ @Number = params['Number']
2863
+ @Confidence = params['Confidence']
2864
+ unless params['Rect'].nil?
2865
+ @Rect = Rect.new
2866
+ @Rect.deserialize(params['Rect'])
2867
+ end
2868
+ @Color = params['Color']
2869
+ end
2870
+ end
2871
+
2841
2872
  # LicensePlateOCR请求参数结构体
2842
2873
  class LicensePlateOCRRequest < TencentCloud::Common::AbstractModel
2843
2874
  # @param ImageBase64: 图片的 Base64 值。
@@ -2875,16 +2906,19 @@ module TencentCloud
2875
2906
  # @type Rect: :class:`Tencentcloud::Ocr.v20181119.models.Rect`
2876
2907
  # @param Color: 识别出的车牌颜色,目前支持颜色包括 “白”、“黑”、“蓝”、“绿“、“黄”、“黄绿”、“临牌”。
2877
2908
  # @type Color: String
2909
+ # @param LicensePlateInfos: 全部车牌信息。
2910
+ # @type LicensePlateInfos: Array
2878
2911
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2879
2912
  # @type RequestId: String
2880
2913
 
2881
- attr_accessor :Number, :Confidence, :Rect, :Color, :RequestId
2914
+ attr_accessor :Number, :Confidence, :Rect, :Color, :LicensePlateInfos, :RequestId
2882
2915
 
2883
- def initialize(number=nil, confidence=nil, rect=nil, color=nil, requestid=nil)
2916
+ def initialize(number=nil, confidence=nil, rect=nil, color=nil, licenseplateinfos=nil, requestid=nil)
2884
2917
  @Number = number
2885
2918
  @Confidence = confidence
2886
2919
  @Rect = rect
2887
2920
  @Color = color
2921
+ @LicensePlateInfos = licenseplateinfos
2888
2922
  @RequestId = requestid
2889
2923
  end
2890
2924
 
@@ -2896,6 +2930,14 @@ module TencentCloud
2896
2930
  @Rect.deserialize(params['Rect'])
2897
2931
  end
2898
2932
  @Color = params['Color']
2933
+ unless params['LicensePlateInfos'].nil?
2934
+ @LicensePlateInfos = []
2935
+ params['LicensePlateInfos'].each do |i|
2936
+ licenseplateinfo_tmp = LicensePlateInfo.new
2937
+ licenseplateinfo_tmp.deserialize(i)
2938
+ @LicensePlateInfos << licenseplateinfo_tmp
2939
+ end
2940
+ end
2899
2941
  @RequestId = params['RequestId']
2900
2942
  end
2901
2943
  end
@@ -7472,10 +7514,14 @@ module TencentCloud
7472
7514
  # @type MotorBankName: String
7473
7515
  # @param MotorBankAccount: 账号
7474
7516
  # @type MotorBankAccount: String
7517
+ # @param SellerAddress: 销售地址
7518
+ # @type SellerAddress: String
7519
+ # @param SellerTel: 销售电话
7520
+ # @type SellerTel: String
7475
7521
 
7476
- attr_accessor :CarType, :PlateModel, :ProduceAddress, :CertificateNo, :ImportNo, :VinNo, :PayTaxesNo, :Tonnage, :LimitCount, :EngineNo, :BizCheckFormNo, :TaxtationOrgCode, :TaxtationOrgName, :MotorTaxRate, :MotorBankName, :MotorBankAccount
7522
+ attr_accessor :CarType, :PlateModel, :ProduceAddress, :CertificateNo, :ImportNo, :VinNo, :PayTaxesNo, :Tonnage, :LimitCount, :EngineNo, :BizCheckFormNo, :TaxtationOrgCode, :TaxtationOrgName, :MotorTaxRate, :MotorBankName, :MotorBankAccount, :SellerAddress, :SellerTel
7477
7523
 
7478
- def initialize(cartype=nil, platemodel=nil, produceaddress=nil, certificateno=nil, importno=nil, vinno=nil, paytaxesno=nil, tonnage=nil, limitcount=nil, engineno=nil, bizcheckformno=nil, taxtationorgcode=nil, taxtationorgname=nil, motortaxrate=nil, motorbankname=nil, motorbankaccount=nil)
7524
+ def initialize(cartype=nil, platemodel=nil, produceaddress=nil, certificateno=nil, importno=nil, vinno=nil, paytaxesno=nil, tonnage=nil, limitcount=nil, engineno=nil, bizcheckformno=nil, taxtationorgcode=nil, taxtationorgname=nil, motortaxrate=nil, motorbankname=nil, motorbankaccount=nil, selleraddress=nil, sellertel=nil)
7479
7525
  @CarType = cartype
7480
7526
  @PlateModel = platemodel
7481
7527
  @ProduceAddress = produceaddress
@@ -7492,6 +7538,8 @@ module TencentCloud
7492
7538
  @MotorTaxRate = motortaxrate
7493
7539
  @MotorBankName = motorbankname
7494
7540
  @MotorBankAccount = motorbankaccount
7541
+ @SellerAddress = selleraddress
7542
+ @SellerTel = sellertel
7495
7543
  end
7496
7544
 
7497
7545
  def deserialize(params)
@@ -7511,6 +7559,8 @@ module TencentCloud
7511
7559
  @MotorTaxRate = params['MotorTaxRate']
7512
7560
  @MotorBankName = params['MotorBankName']
7513
7561
  @MotorBankAccount = params['MotorBankAccount']
7562
+ @SellerAddress = params['SellerAddress']
7563
+ @SellerTel = params['SellerTel']
7514
7564
  end
7515
7565
  end
7516
7566
 
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.355
4
+ version: 1.0.358
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-07-13 00:00:00.000000000 Z
11
+ date: 2022-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common