tencentcloud-sdk-mrs 3.0.916 → 3.0.918
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200910/models.rb +74 -2
- 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: 300b58ebc72bdfe1ad4e0e78b12725c967199462
|
4
|
+
data.tar.gz: 67840960f3531db9bdf3258665521d58610587a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93b188d0a215e886dbdfd83101deea6433fecddee3584db8cd9a83122c62053be454d345a42dbc81362f38df6c2c44559094f63e1e5ff67151a37d4f5b06c5cd
|
7
|
+
data.tar.gz: 901c687eebc7f7f4a716e5d15cd7e89a0b3dc22fe8e72a2ffdc69368503b66f306dab79b1a402c9db383e5eae182196766a070aefdbf46e9e0d307bd4adbb149
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.918
|
data/lib/v20200910/models.rb
CHANGED
@@ -5599,16 +5599,19 @@ module TencentCloud
|
|
5599
5599
|
# (2)病理报告 15,默认使用 V1,最高支持 V2。
|
5600
5600
|
# (3)入院记录29、出院记录 28、病历记录 216、病程记录 217、门诊记录 210,默认使用 V1,最高支持 V2。
|
5601
5601
|
# @type ReportTypeVersion: Array
|
5602
|
+
# @param OcrInfoList: 可选。 图片OCR信息列表,每一个元素是一张图片的OCR结果。适用于不想将医疗报告图片传入腾讯云的客户,客户可对图片OCR信息中的敏感信息去除之后再传入。与 ImageInfoList 二选一,同时存在则使用OcrInfoList
|
5603
|
+
# @type OcrInfoList: Array
|
5602
5604
|
|
5603
|
-
attr_accessor :ImageInfoList, :HandleParam, :Type, :IsUsedClassify, :UserType, :ReportTypeVersion
|
5605
|
+
attr_accessor :ImageInfoList, :HandleParam, :Type, :IsUsedClassify, :UserType, :ReportTypeVersion, :OcrInfoList
|
5604
5606
|
|
5605
|
-
def initialize(imageinfolist=nil, handleparam=nil, type=nil, isusedclassify=nil, usertype=nil, reporttypeversion=nil)
|
5607
|
+
def initialize(imageinfolist=nil, handleparam=nil, type=nil, isusedclassify=nil, usertype=nil, reporttypeversion=nil, ocrinfolist=nil)
|
5606
5608
|
@ImageInfoList = imageinfolist
|
5607
5609
|
@HandleParam = handleparam
|
5608
5610
|
@Type = type
|
5609
5611
|
@IsUsedClassify = isusedclassify
|
5610
5612
|
@UserType = usertype
|
5611
5613
|
@ReportTypeVersion = reporttypeversion
|
5614
|
+
@OcrInfoList = ocrinfolist
|
5612
5615
|
end
|
5613
5616
|
|
5614
5617
|
def deserialize(params)
|
@@ -5635,6 +5638,14 @@ module TencentCloud
|
|
5635
5638
|
@ReportTypeVersion << reporttypeversion_tmp
|
5636
5639
|
end
|
5637
5640
|
end
|
5641
|
+
unless params['OcrInfoList'].nil?
|
5642
|
+
@OcrInfoList = []
|
5643
|
+
params['OcrInfoList'].each do |i|
|
5644
|
+
ocrinfo_tmp = OcrInfo.new
|
5645
|
+
ocrinfo_tmp.deserialize(i)
|
5646
|
+
@OcrInfoList << ocrinfo_tmp
|
5647
|
+
end
|
5648
|
+
end
|
5638
5649
|
end
|
5639
5650
|
end
|
5640
5651
|
|
@@ -7902,6 +7913,67 @@ module TencentCloud
|
|
7902
7913
|
end
|
7903
7914
|
end
|
7904
7915
|
|
7916
|
+
# 图片完整的OCR信息
|
7917
|
+
class OcrInfo < TencentCloud::Common::AbstractModel
|
7918
|
+
# @param Items: 图片进行OCR之后得到的所有包含字块的OCR信息
|
7919
|
+
# @type Items: Array
|
7920
|
+
# @param Text: 图片进行OCR之后得到的所有字符
|
7921
|
+
# @type Text: String
|
7922
|
+
|
7923
|
+
attr_accessor :Items, :Text
|
7924
|
+
|
7925
|
+
def initialize(items=nil, text=nil)
|
7926
|
+
@Items = items
|
7927
|
+
@Text = text
|
7928
|
+
end
|
7929
|
+
|
7930
|
+
def deserialize(params)
|
7931
|
+
unless params['Items'].nil?
|
7932
|
+
@Items = []
|
7933
|
+
params['Items'].each do |i|
|
7934
|
+
ocritem_tmp = OcrItem.new
|
7935
|
+
ocritem_tmp.deserialize(i)
|
7936
|
+
@Items << ocritem_tmp
|
7937
|
+
end
|
7938
|
+
end
|
7939
|
+
@Text = params['Text']
|
7940
|
+
end
|
7941
|
+
end
|
7942
|
+
|
7943
|
+
# 图片进行OCR之后,包含字符块的信息,包含字符与坐标,一个图片进行OCR之后可能分为多个这样的块
|
7944
|
+
class OcrItem < TencentCloud::Common::AbstractModel
|
7945
|
+
# @param Words: 图片中文字的字符串
|
7946
|
+
# @type Words: String
|
7947
|
+
# @param Coords: Words 中每个文字的坐标数组,顺序与Words中的字符顺序一致
|
7948
|
+
# @type Coords: Array
|
7949
|
+
# @param WordCoords: 整个字符块的坐标信息
|
7950
|
+
# @type WordCoords: :class:`Tencentcloud::Mrs.v20200910.models.Coordinate`
|
7951
|
+
|
7952
|
+
attr_accessor :Words, :Coords, :WordCoords
|
7953
|
+
|
7954
|
+
def initialize(words=nil, coords=nil, wordcoords=nil)
|
7955
|
+
@Words = words
|
7956
|
+
@Coords = coords
|
7957
|
+
@WordCoords = wordcoords
|
7958
|
+
end
|
7959
|
+
|
7960
|
+
def deserialize(params)
|
7961
|
+
@Words = params['Words']
|
7962
|
+
unless params['Coords'].nil?
|
7963
|
+
@Coords = []
|
7964
|
+
params['Coords'].each do |i|
|
7965
|
+
coordinate_tmp = Coordinate.new
|
7966
|
+
coordinate_tmp.deserialize(i)
|
7967
|
+
@Coords << coordinate_tmp
|
7968
|
+
end
|
7969
|
+
end
|
7970
|
+
unless params['WordCoords'].nil?
|
7971
|
+
@WordCoords = Coordinate.new
|
7972
|
+
@WordCoords.deserialize(params['WordCoords'])
|
7973
|
+
end
|
7974
|
+
end
|
7975
|
+
end
|
7976
|
+
|
7905
7977
|
# 体检报告-眼科-裸眼视力
|
7906
7978
|
class OphthalmologyBareEyeSight < TencentCloud::Common::AbstractModel
|
7907
7979
|
# @param LeftEyeVisual: 左眼视力
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-mrs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.918
|
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-09-
|
11
|
+
date: 2024-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|