tencentcloud-sdk-cii 1.0.333 → 1.0.334
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/v20210408/models.rb +92 -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: f49952941ae72af52dbbc509507261dd392b8a93
|
4
|
+
data.tar.gz: 56c7b46f4a78f7c9a2e75796104bdda2bb9387e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d72e46e880c74b892f796c12bfeaa5d201815d3a43a2d25ce2b127de638ee245d8fd93b67daf6f49d5d04c26222eef070d04c41c18513b1e0edc576f7d66f97
|
7
|
+
data.tar.gz: b6b0bf6eea6cc9a0334406beec56fe74a48a33e511f287c0a6903599a0bb4835e164268370d932c57c460caa29e5c3d0ff571e0bec9f43446ef893e39b8c1e63
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.334
|
data/lib/v20210408/models.rb
CHANGED
@@ -922,6 +922,29 @@ module TencentCloud
|
|
922
922
|
end
|
923
923
|
end
|
924
924
|
|
925
|
+
# 位置信息
|
926
|
+
class Location < TencentCloud::Common::AbstractModel
|
927
|
+
# @param Points: 位置信息
|
928
|
+
# @type Points: Array
|
929
|
+
|
930
|
+
attr_accessor :Points
|
931
|
+
|
932
|
+
def initialize(points=nil)
|
933
|
+
@Points = points
|
934
|
+
end
|
935
|
+
|
936
|
+
def deserialize(params)
|
937
|
+
unless params['Points'].nil?
|
938
|
+
@Points = []
|
939
|
+
params['Points'].each do |i|
|
940
|
+
point_tmp = Point.new
|
941
|
+
point_tmp.deserialize(i)
|
942
|
+
@Points << point_tmp
|
943
|
+
end
|
944
|
+
end
|
945
|
+
end
|
946
|
+
end
|
947
|
+
|
925
948
|
# 机器核保预测结果
|
926
949
|
class MachinePredict < TencentCloud::Common::AbstractModel
|
927
950
|
# @param Title: 核保引擎名称
|
@@ -1006,6 +1029,37 @@ module TencentCloud
|
|
1006
1029
|
end
|
1007
1030
|
end
|
1008
1031
|
|
1032
|
+
# Ocr识别结果
|
1033
|
+
class OcrRecognise < TencentCloud::Common::AbstractModel
|
1034
|
+
# @param OriginalField: 原文字段
|
1035
|
+
# @type OriginalField: String
|
1036
|
+
# @param Value: 识别结果
|
1037
|
+
# @type Value: String
|
1038
|
+
# @param Confidence: 置信度
|
1039
|
+
# @type Confidence: Float
|
1040
|
+
# @param Location: 位置信息
|
1041
|
+
# @type Location: :class:`Tencentcloud::Cii.v20210408.models.Location`
|
1042
|
+
|
1043
|
+
attr_accessor :OriginalField, :Value, :Confidence, :Location
|
1044
|
+
|
1045
|
+
def initialize(originalfield=nil, value=nil, confidence=nil, location=nil)
|
1046
|
+
@OriginalField = originalfield
|
1047
|
+
@Value = value
|
1048
|
+
@Confidence = confidence
|
1049
|
+
@Location = location
|
1050
|
+
end
|
1051
|
+
|
1052
|
+
def deserialize(params)
|
1053
|
+
@OriginalField = params['OriginalField']
|
1054
|
+
@Value = params['Value']
|
1055
|
+
@Confidence = params['Confidence']
|
1056
|
+
unless params['Location'].nil?
|
1057
|
+
@Location = Location.new
|
1058
|
+
@Location.deserialize(params['Location'])
|
1059
|
+
end
|
1060
|
+
end
|
1061
|
+
end
|
1062
|
+
|
1009
1063
|
# 复核差异接口的每一份报告的差异结果
|
1010
1064
|
class PerStructDifference < TencentCloud::Common::AbstractModel
|
1011
1065
|
# @param SubTaskId: 子任务ID
|
@@ -1059,6 +1113,30 @@ module TencentCloud
|
|
1059
1113
|
end
|
1060
1114
|
end
|
1061
1115
|
|
1116
|
+
# 点信息
|
1117
|
+
class Point < TencentCloud::Common::AbstractModel
|
1118
|
+
# @param XCoordinate: x坐标
|
1119
|
+
# @type XCoordinate: Integer
|
1120
|
+
# @param YCoordinate: y坐标
|
1121
|
+
# @type YCoordinate: Integer
|
1122
|
+
# @param Page: 页码
|
1123
|
+
# @type Page: Integer
|
1124
|
+
|
1125
|
+
attr_accessor :XCoordinate, :YCoordinate, :Page
|
1126
|
+
|
1127
|
+
def initialize(xcoordinate=nil, ycoordinate=nil, page=nil)
|
1128
|
+
@XCoordinate = xcoordinate
|
1129
|
+
@YCoordinate = ycoordinate
|
1130
|
+
@Page = page
|
1131
|
+
end
|
1132
|
+
|
1133
|
+
def deserialize(params)
|
1134
|
+
@XCoordinate = params['XCoordinate']
|
1135
|
+
@YCoordinate = params['YCoordinate']
|
1136
|
+
@Page = params['Page']
|
1137
|
+
end
|
1138
|
+
end
|
1139
|
+
|
1062
1140
|
# 用于返回结构化任务结果
|
1063
1141
|
class ResultObject < TencentCloud::Common::AbstractModel
|
1064
1142
|
# @param Quality: 图片质量分
|
@@ -1180,15 +1258,19 @@ module TencentCloud
|
|
1180
1258
|
# @type SubTaskId: String
|
1181
1259
|
# @param TaskFiles: 任务文件列表
|
1182
1260
|
# @type TaskFiles: Array
|
1261
|
+
# @param ResultFields: 结构化字段结果数组
|
1262
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1263
|
+
# @type ResultFields: Array
|
1183
1264
|
|
1184
|
-
attr_accessor :Code, :TaskType, :StructureResult, :SubTaskId, :TaskFiles
|
1265
|
+
attr_accessor :Code, :TaskType, :StructureResult, :SubTaskId, :TaskFiles, :ResultFields
|
1185
1266
|
|
1186
|
-
def initialize(code=nil, tasktype=nil, structureresult=nil, subtaskid=nil, taskfiles=nil)
|
1267
|
+
def initialize(code=nil, tasktype=nil, structureresult=nil, subtaskid=nil, taskfiles=nil, resultfields=nil)
|
1187
1268
|
@Code = code
|
1188
1269
|
@TaskType = tasktype
|
1189
1270
|
@StructureResult = structureresult
|
1190
1271
|
@SubTaskId = subtaskid
|
1191
1272
|
@TaskFiles = taskfiles
|
1273
|
+
@ResultFields = resultfields
|
1192
1274
|
end
|
1193
1275
|
|
1194
1276
|
def deserialize(params)
|
@@ -1197,6 +1279,14 @@ module TencentCloud
|
|
1197
1279
|
@StructureResult = params['StructureResult']
|
1198
1280
|
@SubTaskId = params['SubTaskId']
|
1199
1281
|
@TaskFiles = params['TaskFiles']
|
1282
|
+
unless params['ResultFields'].nil?
|
1283
|
+
@ResultFields = []
|
1284
|
+
params['ResultFields'].each do |i|
|
1285
|
+
ocrrecognise_tmp = OcrRecognise.new
|
1286
|
+
ocrrecognise_tmp.deserialize(i)
|
1287
|
+
@ResultFields << ocrrecognise_tmp
|
1288
|
+
end
|
1289
|
+
end
|
1200
1290
|
end
|
1201
1291
|
end
|
1202
1292
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cii
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.334
|
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-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|