tencentcloud-sdk-ocr 1.0.356 → 1.0.357

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: d91824cc235ba2aae452807fa9e50d9421003999
4
- data.tar.gz: b946d788c5853ef49f9fe7c1642bb8b8ce2d3b93
3
+ metadata.gz: 1f3ff726b03b5ee5adbf57545270b76190fc9b3c
4
+ data.tar.gz: 7e210b69f7e2b130b4119249bfffd7a7c70bccc5
5
5
  SHA512:
6
- metadata.gz: c6193298af9fdcc77d4e22f837e32202793fb7c8d0f1e22cb9190ae4e57b45bb14e687ac9dc6bec74183f75ce276ef44d7b21710a5d090c0522078ca0c5a8454
7
- data.tar.gz: c3a7b008034bf458fd37a482cd116f475881b90e1f1af755f54bd9a5e4b6f03b3eb70ea9926dfd51273c8dde453962b2c2ae38158095f6729809ac4d375a9930
6
+ metadata.gz: 6b0dd9eacc282bc2e6cf8cdf4c860b86782db941c289a8ab2a99b91ab868a74c78b8bf4a5a4f4e1f81dabc59acf406cee622457063a5ae28c17e51a0b54a0be8
7
+ data.tar.gz: 523402430969de5a162e9af2dc7d9a6d60049512e2b926031d745775cfdd30933f30e603597fad26752cd21118bf40b67654b572b9a0c68b7773a28efe90b697
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.356
1
+ 1.0.357
@@ -989,6 +989,8 @@ module TencentCloud
989
989
 
990
990
  # 本接口支持对中国大陆机动车车牌的自动定位和识别,返回地域编号和车牌号码与车牌颜色信息。
991
991
 
992
+ # 默认接口请求频率限制:10次/秒。
993
+
992
994
  # @param request: Request instance for LicensePlateOCR.
993
995
  # @type request: :class:`Tencentcloud::ocr::V20181119::LicensePlateOCRRequest`
994
996
  # @rtype: :class:`Tencentcloud::ocr::V20181119::LicensePlateOCRResponse`
@@ -2066,6 +2068,8 @@ module TencentCloud
2066
2068
 
2067
2069
  # 本接口支持市面上主流版式电子运单的识别,包括收件人和寄件人的姓名、电话、地址以及运单号等字段,精度均处于业界领先水平,识别准确率达到99%以上。
2068
2070
 
2071
+ # 默认接口请求频率限制:10次/秒。
2072
+
2069
2073
  # @param request: Request instance for WaybillOCR.
2070
2074
  # @type request: :class:`Tencentcloud::ocr::V20181119::WaybillOCRRequest`
2071
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
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.356
4
+ version: 1.0.357
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-14 00:00:00.000000000 Z
11
+ date: 2022-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common