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
denkproto/request_pb2.py
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: request.proto
|
|
5
|
+
# Protobuf Python Version: 5.28.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
28,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'request.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rrequest.proto\x12\x07request\"7\n\tModelBlob\x12\x19\n\x11owned_by_group_id\x18\x01 \x01(\t\x12\x0f\n\x07\x62lob_id\x18\x02 \x01(\t\"]\n\x08Snapshot\x12\n\n\x02id\x18\x01 \x01(\t\x12 \n\x04onnx\x18\x02 \x01(\x0b\x32\x12.request.ModelBlob\x12#\n\x07pytorch\x18\x03 \x01(\x0b\x32\x12.request.ModelBlob\"A\n\rNetworkConfig\x12\x1e\n\x16uses_validation_tiling\x18\x01 \x01(\x08\x12\x10\n\x08metadata\x18\x02 \x01(\t\"B\n\x1dOcrCharacterRestrictionPreset\x12\r\n\x05value\x18\x01 \x01(\t\x12\x12\n\ncharacters\x18\x02 \x01(\t\"\xb4\x01\n\x17OcrCharacterRestriction\x12\r\n\x05index\x18\x01 \x01(\x05\x12\x1a\n\x12\x61llowed_characters\x18\x02 \x01(\t\x12\x1c\n\x14number_of_characters\x18\x03 \x01(\x05\x12P\n ocr_character_restriction_preset\x18\x04 \x01(\x0b\x32&.request.OcrCharacterRestrictionPreset\"\x87\x02\n\x11NetworkExperiment\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10network_typename\x18\x02 \x01(\t\x12\x0e\n\x06\x66lavor\x18\x03 \x01(\t\x12)\n\x0c\x63lass_labels\x18\x04 \x03(\x0b\x32\x13.request.ClassLabel\x12&\n\x06\x63onfig\x18\x05 \x01(\x0b\x32\x16.request.NetworkConfig\x12#\n\x08snapshot\x18\x06 \x01(\x0b\x32\x11.request.Snapshot\x12\x44\n\x1aocr_character_restrictions\x18\x07 \x03(\x0b\x32 .request.OcrCharacterRestriction\"c\n\x05Image\x12\x0f\n\x07\x66ile_id\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x05\x12\r\n\x05width\x18\x03 \x01(\x05\x12\x19\n\x11owned_by_group_id\x18\x04 \x01(\t\x12\x0f\n\x07\x62lob_id\x18\x05 \x01(\t\"%\n\nClassLabel\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0b\n\x03idx\x18\x02 \x01(\x05\x42?Z(github.com/DENKweit/denkproto-go/request\xaa\x02\x12\x44\x45NK.Proto.Requestb\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'request_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z(github.com/DENKweit/denkproto-go/request\252\002\022DENK.Proto.Request'
|
|
35
|
+
_globals['_MODELBLOB']._serialized_start=26
|
|
36
|
+
_globals['_MODELBLOB']._serialized_end=81
|
|
37
|
+
_globals['_SNAPSHOT']._serialized_start=83
|
|
38
|
+
_globals['_SNAPSHOT']._serialized_end=176
|
|
39
|
+
_globals['_NETWORKCONFIG']._serialized_start=178
|
|
40
|
+
_globals['_NETWORKCONFIG']._serialized_end=243
|
|
41
|
+
_globals['_OCRCHARACTERRESTRICTIONPRESET']._serialized_start=245
|
|
42
|
+
_globals['_OCRCHARACTERRESTRICTIONPRESET']._serialized_end=311
|
|
43
|
+
_globals['_OCRCHARACTERRESTRICTION']._serialized_start=314
|
|
44
|
+
_globals['_OCRCHARACTERRESTRICTION']._serialized_end=494
|
|
45
|
+
_globals['_NETWORKEXPERIMENT']._serialized_start=497
|
|
46
|
+
_globals['_NETWORKEXPERIMENT']._serialized_end=760
|
|
47
|
+
_globals['_IMAGE']._serialized_start=762
|
|
48
|
+
_globals['_IMAGE']._serialized_end=861
|
|
49
|
+
_globals['_CLASSLABEL']._serialized_start=863
|
|
50
|
+
_globals['_CLASSLABEL']._serialized_end=900
|
|
51
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
from google.protobuf.internal import containers as _containers
|
|
2
|
+
from google.protobuf import descriptor as _descriptor
|
|
3
|
+
from google.protobuf import message as _message
|
|
4
|
+
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
5
|
+
|
|
6
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
7
|
+
|
|
8
|
+
class ModelBlob(_message.Message):
|
|
9
|
+
__slots__ = ("owned_by_group_id", "blob_id")
|
|
10
|
+
OWNED_BY_GROUP_ID_FIELD_NUMBER: _ClassVar[int]
|
|
11
|
+
BLOB_ID_FIELD_NUMBER: _ClassVar[int]
|
|
12
|
+
owned_by_group_id: str
|
|
13
|
+
blob_id: str
|
|
14
|
+
def __init__(self, owned_by_group_id: _Optional[str] = ..., blob_id: _Optional[str] = ...) -> None: ...
|
|
15
|
+
|
|
16
|
+
class Snapshot(_message.Message):
|
|
17
|
+
__slots__ = ("id", "onnx", "pytorch")
|
|
18
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
+
ONNX_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
+
PYTORCH_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
id: str
|
|
22
|
+
onnx: ModelBlob
|
|
23
|
+
pytorch: ModelBlob
|
|
24
|
+
def __init__(self, id: _Optional[str] = ..., onnx: _Optional[_Union[ModelBlob, _Mapping]] = ..., pytorch: _Optional[_Union[ModelBlob, _Mapping]] = ...) -> None: ...
|
|
25
|
+
|
|
26
|
+
class NetworkConfig(_message.Message):
|
|
27
|
+
__slots__ = ("uses_validation_tiling", "metadata")
|
|
28
|
+
USES_VALIDATION_TILING_FIELD_NUMBER: _ClassVar[int]
|
|
29
|
+
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
30
|
+
uses_validation_tiling: bool
|
|
31
|
+
metadata: str
|
|
32
|
+
def __init__(self, uses_validation_tiling: bool = ..., metadata: _Optional[str] = ...) -> None: ...
|
|
33
|
+
|
|
34
|
+
class OcrCharacterRestrictionPreset(_message.Message):
|
|
35
|
+
__slots__ = ("value", "characters")
|
|
36
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
37
|
+
CHARACTERS_FIELD_NUMBER: _ClassVar[int]
|
|
38
|
+
value: str
|
|
39
|
+
characters: str
|
|
40
|
+
def __init__(self, value: _Optional[str] = ..., characters: _Optional[str] = ...) -> None: ...
|
|
41
|
+
|
|
42
|
+
class OcrCharacterRestriction(_message.Message):
|
|
43
|
+
__slots__ = ("index", "allowed_characters", "number_of_characters", "ocr_character_restriction_preset")
|
|
44
|
+
INDEX_FIELD_NUMBER: _ClassVar[int]
|
|
45
|
+
ALLOWED_CHARACTERS_FIELD_NUMBER: _ClassVar[int]
|
|
46
|
+
NUMBER_OF_CHARACTERS_FIELD_NUMBER: _ClassVar[int]
|
|
47
|
+
OCR_CHARACTER_RESTRICTION_PRESET_FIELD_NUMBER: _ClassVar[int]
|
|
48
|
+
index: int
|
|
49
|
+
allowed_characters: str
|
|
50
|
+
number_of_characters: int
|
|
51
|
+
ocr_character_restriction_preset: OcrCharacterRestrictionPreset
|
|
52
|
+
def __init__(self, index: _Optional[int] = ..., allowed_characters: _Optional[str] = ..., number_of_characters: _Optional[int] = ..., ocr_character_restriction_preset: _Optional[_Union[OcrCharacterRestrictionPreset, _Mapping]] = ...) -> None: ...
|
|
53
|
+
|
|
54
|
+
class NetworkExperiment(_message.Message):
|
|
55
|
+
__slots__ = ("id", "network_typename", "flavor", "class_labels", "config", "snapshot", "ocr_character_restrictions")
|
|
56
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
57
|
+
NETWORK_TYPENAME_FIELD_NUMBER: _ClassVar[int]
|
|
58
|
+
FLAVOR_FIELD_NUMBER: _ClassVar[int]
|
|
59
|
+
CLASS_LABELS_FIELD_NUMBER: _ClassVar[int]
|
|
60
|
+
CONFIG_FIELD_NUMBER: _ClassVar[int]
|
|
61
|
+
SNAPSHOT_FIELD_NUMBER: _ClassVar[int]
|
|
62
|
+
OCR_CHARACTER_RESTRICTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
63
|
+
id: str
|
|
64
|
+
network_typename: str
|
|
65
|
+
flavor: str
|
|
66
|
+
class_labels: _containers.RepeatedCompositeFieldContainer[ClassLabel]
|
|
67
|
+
config: NetworkConfig
|
|
68
|
+
snapshot: Snapshot
|
|
69
|
+
ocr_character_restrictions: _containers.RepeatedCompositeFieldContainer[OcrCharacterRestriction]
|
|
70
|
+
def __init__(self, id: _Optional[str] = ..., network_typename: _Optional[str] = ..., flavor: _Optional[str] = ..., class_labels: _Optional[_Iterable[_Union[ClassLabel, _Mapping]]] = ..., config: _Optional[_Union[NetworkConfig, _Mapping]] = ..., snapshot: _Optional[_Union[Snapshot, _Mapping]] = ..., ocr_character_restrictions: _Optional[_Iterable[_Union[OcrCharacterRestriction, _Mapping]]] = ...) -> None: ...
|
|
71
|
+
|
|
72
|
+
class Image(_message.Message):
|
|
73
|
+
__slots__ = ("file_id", "height", "width", "owned_by_group_id", "blob_id")
|
|
74
|
+
FILE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
75
|
+
HEIGHT_FIELD_NUMBER: _ClassVar[int]
|
|
76
|
+
WIDTH_FIELD_NUMBER: _ClassVar[int]
|
|
77
|
+
OWNED_BY_GROUP_ID_FIELD_NUMBER: _ClassVar[int]
|
|
78
|
+
BLOB_ID_FIELD_NUMBER: _ClassVar[int]
|
|
79
|
+
file_id: str
|
|
80
|
+
height: int
|
|
81
|
+
width: int
|
|
82
|
+
owned_by_group_id: str
|
|
83
|
+
blob_id: str
|
|
84
|
+
def __init__(self, file_id: _Optional[str] = ..., height: _Optional[int] = ..., width: _Optional[int] = ..., owned_by_group_id: _Optional[str] = ..., blob_id: _Optional[str] = ...) -> None: ...
|
|
85
|
+
|
|
86
|
+
class ClassLabel(_message.Message):
|
|
87
|
+
__slots__ = ("id", "idx")
|
|
88
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
89
|
+
IDX_FIELD_NUMBER: _ClassVar[int]
|
|
90
|
+
id: str
|
|
91
|
+
idx: int
|
|
92
|
+
def __init__(self, id: _Optional[str] = ..., idx: _Optional[int] = ...) -> 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 request_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/results_pb2.py
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: results.proto
|
|
5
|
+
# Protobuf Python Version: 5.28.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
28,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'results.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rresults.proto\x12\x07results\"\xb1\x01\n\rDefectAddress\x12\x15\n\rdataset_index\x18\x01 \x01(\x05\x12\x10\n\x08model_id\x18\x02 \x01(\x05\x12\x15\n\rfeature_index\x18\x03 \x01(\x05\x12\x14\n\x0coverlap_area\x18\x04 \x01(\x01\x12\x15\n\roverlap_ratio\x18\x05 \x01(\x01\x12\x1e\n\x16overlap_ratio_of_other\x18\x06 \x01(\x01\x12\x13\n\x0b\x66\x65\x61ture_uid\x18\x07 \x01(\t\"<\n\x06RowRLC\x12\x10\n\x08offset_x\x18\x01 \x01(\x05\x12\x10\n\x08offset_y\x18\x02 \x01(\x05\x12\x0e\n\x06length\x18\x03 \x01(\x05\"G\n\x0cOcrCharacter\x12\x11\n\tcharacter\x18\x01 \x01(\t\x12\x13\n\x0bprobability\x18\x02 \x01(\x01\x12\x0f\n\x07ignored\x18\x03 \x01(\x08\"D\n\x14OcrCharacterPosition\x12,\n\rocr_character\x18\x01 \x03(\x0b\x32\x15.results.OcrCharacter\"\x1d\n\x05Point\x12\t\n\x01x\x18\x01 \x01(\x01\x12\t\n\x01y\x18\x02 \x01(\x01\" \n\x08PointInt\x12\t\n\x01x\x18\x01 \x01(\x03\x12\t\n\x01y\x18\x02 \x01(\x03\",\n\x07\x43ontour\x12!\n\x06points\x18\x01 \x03(\x0b\x32\x11.results.PointInt\"f\n\x12MinimalBoundingBox\x12\x10\n\x08\x63\x65nter_x\x18\x01 \x01(\x01\x12\x10\n\x08\x63\x65nter_y\x18\x02 \x01(\x01\x12\r\n\x05width\x18\x03 \x01(\x01\x12\x0e\n\x06height\x18\x04 \x01(\x01\x12\r\n\x05\x61ngle\x18\x05 \x01(\x01\"}\n\x13OrientedBoundingBox\x12\x1e\n\x06\x63\x65nter\x18\x01 \x01(\x0b\x32\x0e.results.Point\x12\r\n\x05width\x18\x02 \x01(\x01\x12\x0e\n\x06height\x18\x03 \x01(\x01\x12\r\n\x05\x61ngle\x18\x04 \x01(\x01\x12\x18\n\x10\x66ull_orientation\x18\x05 \x01(\x08\"\xf3\x06\n\x0c\x46\x65\x61tureField\x12\r\n\x05label\x18\x01 \x01(\t\x12\x0c\n\x04show\x18\x02 \x01(\x08\x12\r\n\x05\x63olor\x18\x03 \x03(\x05\x12\x0e\n\x06rect_x\x18\x04 \x01(\x05\x12\x0e\n\x06rect_y\x18\x05 \x01(\x05\x12\x0e\n\x06rect_w\x18\x06 \x01(\x05\x12\x0e\n\x06rect_h\x18\x07 \x01(\x05\x12\x13\n\x0bprobability\x18\x08 \x01(\x01\x12\x0c\n\x04\x61rea\x18\t \x01(\x01\x12\x0e\n\x06length\x18\n \x01(\x01\x12\r\n\x05width\x18\x0b \x01(\x01\x12\x11\n\tmean_gray\x18\x0c \x01(\x01\x12\x10\n\x08max_gray\x18\r \x01(\x01\x12\x10\n\x08min_gray\x18\x0e \x01(\x01\x12\x0f\n\x07in_area\x18\x0f \x03(\x05\x12-\n\roverlaps_with\x18\x10 \x03(\x0b\x32\x16.results.DefectAddress\x12\x11\n\trect_x_mm\x18\x11 \x01(\x01\x12\x11\n\trect_y_mm\x18\x12 \x01(\x01\x12\x11\n\trect_w_mm\x18\x13 \x01(\x01\x12\x11\n\trect_h_mm\x18\x14 \x01(\x01\x12 \n\x07row_rlc\x18\x15 \x03(\x0b\x32\x0f.results.RowRLC\x12=\n\x16ocr_character_position\x18\x16 \x03(\x0b\x32\x1d.results.OcrCharacterPosition\x12\x39\n\x14minimal_bounding_box\x18\x17 \x01(\x0b\x32\x1b.results.MinimalBoundingBox\x12\x32\n\x1aminimal_bounding_box_point\x18\x18 \x03(\x0b\x32\x0e.results.Point\x12\x1d\n\x15write_protected_label\x18\x19 \x01(\x08\x12*\n\x0c\x62\x61rcode_type\x18\x1a \x01(\x0e\x32\x14.results.BarcodeType\x12\x19\n\x11\x62\x61rcode_raw_bytes\x18\x1b \x01(\x0c\x12;\n\x15oriented_bounding_box\x18\x1c \x01(\x0b\x32\x1c.results.OrientedBoundingBox\x12\x33\n\x1boriented_bounding_box_point\x18\x1d \x03(\x0b\x32\x0e.results.Point\x12\x19\n\x11segmentation_mask\x18\x1e \x01(\x0c\x12/\n\x15segmentation_contours\x18\x1f \x03(\x0b\x32\x10.results.Contour\"\xbf\x01\n\x08MapField\x12\r\n\x05label\x18\x01 \x01(\t\x12\x0c\n\x04show\x18\x02 \x01(\x08\x12\r\n\x05\x63olor\x18\x03 \x03(\x05\x12&\n\x08\x64\x61tatype\x18\x04 \x01(\x0e\x32\x14.results.MapDataType\x12\x0f\n\x07image_w\x18\x05 \x01(\x05\x12\x0f\n\x07image_h\x18\x06 \x01(\x05\x12\x0f\n\x07image_c\x18\x07 \x01(\x05\x12\x16\n\x0estart_position\x18\x08 \x01(\x05\x12\x14\n\x0c\x65nd_position\x18\t \x01(\x05\"\x8c\x03\n\x0bResultField\x12\x13\n\x0bmodel_label\x18\x01 \x01(\t\x12\x11\n\tmodel_tag\x18\x02 \x01(\t\x12\x10\n\x08model_id\x18\x03 \x01(\x05\x12\x12\n\nclassifier\x18\x04 \x01(\x01\x12\x1a\n\x12\x65valuation_time_ms\x18\x05 \x01(\x01\x12\x1f\n\x17post_processing_time_ms\x18\x06 \x01(\x01\x12%\n\nresult_map\x18\x07 \x03(\x0b\x32\x11.results.MapField\x12&\n\x07\x66\x65\x61ture\x18\x08 \x03(\x0b\x32\x15.results.FeatureField\x12\x0e\n\x06tenant\x18\t \x01(\t\x12\x11\n\ttenant_id\x18\n \x01(\t\x12\x1a\n\x12onnx_version_major\x18\x0b \x01(\x05\x12\x1a\n\x12onnx_version_minor\x18\x0c \x01(\x05\x12\x13\n\x0b\x66\x65\x61ture_uid\x18\r \x01(\t\x12\x33\n\x11result_field_type\x18\x0e \x01(\x0e\x32\x18.results.ResultFieldType\"\x8b\x01\n\x07Summary\x12\x13\n\x0bimage_class\x18\x01 \x01(\x05\x12\x12\n\nclass_code\x18\x02 \x01(\t\x12\x1c\n\x14most_relevant_defect\x18\x03 \x01(\t\x12\x1d\n\x15relevant_defects_json\x18\x04 \x01(\t\x12\x1a\n\x12\x66\x65\x61ture_table_json\x18\x05 \x01(\t\"8\n\x0b\x46\x65\x61tureInfo\x12\x13\n\x0b\x66\x65\x61ture_uid\x18\x01 \x01(\t\x12\x14\n\x0c\x66\x65\x61ture_name\x18\x02 \x01(\t\"\x93\x02\n\tModelInfo\x12\x11\n\tmodel_uid\x18\x01 \x01(\t\x12\x12\n\nmodel_name\x18\x02 \x01(\t\x12&\n\x08\x66\x65\x61tures\x18\x03 \x03(\x0b\x32\x14.results.FeatureInfo\x12\x0e\n\x06tenant\x18\x04 \x01(\t\x12\x12\n\ntenant_uid\x18\x05 \x01(\t\x12\x1a\n\x12onnx_version_major\x18\x06 \x01(\x05\x12\x1a\n\x12onnx_version_minor\x18\x07 \x01(\x05\x12&\n\nmodel_type\x18\x08 \x01(\x0e\x32\x12.results.ModelType\x12\x33\n\x11model_output_type\x18\t \x01(\x0e\x32\x18.results.ModelOutputType\"\x87\x03\n\x07Results\x12$\n\x06output\x18\x01 \x03(\x0b\x32\x14.results.ResultField\x12\x18\n\x10original_image_w\x18\x02 \x01(\x05\x12\x18\n\x10original_image_h\x18\x03 \x01(\x05\x12\x18\n\x10original_image_c\x18\x04 \x01(\x05\x12\x1b\n\x13original_image_w_mm\x18\x05 \x01(\x01\x12\x1b\n\x13original_image_h_mm\x18\x06 \x01(\x01\x12\x1b\n\x13original_image_c_mm\x18\x07 \x01(\x01\x12\x1d\n\x15mean_gray_active_area\x18\x08 \x01(\x01\x12(\n\x0eresult_summary\x18\t \x01(\x0b\x32\x10.results.Summary\x12\x1c\n\x14min_gray_active_area\x18\n \x01(\x01\x12\x1c\n\x14max_gray_active_area\x18\x0b \x01(\x01\x12,\n\x10\x61vailable_models\x18\x0c \x03(\x0b\x32\x12.results.ModelInfo\"\xcc\x02\n\x0cModelOptions\x12\x13\n\x0b\x64\x65\x61\x63tivated\x18\x01 \x01(\x08\x12 \n\x18minSegmentationThreshold\x18\x02 \x01(\x01\x12\x14\n\x0cminGrayValue\x18\x03 \x01(\x01\x12\x14\n\x0cmaxGrayValue\x18\x04 \x01(\x01\x12\x18\n\x10maxMeanGrayValue\x18\x05 \x01(\x01\x12\x16\n\x0eminProbability\x18\x06 \x01(\x01\x12\x11\n\tminLength\x18\x07 \x01(\x01\x12\x10\n\x08minWidth\x18\x08 \x01(\x01\x12\x11\n\tminHeight\x18\t \x01(\x01\x12\x0f\n\x07minArea\x18\n \x01(\x01\x12\x1a\n\x12minImageClassifier\x18\x0b \x01(\x01\x12\x15\n\rdeepGrayLevel\x18\x0c \x01(\x01\x12\x10\n\x08priority\x18\r \x01(\x05\x12\x19\n\x11onlyBoundingBoxes\x18\x0e \x01(\x08\"\x9e\x03\n\x0fOptionContainer\x12\x36\n\x07options\x18\x01 \x03(\x0b\x32%.results.OptionContainer.OptionsEntry\x12\x11\n\tdivisor_w\x18\x02 \x01(\x05\x12\x11\n\tdivisor_h\x18\x03 \x01(\x05\x12\x12\n\nbatch_size\x18\x04 \x01(\x05\x12 \n\x18network_img_prescaling_w\x18\x05 \x01(\x05\x12 \n\x18network_img_prescaling_h\x18\x06 \x01(\x05\x12 \n\x18network_img_prescaling_c\x18\x07 \x01(\x05\x12\x10\n\x08\x62order_w\x18\x08 \x01(\x05\x12\x10\n\x08\x62order_h\x18\t \x01(\x05\x12\x12\n\nborder_w_r\x18\n \x01(\x05\x12\x12\n\nborder_h_b\x18\x0b \x01(\x05\x12\x0f\n\x07\x63\x65lls_w\x18\x0c \x01(\x05\x12\x0f\n\x07\x63\x65lls_h\x18\r \x01(\x05\x1a\x45\n\x0cOptionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12$\n\x05value\x18\x02 \x01(\x0b\x32\x15.results.ModelOptions:\x02\x38\x01\"\xd6\x01\n\x06\x44\x65vice\x12\x11\n\tdevice_id\x18\x01 \x01(\x05\x12!\n\x04type\x18\x02 \x01(\x0e\x32\x13.results.DeviceType\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0bmemory_size\x18\x04 \x01(\x03\x12\x12\n\nintegrated\x18\x05 \x01(\x08\x12\x11\n\tcuda_uuid\x18\x06 \x01(\t\x12%\n\x1d\x63uda_compute_capability_major\x18\x07 \x01(\x05\x12%\n\x1d\x63uda_compute_capability_minor\x18\x08 \x01(\x05\"4\n\x11\x44\x65viceInformation\x12\x1f\n\x06\x64\x65vice\x18\x01 \x03(\x0b\x32\x0f.results.Device*\xca\x01\n\x0bMapDataType\x12\x0c\n\x08MAP_INT8\x10\x00\x12\r\n\tMAP_INT16\x10\x01\x12\r\n\tMAP_INT32\x10\x02\x12\r\n\tMAP_INT64\x10\x03\x12\r\n\tMAP_UINT8\x10\x04\x12\x0e\n\nMAP_UINT16\x10\x05\x12\x0e\n\nMAP_UINT32\x10\x06\x12\x0e\n\nMAP_UINT64\x10\x07\x12\x0e\n\nMAP_FLOAT8\x10\x08\x12\x0f\n\x0bMAP_FLOAT16\x10\t\x12\x0f\n\x0bMAP_FLOAT32\x10\n\x12\x0f\n\x0bMAP_FLOAT64\x10\x0b*-\n\tModelType\x12\x0b\n\x07REGULAR\x10\x00\x12\x13\n\x0f\x41REA_DEFINITION\x10\x01*\xbd\x02\n\x0fModelOutputType\x12\x10\n\x0cTYPE_UNKNOWN\x10\x00\x12\x17\n\x13TYPE_CLASSIFICATION\x10\x01\x12\x15\n\x11TYPE_SEGMENTATION\x10\x02\x12\x1e\n\x1aTYPE_INSTANCE_SEGMENTATION\x10\x03\x12\x19\n\x15TYPE_OBJECT_DETECTION\x10\x04\x12\x1a\n\x16TYPE_ANOMALY_DETECTION\x10\x05\x12&\n\"TYPE_OPTICAL_CHARACTER_RECOGNITION\x10\x06\x12\x11\n\rTYPE_BARCODES\x10\x07\x12*\n&TYPE_OBJECT_DETECTION_HALF_ORIENTATION\x10\x08\x12*\n&TYPE_OBJECT_DETECTION_FULL_ORIENTATION\x10\t*\xd4\x04\n\x0b\x42\x61rcodeType\x12\x10\n\x0c\x42T_UNDEFINED\x10\x00\x12\x0c\n\x08\x42T_AZTEC\x10\x01\x12\x0e\n\nBT_CODABAR\x10\x02\x12\x0e\n\nBT_CODE_32\x10\x03\x12\x0e\n\nBT_CODE_39\x10\x04\x12\x0e\n\nBT_CODE_93\x10\x05\x12\x0f\n\x0b\x42T_CODE_128\x10\x06\x12\x0e\n\nBT_DATABAR\x10\x07\x12\x17\n\x13\x42T_DATABAR_EXPANDED\x10\x08\x12\x16\n\x12\x42T_DATABAR_LIMITED\x10\t\x12\x11\n\rBT_DATAMATRIX\x10\n\x12\x0c\n\x08\x42T_EAN_8\x10\x0b\x12\r\n\tBT_EAN_13\x10\x0c\x12\x1a\n\x16\x42T_EAN_13_WITH_ADDON_2\x10\r\x12\x1a\n\x16\x42T_EAN_13_WITH_ADDON_5\x10\x0e\x12\x15\n\x11\x42T_GS1_DATAMATRIX\x10\x0f\x12\x0e\n\nBT_GS1_128\x10\x10\x12\x0f\n\x0b\x42T_ISBT_128\x10\x11\x12\n\n\x06\x42T_ITF\x10\x12\x12\r\n\tBT_ITF_14\x10\x13\x12\x0f\n\x0b\x42T_MAXICODE\x10\x14\x12\x14\n\x10\x42T_MICRO_QR_CODE\x10\x15\x12\n\n\x06\x42T_MSI\x10\x16\x12\r\n\tBT_PDF417\x10\x17\x12\x0e\n\nBT_QR_CODE\x10\x18\x12\x0c\n\x08\x42T_UPC_A\x10\x19\x12\x19\n\x15\x42T_UPC_A_WITH_ADDON_2\x10\x1a\x12\x19\n\x15\x42T_UPC_A_WITH_ADDON_5\x10\x1b\x12\x0c\n\x08\x42T_UPC_E\x10\x1c\x12\x19\n\x15\x42T_UPC_E_WITH_ADDON_2\x10\x1d\x12\x19\n\x15\x42T_UPC_E_WITH_ADDON_5\x10\x1e*H\n\x0fResultFieldType\x12\x0f\n\x0bRFT_REGULAR\x10\x00\x12\x15\n\x11RFT_MODEL_SUMMARY\x10\x01\x12\r\n\tRFT_DEBUG\x10\x02*-\n\nDeviceType\x12\r\n\tUNDEFINED\x10\x00\x12\x07\n\x03\x43PU\x10\x01\x12\x07\n\x03GPU\x10\x02\x42?Z(github.com/DENKweit/denkproto-go/results\xaa\x02\x12\x44\x45NK.Proto.Resultsb\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'results_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z(github.com/DENKweit/denkproto-go/results\252\002\022DENK.Proto.Results'
|
|
35
|
+
_globals['_OPTIONCONTAINER_OPTIONSENTRY']._loaded_options = None
|
|
36
|
+
_globals['_OPTIONCONTAINER_OPTIONSENTRY']._serialized_options = b'8\001'
|
|
37
|
+
_globals['_MAPDATATYPE']._serialized_start=4128
|
|
38
|
+
_globals['_MAPDATATYPE']._serialized_end=4330
|
|
39
|
+
_globals['_MODELTYPE']._serialized_start=4332
|
|
40
|
+
_globals['_MODELTYPE']._serialized_end=4377
|
|
41
|
+
_globals['_MODELOUTPUTTYPE']._serialized_start=4380
|
|
42
|
+
_globals['_MODELOUTPUTTYPE']._serialized_end=4697
|
|
43
|
+
_globals['_BARCODETYPE']._serialized_start=4700
|
|
44
|
+
_globals['_BARCODETYPE']._serialized_end=5296
|
|
45
|
+
_globals['_RESULTFIELDTYPE']._serialized_start=5298
|
|
46
|
+
_globals['_RESULTFIELDTYPE']._serialized_end=5370
|
|
47
|
+
_globals['_DEVICETYPE']._serialized_start=5372
|
|
48
|
+
_globals['_DEVICETYPE']._serialized_end=5417
|
|
49
|
+
_globals['_DEFECTADDRESS']._serialized_start=27
|
|
50
|
+
_globals['_DEFECTADDRESS']._serialized_end=204
|
|
51
|
+
_globals['_ROWRLC']._serialized_start=206
|
|
52
|
+
_globals['_ROWRLC']._serialized_end=266
|
|
53
|
+
_globals['_OCRCHARACTER']._serialized_start=268
|
|
54
|
+
_globals['_OCRCHARACTER']._serialized_end=339
|
|
55
|
+
_globals['_OCRCHARACTERPOSITION']._serialized_start=341
|
|
56
|
+
_globals['_OCRCHARACTERPOSITION']._serialized_end=409
|
|
57
|
+
_globals['_POINT']._serialized_start=411
|
|
58
|
+
_globals['_POINT']._serialized_end=440
|
|
59
|
+
_globals['_POINTINT']._serialized_start=442
|
|
60
|
+
_globals['_POINTINT']._serialized_end=474
|
|
61
|
+
_globals['_CONTOUR']._serialized_start=476
|
|
62
|
+
_globals['_CONTOUR']._serialized_end=520
|
|
63
|
+
_globals['_MINIMALBOUNDINGBOX']._serialized_start=522
|
|
64
|
+
_globals['_MINIMALBOUNDINGBOX']._serialized_end=624
|
|
65
|
+
_globals['_ORIENTEDBOUNDINGBOX']._serialized_start=626
|
|
66
|
+
_globals['_ORIENTEDBOUNDINGBOX']._serialized_end=751
|
|
67
|
+
_globals['_FEATUREFIELD']._serialized_start=754
|
|
68
|
+
_globals['_FEATUREFIELD']._serialized_end=1637
|
|
69
|
+
_globals['_MAPFIELD']._serialized_start=1640
|
|
70
|
+
_globals['_MAPFIELD']._serialized_end=1831
|
|
71
|
+
_globals['_RESULTFIELD']._serialized_start=1834
|
|
72
|
+
_globals['_RESULTFIELD']._serialized_end=2230
|
|
73
|
+
_globals['_SUMMARY']._serialized_start=2233
|
|
74
|
+
_globals['_SUMMARY']._serialized_end=2372
|
|
75
|
+
_globals['_FEATUREINFO']._serialized_start=2374
|
|
76
|
+
_globals['_FEATUREINFO']._serialized_end=2430
|
|
77
|
+
_globals['_MODELINFO']._serialized_start=2433
|
|
78
|
+
_globals['_MODELINFO']._serialized_end=2708
|
|
79
|
+
_globals['_RESULTS']._serialized_start=2711
|
|
80
|
+
_globals['_RESULTS']._serialized_end=3102
|
|
81
|
+
_globals['_MODELOPTIONS']._serialized_start=3105
|
|
82
|
+
_globals['_MODELOPTIONS']._serialized_end=3437
|
|
83
|
+
_globals['_OPTIONCONTAINER']._serialized_start=3440
|
|
84
|
+
_globals['_OPTIONCONTAINER']._serialized_end=3854
|
|
85
|
+
_globals['_OPTIONCONTAINER_OPTIONSENTRY']._serialized_start=3785
|
|
86
|
+
_globals['_OPTIONCONTAINER_OPTIONSENTRY']._serialized_end=3854
|
|
87
|
+
_globals['_DEVICE']._serialized_start=3857
|
|
88
|
+
_globals['_DEVICE']._serialized_end=4071
|
|
89
|
+
_globals['_DEVICEINFORMATION']._serialized_start=4073
|
|
90
|
+
_globals['_DEVICEINFORMATION']._serialized_end=4125
|
|
91
|
+
# @@protoc_insertion_point(module_scope)
|