denkproto 1.3.0__py3-none-any.whl
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.
- denkproto/ImageAnalysis_ProtobufMessages_pb2.py +139 -0
- denkproto/ImageAnalysis_ProtobufMessages_pb2.pyi +598 -0
- denkproto/ImageAnalysis_ProtobufMessages_pb2_grpc.py +24 -0
- denkproto/__about__.py +1 -0
- denkproto/__init__.py +0 -0
- denkproto/annotation_comparer_request_pb2.py +40 -0
- denkproto/annotation_comparer_request_pb2.pyi +38 -0
- denkproto/annotation_comparer_request_pb2_grpc.py +24 -0
- denkproto/denkcache_pb2.py +77 -0
- denkproto/denkcache_pb2.pyi +155 -0
- denkproto/denkcache_pb2_grpc.py +398 -0
- denkproto/geometry_pb2.py +45 -0
- denkproto/geometry_pb2.pyi +54 -0
- denkproto/geometry_pb2_grpc.py +24 -0
- denkproto/inference_graph_pb2.py +185 -0
- denkproto/inference_graph_pb2.pyi +272 -0
- denkproto/inference_graph_pb2_grpc.py +24 -0
- denkproto/json/__init__.py +3 -0
- denkproto/json/classification_markup_schema_.py +28 -0
- denkproto/json/geometry_schema.py +71 -0
- denkproto/json/inference_graph_recipe_schema.py +336 -0
- denkproto/json/instance_segmentation_markup_schema.py +35 -0
- denkproto/json/object_detection_markup_schema.py +43 -0
- denkproto/json/ocr_markup_schema.py +48 -0
- denkproto/json/segmentation_markup_schema.py +242 -0
- denkproto/markup_pb2.py +56 -0
- denkproto/markup_pb2.pyi +155 -0
- denkproto/markup_pb2_grpc.py +24 -0
- denkproto/materialized_markup_pb2.py +46 -0
- denkproto/materialized_markup_pb2.pyi +71 -0
- denkproto/materialized_markup_pb2_grpc.py +24 -0
- denkproto/modelfile_v1_pb2.py +57 -0
- denkproto/modelfile_v1_pb2.pyi +216 -0
- denkproto/modelfile_v1_pb2_grpc.py +24 -0
- denkproto/modelfile_v2_pb2.py +154 -0
- denkproto/modelfile_v2_pb2.pyi +307 -0
- denkproto/modelfile_v2_pb2_grpc.py +24 -0
- denkproto/prediction_pb2.py +48 -0
- denkproto/prediction_pb2.pyi +89 -0
- denkproto/prediction_pb2_grpc.py +24 -0
- denkproto/prediction_request_pb2.py +43 -0
- denkproto/prediction_request_pb2.pyi +56 -0
- denkproto/prediction_request_pb2_grpc.py +24 -0
- denkproto/py.typed +0 -0
- denkproto/request_pb2.py +51 -0
- denkproto/request_pb2.pyi +92 -0
- denkproto/request_pb2_grpc.py +24 -0
- denkproto/results_pb2.py +91 -0
- denkproto/results_pb2.pyi +528 -0
- denkproto/results_pb2_grpc.py +24 -0
- denkproto/validate_pb2.py +86 -0
- denkproto/validate_pb2.pyi +494 -0
- denkproto/validate_pb2_grpc.py +24 -0
- denkproto-1.3.0.dist-info/METADATA +5 -0
- denkproto-1.3.0.dist-info/RECORD +56 -0
- denkproto-1.3.0.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,598 @@
|
|
|
1
|
+
from google.protobuf.internal import containers as _containers
|
|
2
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
3
|
+
from google.protobuf import descriptor as _descriptor
|
|
4
|
+
from google.protobuf import message as _message
|
|
5
|
+
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
6
|
+
|
|
7
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
8
|
+
|
|
9
|
+
class DataTypeEnum(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
10
|
+
__slots__ = ()
|
|
11
|
+
UNDEFINED_DT: _ClassVar[DataTypeEnum]
|
|
12
|
+
STRING_DT: _ClassVar[DataTypeEnum]
|
|
13
|
+
DOUBLE_DT: _ClassVar[DataTypeEnum]
|
|
14
|
+
JSON_DT: _ClassVar[DataTypeEnum]
|
|
15
|
+
UNDEFINED_DT: DataTypeEnum
|
|
16
|
+
STRING_DT: DataTypeEnum
|
|
17
|
+
DOUBLE_DT: DataTypeEnum
|
|
18
|
+
JSON_DT: DataTypeEnum
|
|
19
|
+
|
|
20
|
+
class pb_ProtocolVersionDetection(_message.Message):
|
|
21
|
+
__slots__ = ("protocol_version_major", "protocol_version_minor")
|
|
22
|
+
PROTOCOL_VERSION_MAJOR_FIELD_NUMBER: _ClassVar[int]
|
|
23
|
+
PROTOCOL_VERSION_MINOR_FIELD_NUMBER: _ClassVar[int]
|
|
24
|
+
protocol_version_major: int
|
|
25
|
+
protocol_version_minor: int
|
|
26
|
+
def __init__(self, protocol_version_major: _Optional[int] = ..., protocol_version_minor: _Optional[int] = ...) -> None: ...
|
|
27
|
+
|
|
28
|
+
class pb_MessageHeader(_message.Message):
|
|
29
|
+
__slots__ = ("message_type", "response", "message_counter", "size_message_body", "protocol_version_major", "protocol_version_minor", "timestamp_utc_ms", "error_code", "info_text", "int_values", "double_values", "string_values")
|
|
30
|
+
class MessageType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
31
|
+
__slots__ = ()
|
|
32
|
+
UNDEFINED: _ClassVar[pb_MessageHeader.MessageType]
|
|
33
|
+
GETSTATUS: _ClassVar[pb_MessageHeader.MessageType]
|
|
34
|
+
GETVERSION: _ClassVar[pb_MessageHeader.MessageType]
|
|
35
|
+
INIT: _ClassVar[pb_MessageHeader.MessageType]
|
|
36
|
+
GETPRESETS: _ClassVar[pb_MessageHeader.MessageType]
|
|
37
|
+
GETPRESETINFO: _ClassVar[pb_MessageHeader.MessageType]
|
|
38
|
+
SETCONFIG: _ClassVar[pb_MessageHeader.MessageType]
|
|
39
|
+
REMOVECONFIG: _ClassVar[pb_MessageHeader.MessageType]
|
|
40
|
+
GETCONFIGPARAMS: _ClassVar[pb_MessageHeader.MessageType]
|
|
41
|
+
SETCONFIGPARAMS: _ClassVar[pb_MessageHeader.MessageType]
|
|
42
|
+
ANALYZEIMAGE: _ClassVar[pb_MessageHeader.MessageType]
|
|
43
|
+
IMAGERESULT: _ClassVar[pb_MessageHeader.MessageType]
|
|
44
|
+
INFOMESSAGE: _ClassVar[pb_MessageHeader.MessageType]
|
|
45
|
+
GETCONFIGFILE: _ClassVar[pb_MessageHeader.MessageType]
|
|
46
|
+
SETCONFIGFILE: _ClassVar[pb_MessageHeader.MessageType]
|
|
47
|
+
MODIFYCONFIGFILE: _ClassVar[pb_MessageHeader.MessageType]
|
|
48
|
+
GETSTATISTICS: _ClassVar[pb_MessageHeader.MessageType]
|
|
49
|
+
OPENDIRECTORYINBROWSER: _ClassVar[pb_MessageHeader.MessageType]
|
|
50
|
+
OPENTASKINBROWSER: _ClassVar[pb_MessageHeader.MessageType]
|
|
51
|
+
UNDEFINED: pb_MessageHeader.MessageType
|
|
52
|
+
GETSTATUS: pb_MessageHeader.MessageType
|
|
53
|
+
GETVERSION: pb_MessageHeader.MessageType
|
|
54
|
+
INIT: pb_MessageHeader.MessageType
|
|
55
|
+
GETPRESETS: pb_MessageHeader.MessageType
|
|
56
|
+
GETPRESETINFO: pb_MessageHeader.MessageType
|
|
57
|
+
SETCONFIG: pb_MessageHeader.MessageType
|
|
58
|
+
REMOVECONFIG: pb_MessageHeader.MessageType
|
|
59
|
+
GETCONFIGPARAMS: pb_MessageHeader.MessageType
|
|
60
|
+
SETCONFIGPARAMS: pb_MessageHeader.MessageType
|
|
61
|
+
ANALYZEIMAGE: pb_MessageHeader.MessageType
|
|
62
|
+
IMAGERESULT: pb_MessageHeader.MessageType
|
|
63
|
+
INFOMESSAGE: pb_MessageHeader.MessageType
|
|
64
|
+
GETCONFIGFILE: pb_MessageHeader.MessageType
|
|
65
|
+
SETCONFIGFILE: pb_MessageHeader.MessageType
|
|
66
|
+
MODIFYCONFIGFILE: pb_MessageHeader.MessageType
|
|
67
|
+
GETSTATISTICS: pb_MessageHeader.MessageType
|
|
68
|
+
OPENDIRECTORYINBROWSER: pb_MessageHeader.MessageType
|
|
69
|
+
OPENTASKINBROWSER: pb_MessageHeader.MessageType
|
|
70
|
+
MESSAGE_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
71
|
+
RESPONSE_FIELD_NUMBER: _ClassVar[int]
|
|
72
|
+
MESSAGE_COUNTER_FIELD_NUMBER: _ClassVar[int]
|
|
73
|
+
SIZE_MESSAGE_BODY_FIELD_NUMBER: _ClassVar[int]
|
|
74
|
+
PROTOCOL_VERSION_MAJOR_FIELD_NUMBER: _ClassVar[int]
|
|
75
|
+
PROTOCOL_VERSION_MINOR_FIELD_NUMBER: _ClassVar[int]
|
|
76
|
+
TIMESTAMP_UTC_MS_FIELD_NUMBER: _ClassVar[int]
|
|
77
|
+
ERROR_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
78
|
+
INFO_TEXT_FIELD_NUMBER: _ClassVar[int]
|
|
79
|
+
INT_VALUES_FIELD_NUMBER: _ClassVar[int]
|
|
80
|
+
DOUBLE_VALUES_FIELD_NUMBER: _ClassVar[int]
|
|
81
|
+
STRING_VALUES_FIELD_NUMBER: _ClassVar[int]
|
|
82
|
+
message_type: pb_MessageHeader.MessageType
|
|
83
|
+
response: bool
|
|
84
|
+
message_counter: int
|
|
85
|
+
size_message_body: int
|
|
86
|
+
protocol_version_major: int
|
|
87
|
+
protocol_version_minor: int
|
|
88
|
+
timestamp_utc_ms: int
|
|
89
|
+
error_code: int
|
|
90
|
+
info_text: str
|
|
91
|
+
int_values: _containers.RepeatedScalarFieldContainer[int]
|
|
92
|
+
double_values: _containers.RepeatedScalarFieldContainer[float]
|
|
93
|
+
string_values: _containers.RepeatedScalarFieldContainer[str]
|
|
94
|
+
def __init__(self, message_type: _Optional[_Union[pb_MessageHeader.MessageType, str]] = ..., response: bool = ..., message_counter: _Optional[int] = ..., size_message_body: _Optional[int] = ..., protocol_version_major: _Optional[int] = ..., protocol_version_minor: _Optional[int] = ..., timestamp_utc_ms: _Optional[int] = ..., error_code: _Optional[int] = ..., info_text: _Optional[str] = ..., int_values: _Optional[_Iterable[int]] = ..., double_values: _Optional[_Iterable[float]] = ..., string_values: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
95
|
+
|
|
96
|
+
class pb_Body_Init(_message.Message):
|
|
97
|
+
__slots__ = ("init_hash_code",)
|
|
98
|
+
INIT_HASH_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
99
|
+
init_hash_code: str
|
|
100
|
+
def __init__(self, init_hash_code: _Optional[str] = ...) -> None: ...
|
|
101
|
+
|
|
102
|
+
class pb_Body_GetStatus_Response(_message.Message):
|
|
103
|
+
__slots__ = ("init_hash_code", "init_timestamp_utc_ms", "configuration_sets", "images_in_process")
|
|
104
|
+
class pb_ImageInProcess(_message.Message):
|
|
105
|
+
__slots__ = ("serial_number_image", "configuration_set_name")
|
|
106
|
+
SERIAL_NUMBER_IMAGE_FIELD_NUMBER: _ClassVar[int]
|
|
107
|
+
CONFIGURATION_SET_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
108
|
+
serial_number_image: str
|
|
109
|
+
configuration_set_name: str
|
|
110
|
+
def __init__(self, serial_number_image: _Optional[str] = ..., configuration_set_name: _Optional[str] = ...) -> None: ...
|
|
111
|
+
INIT_HASH_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
112
|
+
INIT_TIMESTAMP_UTC_MS_FIELD_NUMBER: _ClassVar[int]
|
|
113
|
+
CONFIGURATION_SETS_FIELD_NUMBER: _ClassVar[int]
|
|
114
|
+
IMAGES_IN_PROCESS_FIELD_NUMBER: _ClassVar[int]
|
|
115
|
+
init_hash_code: str
|
|
116
|
+
init_timestamp_utc_ms: int
|
|
117
|
+
configuration_sets: _containers.RepeatedScalarFieldContainer[str]
|
|
118
|
+
images_in_process: _containers.RepeatedCompositeFieldContainer[pb_Body_GetStatus_Response.pb_ImageInProcess]
|
|
119
|
+
def __init__(self, init_hash_code: _Optional[str] = ..., init_timestamp_utc_ms: _Optional[int] = ..., configuration_sets: _Optional[_Iterable[str]] = ..., images_in_process: _Optional[_Iterable[_Union[pb_Body_GetStatus_Response.pb_ImageInProcess, _Mapping]]] = ...) -> None: ...
|
|
120
|
+
|
|
121
|
+
class pb_Body_GetVersion_Response(_message.Message):
|
|
122
|
+
__slots__ = ("program_name", "program_version")
|
|
123
|
+
PROGRAM_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
124
|
+
PROGRAM_VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
125
|
+
program_name: str
|
|
126
|
+
program_version: str
|
|
127
|
+
def __init__(self, program_name: _Optional[str] = ..., program_version: _Optional[str] = ...) -> None: ...
|
|
128
|
+
|
|
129
|
+
class pb_Body_GetPresets_Response(_message.Message):
|
|
130
|
+
__slots__ = ("preset_name_list",)
|
|
131
|
+
PRESET_NAME_LIST_FIELD_NUMBER: _ClassVar[int]
|
|
132
|
+
preset_name_list: _containers.RepeatedScalarFieldContainer[str]
|
|
133
|
+
def __init__(self, preset_name_list: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
134
|
+
|
|
135
|
+
class pb_Body_GetPresetInfo(_message.Message):
|
|
136
|
+
__slots__ = ("preset_name",)
|
|
137
|
+
PRESET_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
138
|
+
preset_name: str
|
|
139
|
+
def __init__(self, preset_name: _Optional[str] = ...) -> None: ...
|
|
140
|
+
|
|
141
|
+
class pb_Body_GetPresetInfo_Response(_message.Message):
|
|
142
|
+
__slots__ = ("preset_info",)
|
|
143
|
+
class DirectionEnum(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
144
|
+
__slots__ = ()
|
|
145
|
+
UNDEFINED_DR: _ClassVar[pb_Body_GetPresetInfo_Response.DirectionEnum]
|
|
146
|
+
IN_DR: _ClassVar[pb_Body_GetPresetInfo_Response.DirectionEnum]
|
|
147
|
+
OUT_DR: _ClassVar[pb_Body_GetPresetInfo_Response.DirectionEnum]
|
|
148
|
+
IN_OUT_DR: _ClassVar[pb_Body_GetPresetInfo_Response.DirectionEnum]
|
|
149
|
+
UNDEFINED_DR: pb_Body_GetPresetInfo_Response.DirectionEnum
|
|
150
|
+
IN_DR: pb_Body_GetPresetInfo_Response.DirectionEnum
|
|
151
|
+
OUT_DR: pb_Body_GetPresetInfo_Response.DirectionEnum
|
|
152
|
+
IN_OUT_DR: pb_Body_GetPresetInfo_Response.DirectionEnum
|
|
153
|
+
class pb_AddInfoItem(_message.Message):
|
|
154
|
+
__slots__ = ("name", "value")
|
|
155
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
156
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
157
|
+
name: str
|
|
158
|
+
value: str
|
|
159
|
+
def __init__(self, name: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
|
|
160
|
+
class pb_ParamInfoItem(_message.Message):
|
|
161
|
+
__slots__ = ("param_name", "datatype", "direction")
|
|
162
|
+
PARAM_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
163
|
+
DATATYPE_FIELD_NUMBER: _ClassVar[int]
|
|
164
|
+
DIRECTION_FIELD_NUMBER: _ClassVar[int]
|
|
165
|
+
param_name: str
|
|
166
|
+
datatype: DataTypeEnum
|
|
167
|
+
direction: pb_Body_GetPresetInfo_Response.DirectionEnum
|
|
168
|
+
def __init__(self, param_name: _Optional[str] = ..., datatype: _Optional[_Union[DataTypeEnum, str]] = ..., direction: _Optional[_Union[pb_Body_GetPresetInfo_Response.DirectionEnum, str]] = ...) -> None: ...
|
|
169
|
+
class pb_PresetItem(_message.Message):
|
|
170
|
+
__slots__ = ("preset_name", "date", "version", "comment", "feature_types", "additional_infos", "param_list")
|
|
171
|
+
PRESET_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
172
|
+
DATE_FIELD_NUMBER: _ClassVar[int]
|
|
173
|
+
VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
174
|
+
COMMENT_FIELD_NUMBER: _ClassVar[int]
|
|
175
|
+
FEATURE_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
176
|
+
ADDITIONAL_INFOS_FIELD_NUMBER: _ClassVar[int]
|
|
177
|
+
PARAM_LIST_FIELD_NUMBER: _ClassVar[int]
|
|
178
|
+
preset_name: str
|
|
179
|
+
date: str
|
|
180
|
+
version: str
|
|
181
|
+
comment: str
|
|
182
|
+
feature_types: _containers.RepeatedScalarFieldContainer[str]
|
|
183
|
+
additional_infos: _containers.RepeatedCompositeFieldContainer[pb_Body_GetPresetInfo_Response.pb_AddInfoItem]
|
|
184
|
+
param_list: _containers.RepeatedCompositeFieldContainer[pb_Body_GetPresetInfo_Response.pb_ParamInfoItem]
|
|
185
|
+
def __init__(self, preset_name: _Optional[str] = ..., date: _Optional[str] = ..., version: _Optional[str] = ..., comment: _Optional[str] = ..., feature_types: _Optional[_Iterable[str]] = ..., additional_infos: _Optional[_Iterable[_Union[pb_Body_GetPresetInfo_Response.pb_AddInfoItem, _Mapping]]] = ..., param_list: _Optional[_Iterable[_Union[pb_Body_GetPresetInfo_Response.pb_ParamInfoItem, _Mapping]]] = ...) -> None: ...
|
|
186
|
+
PRESET_INFO_FIELD_NUMBER: _ClassVar[int]
|
|
187
|
+
preset_info: pb_Body_GetPresetInfo_Response.pb_PresetItem
|
|
188
|
+
def __init__(self, preset_info: _Optional[_Union[pb_Body_GetPresetInfo_Response.pb_PresetItem, _Mapping]] = ...) -> None: ...
|
|
189
|
+
|
|
190
|
+
class pb_ConfigParam(_message.Message):
|
|
191
|
+
__slots__ = ("param_name", "datatype", "val_string", "val_json", "val_double")
|
|
192
|
+
PARAM_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
193
|
+
DATATYPE_FIELD_NUMBER: _ClassVar[int]
|
|
194
|
+
VAL_STRING_FIELD_NUMBER: _ClassVar[int]
|
|
195
|
+
VAL_JSON_FIELD_NUMBER: _ClassVar[int]
|
|
196
|
+
VAL_DOUBLE_FIELD_NUMBER: _ClassVar[int]
|
|
197
|
+
param_name: str
|
|
198
|
+
datatype: DataTypeEnum
|
|
199
|
+
val_string: str
|
|
200
|
+
val_json: str
|
|
201
|
+
val_double: float
|
|
202
|
+
def __init__(self, param_name: _Optional[str] = ..., datatype: _Optional[_Union[DataTypeEnum, str]] = ..., val_string: _Optional[str] = ..., val_json: _Optional[str] = ..., val_double: _Optional[float] = ...) -> None: ...
|
|
203
|
+
|
|
204
|
+
class pb_Body_SetConfig(_message.Message):
|
|
205
|
+
__slots__ = ("configset_name", "cell_info", "preset_name", "config_params")
|
|
206
|
+
class pb_CellInfo(_message.Message):
|
|
207
|
+
__slots__ = ("busbar_count", "busbar_orientation", "crystal_type")
|
|
208
|
+
class pb_BusbarOrientationEnum(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
209
|
+
__slots__ = ()
|
|
210
|
+
UNDEFINED_BO: _ClassVar[pb_Body_SetConfig.pb_CellInfo.pb_BusbarOrientationEnum]
|
|
211
|
+
HORIZONTAL_BO: _ClassVar[pb_Body_SetConfig.pb_CellInfo.pb_BusbarOrientationEnum]
|
|
212
|
+
VERTICAL_BO: _ClassVar[pb_Body_SetConfig.pb_CellInfo.pb_BusbarOrientationEnum]
|
|
213
|
+
UNDEFINED_BO: pb_Body_SetConfig.pb_CellInfo.pb_BusbarOrientationEnum
|
|
214
|
+
HORIZONTAL_BO: pb_Body_SetConfig.pb_CellInfo.pb_BusbarOrientationEnum
|
|
215
|
+
VERTICAL_BO: pb_Body_SetConfig.pb_CellInfo.pb_BusbarOrientationEnum
|
|
216
|
+
class pb_CrystalTypeEnum(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
217
|
+
__slots__ = ()
|
|
218
|
+
UNDEFINED_CT: _ClassVar[pb_Body_SetConfig.pb_CellInfo.pb_CrystalTypeEnum]
|
|
219
|
+
MONO_CT: _ClassVar[pb_Body_SetConfig.pb_CellInfo.pb_CrystalTypeEnum]
|
|
220
|
+
POLY_CT: _ClassVar[pb_Body_SetConfig.pb_CellInfo.pb_CrystalTypeEnum]
|
|
221
|
+
UNDEFINED_CT: pb_Body_SetConfig.pb_CellInfo.pb_CrystalTypeEnum
|
|
222
|
+
MONO_CT: pb_Body_SetConfig.pb_CellInfo.pb_CrystalTypeEnum
|
|
223
|
+
POLY_CT: pb_Body_SetConfig.pb_CellInfo.pb_CrystalTypeEnum
|
|
224
|
+
BUSBAR_COUNT_FIELD_NUMBER: _ClassVar[int]
|
|
225
|
+
BUSBAR_ORIENTATION_FIELD_NUMBER: _ClassVar[int]
|
|
226
|
+
CRYSTAL_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
227
|
+
busbar_count: int
|
|
228
|
+
busbar_orientation: pb_Body_SetConfig.pb_CellInfo.pb_BusbarOrientationEnum
|
|
229
|
+
crystal_type: pb_Body_SetConfig.pb_CellInfo.pb_CrystalTypeEnum
|
|
230
|
+
def __init__(self, busbar_count: _Optional[int] = ..., busbar_orientation: _Optional[_Union[pb_Body_SetConfig.pb_CellInfo.pb_BusbarOrientationEnum, str]] = ..., crystal_type: _Optional[_Union[pb_Body_SetConfig.pb_CellInfo.pb_CrystalTypeEnum, str]] = ...) -> None: ...
|
|
231
|
+
CONFIGSET_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
232
|
+
CELL_INFO_FIELD_NUMBER: _ClassVar[int]
|
|
233
|
+
PRESET_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
234
|
+
CONFIG_PARAMS_FIELD_NUMBER: _ClassVar[int]
|
|
235
|
+
configset_name: str
|
|
236
|
+
cell_info: pb_Body_SetConfig.pb_CellInfo
|
|
237
|
+
preset_name: str
|
|
238
|
+
config_params: _containers.RepeatedCompositeFieldContainer[pb_ConfigParam]
|
|
239
|
+
def __init__(self, configset_name: _Optional[str] = ..., cell_info: _Optional[_Union[pb_Body_SetConfig.pb_CellInfo, _Mapping]] = ..., preset_name: _Optional[str] = ..., config_params: _Optional[_Iterable[_Union[pb_ConfigParam, _Mapping]]] = ...) -> None: ...
|
|
240
|
+
|
|
241
|
+
class pb_Body_RemoveConfig(_message.Message):
|
|
242
|
+
__slots__ = ("configset_name",)
|
|
243
|
+
CONFIGSET_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
244
|
+
configset_name: str
|
|
245
|
+
def __init__(self, configset_name: _Optional[str] = ...) -> None: ...
|
|
246
|
+
|
|
247
|
+
class pb_Body_GetConfigParams(_message.Message):
|
|
248
|
+
__slots__ = ("configset_name", "param_name_list")
|
|
249
|
+
CONFIGSET_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
250
|
+
PARAM_NAME_LIST_FIELD_NUMBER: _ClassVar[int]
|
|
251
|
+
configset_name: str
|
|
252
|
+
param_name_list: _containers.RepeatedScalarFieldContainer[str]
|
|
253
|
+
def __init__(self, configset_name: _Optional[str] = ..., param_name_list: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
254
|
+
|
|
255
|
+
class pb_Body_GetConfigParams_Response(_message.Message):
|
|
256
|
+
__slots__ = ("configset_name", "config_params")
|
|
257
|
+
CONFIGSET_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
258
|
+
CONFIG_PARAMS_FIELD_NUMBER: _ClassVar[int]
|
|
259
|
+
configset_name: str
|
|
260
|
+
config_params: _containers.RepeatedCompositeFieldContainer[pb_ConfigParam]
|
|
261
|
+
def __init__(self, configset_name: _Optional[str] = ..., config_params: _Optional[_Iterable[_Union[pb_ConfigParam, _Mapping]]] = ...) -> None: ...
|
|
262
|
+
|
|
263
|
+
class pb_Body_SetConfigParams(_message.Message):
|
|
264
|
+
__slots__ = ("configset_name", "config_params")
|
|
265
|
+
CONFIGSET_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
266
|
+
CONFIG_PARAMS_FIELD_NUMBER: _ClassVar[int]
|
|
267
|
+
configset_name: str
|
|
268
|
+
config_params: _containers.RepeatedCompositeFieldContainer[pb_ConfigParam]
|
|
269
|
+
def __init__(self, configset_name: _Optional[str] = ..., config_params: _Optional[_Iterable[_Union[pb_ConfigParam, _Mapping]]] = ...) -> None: ...
|
|
270
|
+
|
|
271
|
+
class pb_ImageData(_message.Message):
|
|
272
|
+
__slots__ = ("image_file_format", "image_data", "width", "height", "bitdepth")
|
|
273
|
+
class pb_FileFormatEnum(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
274
|
+
__slots__ = ()
|
|
275
|
+
UNDEFINED_FF: _ClassVar[pb_ImageData.pb_FileFormatEnum]
|
|
276
|
+
PNG_FF: _ClassVar[pb_ImageData.pb_FileFormatEnum]
|
|
277
|
+
JPG_FF: _ClassVar[pb_ImageData.pb_FileFormatEnum]
|
|
278
|
+
RAW_FF: _ClassVar[pb_ImageData.pb_FileFormatEnum]
|
|
279
|
+
BYTES: _ClassVar[pb_ImageData.pb_FileFormatEnum]
|
|
280
|
+
TIF_FF: _ClassVar[pb_ImageData.pb_FileFormatEnum]
|
|
281
|
+
UNDEFINED_FF: pb_ImageData.pb_FileFormatEnum
|
|
282
|
+
PNG_FF: pb_ImageData.pb_FileFormatEnum
|
|
283
|
+
JPG_FF: pb_ImageData.pb_FileFormatEnum
|
|
284
|
+
RAW_FF: pb_ImageData.pb_FileFormatEnum
|
|
285
|
+
BYTES: pb_ImageData.pb_FileFormatEnum
|
|
286
|
+
TIF_FF: pb_ImageData.pb_FileFormatEnum
|
|
287
|
+
IMAGE_FILE_FORMAT_FIELD_NUMBER: _ClassVar[int]
|
|
288
|
+
IMAGE_DATA_FIELD_NUMBER: _ClassVar[int]
|
|
289
|
+
WIDTH_FIELD_NUMBER: _ClassVar[int]
|
|
290
|
+
HEIGHT_FIELD_NUMBER: _ClassVar[int]
|
|
291
|
+
BITDEPTH_FIELD_NUMBER: _ClassVar[int]
|
|
292
|
+
image_file_format: pb_ImageData.pb_FileFormatEnum
|
|
293
|
+
image_data: bytes
|
|
294
|
+
width: int
|
|
295
|
+
height: int
|
|
296
|
+
bitdepth: int
|
|
297
|
+
def __init__(self, image_file_format: _Optional[_Union[pb_ImageData.pb_FileFormatEnum, str]] = ..., image_data: _Optional[bytes] = ..., width: _Optional[int] = ..., height: _Optional[int] = ..., bitdepth: _Optional[int] = ...) -> None: ...
|
|
298
|
+
|
|
299
|
+
class pb_MultiImages(_message.Message):
|
|
300
|
+
__slots__ = ("name", "image")
|
|
301
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
302
|
+
IMAGE_FIELD_NUMBER: _ClassVar[int]
|
|
303
|
+
name: str
|
|
304
|
+
image: pb_ImageData
|
|
305
|
+
def __init__(self, name: _Optional[str] = ..., image: _Optional[_Union[pb_ImageData, _Mapping]] = ...) -> None: ...
|
|
306
|
+
|
|
307
|
+
class pb_AdditionalData(_message.Message):
|
|
308
|
+
__slots__ = ("numeric_values", "string_values")
|
|
309
|
+
class pb_NumericValue(_message.Message):
|
|
310
|
+
__slots__ = ("name", "unit", "value")
|
|
311
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
312
|
+
UNIT_FIELD_NUMBER: _ClassVar[int]
|
|
313
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
314
|
+
name: str
|
|
315
|
+
unit: str
|
|
316
|
+
value: float
|
|
317
|
+
def __init__(self, name: _Optional[str] = ..., unit: _Optional[str] = ..., value: _Optional[float] = ...) -> None: ...
|
|
318
|
+
class pb_StringValue(_message.Message):
|
|
319
|
+
__slots__ = ("name", "value")
|
|
320
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
321
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
322
|
+
name: str
|
|
323
|
+
value: str
|
|
324
|
+
def __init__(self, name: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
|
|
325
|
+
NUMERIC_VALUES_FIELD_NUMBER: _ClassVar[int]
|
|
326
|
+
STRING_VALUES_FIELD_NUMBER: _ClassVar[int]
|
|
327
|
+
numeric_values: _containers.RepeatedCompositeFieldContainer[pb_AdditionalData.pb_NumericValue]
|
|
328
|
+
string_values: _containers.RepeatedCompositeFieldContainer[pb_AdditionalData.pb_StringValue]
|
|
329
|
+
def __init__(self, numeric_values: _Optional[_Iterable[_Union[pb_AdditionalData.pb_NumericValue, _Mapping]]] = ..., string_values: _Optional[_Iterable[_Union[pb_AdditionalData.pb_StringValue, _Mapping]]] = ...) -> None: ...
|
|
330
|
+
|
|
331
|
+
class pb_Body_AnalyzeImage(_message.Message):
|
|
332
|
+
__slots__ = ("serial_number_image", "configset_name", "image", "additional_data", "multi_images", "upload_options")
|
|
333
|
+
class pb_DENK_UploadSettings(_message.Message):
|
|
334
|
+
__slots__ = ("upload_path", "upload_annotations", "compression_option", "task_name")
|
|
335
|
+
UPLOAD_PATH_FIELD_NUMBER: _ClassVar[int]
|
|
336
|
+
UPLOAD_ANNOTATIONS_FIELD_NUMBER: _ClassVar[int]
|
|
337
|
+
COMPRESSION_OPTION_FIELD_NUMBER: _ClassVar[int]
|
|
338
|
+
TASK_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
339
|
+
upload_path: str
|
|
340
|
+
upload_annotations: bool
|
|
341
|
+
compression_option: int
|
|
342
|
+
task_name: str
|
|
343
|
+
def __init__(self, upload_path: _Optional[str] = ..., upload_annotations: bool = ..., compression_option: _Optional[int] = ..., task_name: _Optional[str] = ...) -> None: ...
|
|
344
|
+
SERIAL_NUMBER_IMAGE_FIELD_NUMBER: _ClassVar[int]
|
|
345
|
+
CONFIGSET_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
346
|
+
IMAGE_FIELD_NUMBER: _ClassVar[int]
|
|
347
|
+
ADDITIONAL_DATA_FIELD_NUMBER: _ClassVar[int]
|
|
348
|
+
MULTI_IMAGES_FIELD_NUMBER: _ClassVar[int]
|
|
349
|
+
UPLOAD_OPTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
350
|
+
serial_number_image: str
|
|
351
|
+
configset_name: str
|
|
352
|
+
image: pb_ImageData
|
|
353
|
+
additional_data: pb_AdditionalData
|
|
354
|
+
multi_images: _containers.RepeatedCompositeFieldContainer[pb_MultiImages]
|
|
355
|
+
upload_options: pb_Body_AnalyzeImage.pb_DENK_UploadSettings
|
|
356
|
+
def __init__(self, serial_number_image: _Optional[str] = ..., configset_name: _Optional[str] = ..., image: _Optional[_Union[pb_ImageData, _Mapping]] = ..., additional_data: _Optional[_Union[pb_AdditionalData, _Mapping]] = ..., multi_images: _Optional[_Iterable[_Union[pb_MultiImages, _Mapping]]] = ..., upload_options: _Optional[_Union[pb_Body_AnalyzeImage.pb_DENK_UploadSettings, _Mapping]] = ...) -> None: ...
|
|
357
|
+
|
|
358
|
+
class pb_Body_ImageResult(_message.Message):
|
|
359
|
+
__slots__ = ("serial_number_image", "configset_name", "features", "image_classification", "image_plain", "image_overlaid", "multi_images_plain", "multi_images_overlaid")
|
|
360
|
+
class pb_Rect(_message.Message):
|
|
361
|
+
__slots__ = ("x_pos", "y_pos", "width", "height")
|
|
362
|
+
X_POS_FIELD_NUMBER: _ClassVar[int]
|
|
363
|
+
Y_POS_FIELD_NUMBER: _ClassVar[int]
|
|
364
|
+
WIDTH_FIELD_NUMBER: _ClassVar[int]
|
|
365
|
+
HEIGHT_FIELD_NUMBER: _ClassVar[int]
|
|
366
|
+
x_pos: float
|
|
367
|
+
y_pos: float
|
|
368
|
+
width: float
|
|
369
|
+
height: float
|
|
370
|
+
def __init__(self, x_pos: _Optional[float] = ..., y_pos: _Optional[float] = ..., width: _Optional[float] = ..., height: _Optional[float] = ...) -> None: ...
|
|
371
|
+
class pb_DENK_Point(_message.Message):
|
|
372
|
+
__slots__ = ("x", "y")
|
|
373
|
+
X_FIELD_NUMBER: _ClassVar[int]
|
|
374
|
+
Y_FIELD_NUMBER: _ClassVar[int]
|
|
375
|
+
x: float
|
|
376
|
+
y: float
|
|
377
|
+
def __init__(self, x: _Optional[float] = ..., y: _Optional[float] = ...) -> None: ...
|
|
378
|
+
class pb_DENK_MinimalBoundingBox(_message.Message):
|
|
379
|
+
__slots__ = ("center_x", "center_y", "width", "height", "angle")
|
|
380
|
+
CENTER_X_FIELD_NUMBER: _ClassVar[int]
|
|
381
|
+
CENTER_Y_FIELD_NUMBER: _ClassVar[int]
|
|
382
|
+
WIDTH_FIELD_NUMBER: _ClassVar[int]
|
|
383
|
+
HEIGHT_FIELD_NUMBER: _ClassVar[int]
|
|
384
|
+
ANGLE_FIELD_NUMBER: _ClassVar[int]
|
|
385
|
+
center_x: float
|
|
386
|
+
center_y: float
|
|
387
|
+
width: float
|
|
388
|
+
height: float
|
|
389
|
+
angle: float
|
|
390
|
+
def __init__(self, center_x: _Optional[float] = ..., center_y: _Optional[float] = ..., width: _Optional[float] = ..., height: _Optional[float] = ..., angle: _Optional[float] = ...) -> None: ...
|
|
391
|
+
class pb_DENK_OcrCharacter(_message.Message):
|
|
392
|
+
__slots__ = ("character", "probability")
|
|
393
|
+
CHARACTER_FIELD_NUMBER: _ClassVar[int]
|
|
394
|
+
PROBABILITY_FIELD_NUMBER: _ClassVar[int]
|
|
395
|
+
character: str
|
|
396
|
+
probability: float
|
|
397
|
+
def __init__(self, character: _Optional[str] = ..., probability: _Optional[float] = ...) -> None: ...
|
|
398
|
+
class pb_DENK_OcrCharacterPosition(_message.Message):
|
|
399
|
+
__slots__ = ("ocr_character",)
|
|
400
|
+
OCR_CHARACTER_FIELD_NUMBER: _ClassVar[int]
|
|
401
|
+
ocr_character: _containers.RepeatedCompositeFieldContainer[pb_Body_ImageResult.pb_DENK_OcrCharacter]
|
|
402
|
+
def __init__(self, ocr_character: _Optional[_Iterable[_Union[pb_Body_ImageResult.pb_DENK_OcrCharacter, _Mapping]]] = ...) -> None: ...
|
|
403
|
+
class pb_DENK_PointInt(_message.Message):
|
|
404
|
+
__slots__ = ("x", "y")
|
|
405
|
+
X_FIELD_NUMBER: _ClassVar[int]
|
|
406
|
+
Y_FIELD_NUMBER: _ClassVar[int]
|
|
407
|
+
x: int
|
|
408
|
+
y: int
|
|
409
|
+
def __init__(self, x: _Optional[int] = ..., y: _Optional[int] = ...) -> None: ...
|
|
410
|
+
class pb_DENK_Contour(_message.Message):
|
|
411
|
+
__slots__ = ("points",)
|
|
412
|
+
POINTS_FIELD_NUMBER: _ClassVar[int]
|
|
413
|
+
points: _containers.RepeatedCompositeFieldContainer[pb_Body_ImageResult.pb_DENK_PointInt]
|
|
414
|
+
def __init__(self, points: _Optional[_Iterable[_Union[pb_Body_ImageResult.pb_DENK_PointInt, _Mapping]]] = ...) -> None: ...
|
|
415
|
+
class pb_Feature(_message.Message):
|
|
416
|
+
__slots__ = ("feature_type_name", "feature_infos", "multi_image_names", "section", "filtered_out", "classifier")
|
|
417
|
+
class pb_FeatureInfo(_message.Message):
|
|
418
|
+
__slots__ = ("outline_rect_px", "probability", "length", "area", "angle", "number", "average", "maximum", "minimum", "area_edge", "area_length", "avggrayvalue", "maxgrayvalue", "mingrayvalue", "id", "related_ids", "width", "outline_rect_mm", "uid", "related_uids", "minimal_bounding_box", "minimal_bounding_box_point", "ocr_text", "ocr_character_position", "segmentation_mask", "segmentation_contours")
|
|
419
|
+
OUTLINE_RECT_PX_FIELD_NUMBER: _ClassVar[int]
|
|
420
|
+
PROBABILITY_FIELD_NUMBER: _ClassVar[int]
|
|
421
|
+
LENGTH_FIELD_NUMBER: _ClassVar[int]
|
|
422
|
+
AREA_FIELD_NUMBER: _ClassVar[int]
|
|
423
|
+
ANGLE_FIELD_NUMBER: _ClassVar[int]
|
|
424
|
+
NUMBER_FIELD_NUMBER: _ClassVar[int]
|
|
425
|
+
AVERAGE_FIELD_NUMBER: _ClassVar[int]
|
|
426
|
+
MAXIMUM_FIELD_NUMBER: _ClassVar[int]
|
|
427
|
+
MINIMUM_FIELD_NUMBER: _ClassVar[int]
|
|
428
|
+
AREA_EDGE_FIELD_NUMBER: _ClassVar[int]
|
|
429
|
+
AREA_LENGTH_FIELD_NUMBER: _ClassVar[int]
|
|
430
|
+
AVGGRAYVALUE_FIELD_NUMBER: _ClassVar[int]
|
|
431
|
+
MAXGRAYVALUE_FIELD_NUMBER: _ClassVar[int]
|
|
432
|
+
MINGRAYVALUE_FIELD_NUMBER: _ClassVar[int]
|
|
433
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
434
|
+
RELATED_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
435
|
+
WIDTH_FIELD_NUMBER: _ClassVar[int]
|
|
436
|
+
OUTLINE_RECT_MM_FIELD_NUMBER: _ClassVar[int]
|
|
437
|
+
UID_FIELD_NUMBER: _ClassVar[int]
|
|
438
|
+
RELATED_UIDS_FIELD_NUMBER: _ClassVar[int]
|
|
439
|
+
MINIMAL_BOUNDING_BOX_FIELD_NUMBER: _ClassVar[int]
|
|
440
|
+
MINIMAL_BOUNDING_BOX_POINT_FIELD_NUMBER: _ClassVar[int]
|
|
441
|
+
OCR_TEXT_FIELD_NUMBER: _ClassVar[int]
|
|
442
|
+
OCR_CHARACTER_POSITION_FIELD_NUMBER: _ClassVar[int]
|
|
443
|
+
SEGMENTATION_MASK_FIELD_NUMBER: _ClassVar[int]
|
|
444
|
+
SEGMENTATION_CONTOURS_FIELD_NUMBER: _ClassVar[int]
|
|
445
|
+
outline_rect_px: pb_Body_ImageResult.pb_Rect
|
|
446
|
+
probability: float
|
|
447
|
+
length: float
|
|
448
|
+
area: float
|
|
449
|
+
angle: float
|
|
450
|
+
number: float
|
|
451
|
+
average: float
|
|
452
|
+
maximum: float
|
|
453
|
+
minimum: float
|
|
454
|
+
area_edge: float
|
|
455
|
+
area_length: float
|
|
456
|
+
avggrayvalue: float
|
|
457
|
+
maxgrayvalue: float
|
|
458
|
+
mingrayvalue: float
|
|
459
|
+
id: int
|
|
460
|
+
related_ids: _containers.RepeatedScalarFieldContainer[int]
|
|
461
|
+
width: float
|
|
462
|
+
outline_rect_mm: pb_Body_ImageResult.pb_Rect
|
|
463
|
+
uid: str
|
|
464
|
+
related_uids: _containers.RepeatedScalarFieldContainer[str]
|
|
465
|
+
minimal_bounding_box: pb_Body_ImageResult.pb_DENK_MinimalBoundingBox
|
|
466
|
+
minimal_bounding_box_point: _containers.RepeatedCompositeFieldContainer[pb_Body_ImageResult.pb_DENK_Point]
|
|
467
|
+
ocr_text: str
|
|
468
|
+
ocr_character_position: _containers.RepeatedCompositeFieldContainer[pb_Body_ImageResult.pb_DENK_OcrCharacterPosition]
|
|
469
|
+
segmentation_mask: bytes
|
|
470
|
+
segmentation_contours: _containers.RepeatedCompositeFieldContainer[pb_Body_ImageResult.pb_DENK_Contour]
|
|
471
|
+
def __init__(self, outline_rect_px: _Optional[_Union[pb_Body_ImageResult.pb_Rect, _Mapping]] = ..., probability: _Optional[float] = ..., length: _Optional[float] = ..., area: _Optional[float] = ..., angle: _Optional[float] = ..., number: _Optional[float] = ..., average: _Optional[float] = ..., maximum: _Optional[float] = ..., minimum: _Optional[float] = ..., area_edge: _Optional[float] = ..., area_length: _Optional[float] = ..., avggrayvalue: _Optional[float] = ..., maxgrayvalue: _Optional[float] = ..., mingrayvalue: _Optional[float] = ..., id: _Optional[int] = ..., related_ids: _Optional[_Iterable[int]] = ..., width: _Optional[float] = ..., outline_rect_mm: _Optional[_Union[pb_Body_ImageResult.pb_Rect, _Mapping]] = ..., uid: _Optional[str] = ..., related_uids: _Optional[_Iterable[str]] = ..., minimal_bounding_box: _Optional[_Union[pb_Body_ImageResult.pb_DENK_MinimalBoundingBox, _Mapping]] = ..., minimal_bounding_box_point: _Optional[_Iterable[_Union[pb_Body_ImageResult.pb_DENK_Point, _Mapping]]] = ..., ocr_text: _Optional[str] = ..., ocr_character_position: _Optional[_Iterable[_Union[pb_Body_ImageResult.pb_DENK_OcrCharacterPosition, _Mapping]]] = ..., segmentation_mask: _Optional[bytes] = ..., segmentation_contours: _Optional[_Iterable[_Union[pb_Body_ImageResult.pb_DENK_Contour, _Mapping]]] = ...) -> None: ...
|
|
472
|
+
FEATURE_TYPE_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
473
|
+
FEATURE_INFOS_FIELD_NUMBER: _ClassVar[int]
|
|
474
|
+
MULTI_IMAGE_NAMES_FIELD_NUMBER: _ClassVar[int]
|
|
475
|
+
SECTION_FIELD_NUMBER: _ClassVar[int]
|
|
476
|
+
FILTERED_OUT_FIELD_NUMBER: _ClassVar[int]
|
|
477
|
+
CLASSIFIER_FIELD_NUMBER: _ClassVar[int]
|
|
478
|
+
feature_type_name: str
|
|
479
|
+
feature_infos: _containers.RepeatedCompositeFieldContainer[pb_Body_ImageResult.pb_Feature.pb_FeatureInfo]
|
|
480
|
+
multi_image_names: _containers.RepeatedScalarFieldContainer[str]
|
|
481
|
+
section: _containers.RepeatedScalarFieldContainer[str]
|
|
482
|
+
filtered_out: bool
|
|
483
|
+
classifier: float
|
|
484
|
+
def __init__(self, feature_type_name: _Optional[str] = ..., feature_infos: _Optional[_Iterable[_Union[pb_Body_ImageResult.pb_Feature.pb_FeatureInfo, _Mapping]]] = ..., multi_image_names: _Optional[_Iterable[str]] = ..., section: _Optional[_Iterable[str]] = ..., filtered_out: bool = ..., classifier: _Optional[float] = ...) -> None: ...
|
|
485
|
+
class pb_ImageClassification(_message.Message):
|
|
486
|
+
__slots__ = ("image_class_name", "image_quality_class", "image_quality_code", "image_quality_score", "image_ok_score", "image_avggrayvalue", "image_maxgrayvalue", "image_mingrayvalue")
|
|
487
|
+
class pb_ImageQualityEnum(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
488
|
+
__slots__ = ()
|
|
489
|
+
UNDEFINED_QUALITY: _ClassVar[pb_Body_ImageResult.pb_ImageClassification.pb_ImageQualityEnum]
|
|
490
|
+
NO_ISSUE_QUALITY: _ClassVar[pb_Body_ImageResult.pb_ImageClassification.pb_ImageQualityEnum]
|
|
491
|
+
MINOR_ISSUE_QUALITY: _ClassVar[pb_Body_ImageResult.pb_ImageClassification.pb_ImageQualityEnum]
|
|
492
|
+
MAJOR_ISSUE_QUALITY: _ClassVar[pb_Body_ImageResult.pb_ImageClassification.pb_ImageQualityEnum]
|
|
493
|
+
UNDEFINED_QUALITY: pb_Body_ImageResult.pb_ImageClassification.pb_ImageQualityEnum
|
|
494
|
+
NO_ISSUE_QUALITY: pb_Body_ImageResult.pb_ImageClassification.pb_ImageQualityEnum
|
|
495
|
+
MINOR_ISSUE_QUALITY: pb_Body_ImageResult.pb_ImageClassification.pb_ImageQualityEnum
|
|
496
|
+
MAJOR_ISSUE_QUALITY: pb_Body_ImageResult.pb_ImageClassification.pb_ImageQualityEnum
|
|
497
|
+
IMAGE_CLASS_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
498
|
+
IMAGE_QUALITY_CLASS_FIELD_NUMBER: _ClassVar[int]
|
|
499
|
+
IMAGE_QUALITY_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
500
|
+
IMAGE_QUALITY_SCORE_FIELD_NUMBER: _ClassVar[int]
|
|
501
|
+
IMAGE_OK_SCORE_FIELD_NUMBER: _ClassVar[int]
|
|
502
|
+
IMAGE_AVGGRAYVALUE_FIELD_NUMBER: _ClassVar[int]
|
|
503
|
+
IMAGE_MAXGRAYVALUE_FIELD_NUMBER: _ClassVar[int]
|
|
504
|
+
IMAGE_MINGRAYVALUE_FIELD_NUMBER: _ClassVar[int]
|
|
505
|
+
image_class_name: str
|
|
506
|
+
image_quality_class: pb_Body_ImageResult.pb_ImageClassification.pb_ImageQualityEnum
|
|
507
|
+
image_quality_code: str
|
|
508
|
+
image_quality_score: float
|
|
509
|
+
image_ok_score: float
|
|
510
|
+
image_avggrayvalue: float
|
|
511
|
+
image_maxgrayvalue: float
|
|
512
|
+
image_mingrayvalue: float
|
|
513
|
+
def __init__(self, image_class_name: _Optional[str] = ..., image_quality_class: _Optional[_Union[pb_Body_ImageResult.pb_ImageClassification.pb_ImageQualityEnum, str]] = ..., image_quality_code: _Optional[str] = ..., image_quality_score: _Optional[float] = ..., image_ok_score: _Optional[float] = ..., image_avggrayvalue: _Optional[float] = ..., image_maxgrayvalue: _Optional[float] = ..., image_mingrayvalue: _Optional[float] = ...) -> None: ...
|
|
514
|
+
SERIAL_NUMBER_IMAGE_FIELD_NUMBER: _ClassVar[int]
|
|
515
|
+
CONFIGSET_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
516
|
+
FEATURES_FIELD_NUMBER: _ClassVar[int]
|
|
517
|
+
IMAGE_CLASSIFICATION_FIELD_NUMBER: _ClassVar[int]
|
|
518
|
+
IMAGE_PLAIN_FIELD_NUMBER: _ClassVar[int]
|
|
519
|
+
IMAGE_OVERLAID_FIELD_NUMBER: _ClassVar[int]
|
|
520
|
+
MULTI_IMAGES_PLAIN_FIELD_NUMBER: _ClassVar[int]
|
|
521
|
+
MULTI_IMAGES_OVERLAID_FIELD_NUMBER: _ClassVar[int]
|
|
522
|
+
serial_number_image: str
|
|
523
|
+
configset_name: str
|
|
524
|
+
features: _containers.RepeatedCompositeFieldContainer[pb_Body_ImageResult.pb_Feature]
|
|
525
|
+
image_classification: pb_Body_ImageResult.pb_ImageClassification
|
|
526
|
+
image_plain: pb_ImageData
|
|
527
|
+
image_overlaid: pb_ImageData
|
|
528
|
+
multi_images_plain: _containers.RepeatedCompositeFieldContainer[pb_MultiImages]
|
|
529
|
+
multi_images_overlaid: _containers.RepeatedCompositeFieldContainer[pb_MultiImages]
|
|
530
|
+
def __init__(self, serial_number_image: _Optional[str] = ..., configset_name: _Optional[str] = ..., features: _Optional[_Iterable[_Union[pb_Body_ImageResult.pb_Feature, _Mapping]]] = ..., image_classification: _Optional[_Union[pb_Body_ImageResult.pb_ImageClassification, _Mapping]] = ..., image_plain: _Optional[_Union[pb_ImageData, _Mapping]] = ..., image_overlaid: _Optional[_Union[pb_ImageData, _Mapping]] = ..., multi_images_plain: _Optional[_Iterable[_Union[pb_MultiImages, _Mapping]]] = ..., multi_images_overlaid: _Optional[_Iterable[_Union[pb_MultiImages, _Mapping]]] = ...) -> None: ...
|
|
531
|
+
|
|
532
|
+
class pb_Body_InfoMessage(_message.Message):
|
|
533
|
+
__slots__ = ("info_type", "numeric_code", "info_text")
|
|
534
|
+
class pb_InfoTypeEnum(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
535
|
+
__slots__ = ()
|
|
536
|
+
UNDEFINED_IT: _ClassVar[pb_Body_InfoMessage.pb_InfoTypeEnum]
|
|
537
|
+
DEBUG_IT: _ClassVar[pb_Body_InfoMessage.pb_InfoTypeEnum]
|
|
538
|
+
INFO_IT: _ClassVar[pb_Body_InfoMessage.pb_InfoTypeEnum]
|
|
539
|
+
WARNING_IT: _ClassVar[pb_Body_InfoMessage.pb_InfoTypeEnum]
|
|
540
|
+
ERROR_IT: _ClassVar[pb_Body_InfoMessage.pb_InfoTypeEnum]
|
|
541
|
+
UNDEFINED_IT: pb_Body_InfoMessage.pb_InfoTypeEnum
|
|
542
|
+
DEBUG_IT: pb_Body_InfoMessage.pb_InfoTypeEnum
|
|
543
|
+
INFO_IT: pb_Body_InfoMessage.pb_InfoTypeEnum
|
|
544
|
+
WARNING_IT: pb_Body_InfoMessage.pb_InfoTypeEnum
|
|
545
|
+
ERROR_IT: pb_Body_InfoMessage.pb_InfoTypeEnum
|
|
546
|
+
INFO_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
547
|
+
NUMERIC_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
548
|
+
INFO_TEXT_FIELD_NUMBER: _ClassVar[int]
|
|
549
|
+
info_type: pb_Body_InfoMessage.pb_InfoTypeEnum
|
|
550
|
+
numeric_code: int
|
|
551
|
+
info_text: str
|
|
552
|
+
def __init__(self, info_type: _Optional[_Union[pb_Body_InfoMessage.pb_InfoTypeEnum, str]] = ..., numeric_code: _Optional[int] = ..., info_text: _Optional[str] = ...) -> None: ...
|
|
553
|
+
|
|
554
|
+
class pb_Body_GetConfigFile_Response(_message.Message):
|
|
555
|
+
__slots__ = ("config_file_name", "config_content_json", "available_config_files", "current_default_file")
|
|
556
|
+
CONFIG_FILE_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
557
|
+
CONFIG_CONTENT_JSON_FIELD_NUMBER: _ClassVar[int]
|
|
558
|
+
AVAILABLE_CONFIG_FILES_FIELD_NUMBER: _ClassVar[int]
|
|
559
|
+
CURRENT_DEFAULT_FILE_FIELD_NUMBER: _ClassVar[int]
|
|
560
|
+
config_file_name: str
|
|
561
|
+
config_content_json: str
|
|
562
|
+
available_config_files: _containers.RepeatedScalarFieldContainer[str]
|
|
563
|
+
current_default_file: str
|
|
564
|
+
def __init__(self, config_file_name: _Optional[str] = ..., config_content_json: _Optional[str] = ..., available_config_files: _Optional[_Iterable[str]] = ..., current_default_file: _Optional[str] = ...) -> None: ...
|
|
565
|
+
|
|
566
|
+
class pb_Body_SetConfigFile(_message.Message):
|
|
567
|
+
__slots__ = ("new_config_file_name", "set_as_default")
|
|
568
|
+
NEW_CONFIG_FILE_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
569
|
+
SET_AS_DEFAULT_FIELD_NUMBER: _ClassVar[int]
|
|
570
|
+
new_config_file_name: str
|
|
571
|
+
set_as_default: bool
|
|
572
|
+
def __init__(self, new_config_file_name: _Optional[str] = ..., set_as_default: bool = ...) -> None: ...
|
|
573
|
+
|
|
574
|
+
class pb_Body_ModifyConfigFile(_message.Message):
|
|
575
|
+
__slots__ = ("config_file_name", "config_content_json")
|
|
576
|
+
CONFIG_FILE_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
577
|
+
CONFIG_CONTENT_JSON_FIELD_NUMBER: _ClassVar[int]
|
|
578
|
+
config_file_name: str
|
|
579
|
+
config_content_json: str
|
|
580
|
+
def __init__(self, config_file_name: _Optional[str] = ..., config_content_json: _Optional[str] = ...) -> None: ...
|
|
581
|
+
|
|
582
|
+
class pb_Body_GetStatistics_Response(_message.Message):
|
|
583
|
+
__slots__ = ("statistics_csv",)
|
|
584
|
+
STATISTICS_CSV_FIELD_NUMBER: _ClassVar[int]
|
|
585
|
+
statistics_csv: str
|
|
586
|
+
def __init__(self, statistics_csv: _Optional[str] = ...) -> None: ...
|
|
587
|
+
|
|
588
|
+
class pb_Body_OpenDirectoryInBrowser(_message.Message):
|
|
589
|
+
__slots__ = ("path",)
|
|
590
|
+
PATH_FIELD_NUMBER: _ClassVar[int]
|
|
591
|
+
path: str
|
|
592
|
+
def __init__(self, path: _Optional[str] = ...) -> None: ...
|
|
593
|
+
|
|
594
|
+
class pb_Body_OpenTaskInBrowser(_message.Message):
|
|
595
|
+
__slots__ = ("task_name",)
|
|
596
|
+
TASK_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
597
|
+
task_name: str
|
|
598
|
+
def __init__(self, task_name: _Optional[str] = ...) -> None: ...
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.68.0'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ f' but the generated code in ImageAnalysis_ProtobufMessages_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
denkproto/__about__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.3.0"
|
denkproto/__init__.py
ADDED
|
File without changes
|