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/markup_pb2.py
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: markup.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
|
+
'markup.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
import denkproto.geometry_pb2 as geometry__pb2
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0cmarkup.proto\x12\x06markup\x1a\x0egeometry.proto\"F\n\x10\x43ircleAnnotation\x12\x10\n\x08\x63\x65nter_x\x18\x01 \x01(\r\x12\x10\n\x08\x63\x65nter_y\x18\x02 \x01(\r\x12\x0e\n\x06radius\x18\x03 \x01(\r\"\xb6\x01\n\x13MagicwandAnnotation\x12\x12\n\ntop_left_x\x18\x01 \x01(\r\x12\x12\n\ntop_left_y\x18\x02 \x01(\r\x12\r\n\x05width\x18\x03 \x01(\r\x12\x0e\n\x06height\x18\x04 \x01(\r\x12\x10\n\x08\x63\x65nter_x\x18\x05 \x01(\r\x12\x10\n\x08\x63\x65nter_y\x18\x06 \x01(\r\x12!\n\x06points\x18\x07 \x03(\x0b\x32\x11.geometry.Point2D\x12\x11\n\tthreshold\x18\x08 \x01(\r\"\x8c\x01\n\rPenAnnotation\x12\x12\n\ntop_left_x\x18\x01 \x01(\r\x12\x12\n\ntop_left_y\x18\x02 \x01(\r\x12\r\n\x05width\x18\x03 \x01(\r\x12\x0e\n\x06height\x18\x04 \x01(\r\x12!\n\x06points\x18\x05 \x03(\x0b\x32\x11.geometry.Point2D\x12\x11\n\tthickness\x18\x06 \x01(\r\"\x80\x01\n\x0fPixelAnnotation\x12&\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x18.geometry.BinaryMaskData\x12\x12\n\ntop_left_x\x18\x02 \x01(\r\x12\x12\n\ntop_left_y\x18\x03 \x01(\r\x12\r\n\x05width\x18\x04 \x01(\r\x12\x0e\n\x06height\x18\x05 \x01(\r\"\x8d\x01\n\x11SausageAnnotation\x12\x12\n\ntop_left_x\x18\x01 \x01(\r\x12\x12\n\ntop_left_y\x18\x02 \x01(\r\x12\r\n\x05width\x18\x03 \x01(\r\x12\x0e\n\x06height\x18\x04 \x01(\r\x12!\n\x06points\x18\x05 \x03(\x0b\x32\x11.geometry.Point2D\x12\x0e\n\x06radius\x18\x06 \x01(\r\"G\n\x18\x43lassificationAnnotation\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08label_id\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\x01\"\xc4\x03\n\x16SegmentationAnnotation\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08label_id\x18\x02 \x01(\t\x12\x35\n\x11\x63ircle_annotation\x18\x03 \x01(\x0b\x32\x18.markup.CircleAnnotationH\x00\x12;\n\x14magicwand_annotation\x18\x04 \x01(\x0b\x32\x1b.markup.MagicwandAnnotationH\x00\x12/\n\x0epen_annotation\x18\x05 \x01(\x0b\x32\x15.markup.PenAnnotationH\x00\x12\x33\n\x10pixel_annotation\x18\x06 \x01(\x0b\x32\x17.markup.PixelAnnotationH\x00\x12/\n\x12polygon_annotation\x18\x07 \x01(\x0b\x32\x11.geometry.PolygonH\x00\x12\x35\n\x14rectangle_annotation\x18\x08 \x01(\x0b\x32\x15.geometry.BoundingBoxH\x00\x12\x37\n\x12sausage_annotation\x18\t \x01(\x0b\x32\x19.markup.SausageAnnotationH\x00\x42\x11\n\x0f\x61nnotation_data\"f\n\x19ObjectDetectionAnnotation\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08label_id\x18\x02 \x01(\t\x12+\n\x0c\x62ounding_box\x18\x03 \x01(\x0b\x32\x15.geometry.BoundingBox\"\xa1\x01\n\rOcrAnnotation\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08label_id\x18\x02 \x01(\t\x12\x0c\n\x04text\x18\x03 \x01(\t\x12-\n\x0c\x62ounding_box\x18\x04 \x01(\x0b\x32\x15.geometry.BoundingBoxH\x00\x12$\n\x07polygon\x18\x05 \x01(\x0b\x32\x11.geometry.PolygonH\x00\x42\x0f\n\rgeometry_data\"\xa8\x02\n\x06Markup\x12\x0e\n\x06height\x18\x01 \x01(\x05\x12\r\n\x05width\x18\x02 \x01(\x05\x12\x44\n\x1a\x63lassification_annotations\x18\x03 \x03(\x0b\x32 .markup.ClassificationAnnotation\x12@\n\x18segmentation_annotations\x18\x04 \x03(\x0b\x32\x1e.markup.SegmentationAnnotation\x12G\n\x1cobject_detection_annotations\x18\x05 \x03(\x0b\x32!.markup.ObjectDetectionAnnotation\x12.\n\x0focr_annotations\x18\x06 \x03(\x0b\x32\x15.markup.OcrAnnotationB=Z\'github.com/DENKweit/denkproto-go/markup\xaa\x02\x11\x44\x45NK.Proto.Markupb\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'markup_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z\'github.com/DENKweit/denkproto-go/markup\252\002\021DENK.Proto.Markup'
|
|
36
|
+
_globals['_CIRCLEANNOTATION']._serialized_start=40
|
|
37
|
+
_globals['_CIRCLEANNOTATION']._serialized_end=110
|
|
38
|
+
_globals['_MAGICWANDANNOTATION']._serialized_start=113
|
|
39
|
+
_globals['_MAGICWANDANNOTATION']._serialized_end=295
|
|
40
|
+
_globals['_PENANNOTATION']._serialized_start=298
|
|
41
|
+
_globals['_PENANNOTATION']._serialized_end=438
|
|
42
|
+
_globals['_PIXELANNOTATION']._serialized_start=441
|
|
43
|
+
_globals['_PIXELANNOTATION']._serialized_end=569
|
|
44
|
+
_globals['_SAUSAGEANNOTATION']._serialized_start=572
|
|
45
|
+
_globals['_SAUSAGEANNOTATION']._serialized_end=713
|
|
46
|
+
_globals['_CLASSIFICATIONANNOTATION']._serialized_start=715
|
|
47
|
+
_globals['_CLASSIFICATIONANNOTATION']._serialized_end=786
|
|
48
|
+
_globals['_SEGMENTATIONANNOTATION']._serialized_start=789
|
|
49
|
+
_globals['_SEGMENTATIONANNOTATION']._serialized_end=1241
|
|
50
|
+
_globals['_OBJECTDETECTIONANNOTATION']._serialized_start=1243
|
|
51
|
+
_globals['_OBJECTDETECTIONANNOTATION']._serialized_end=1345
|
|
52
|
+
_globals['_OCRANNOTATION']._serialized_start=1348
|
|
53
|
+
_globals['_OCRANNOTATION']._serialized_end=1509
|
|
54
|
+
_globals['_MARKUP']._serialized_start=1512
|
|
55
|
+
_globals['_MARKUP']._serialized_end=1808
|
|
56
|
+
# @@protoc_insertion_point(module_scope)
|
denkproto/markup_pb2.pyi
ADDED
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import geometry_pb2 as _geometry_pb2
|
|
2
|
+
from google.protobuf.internal import containers as _containers
|
|
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 CircleAnnotation(_message.Message):
|
|
10
|
+
__slots__ = ("center_x", "center_y", "radius")
|
|
11
|
+
CENTER_X_FIELD_NUMBER: _ClassVar[int]
|
|
12
|
+
CENTER_Y_FIELD_NUMBER: _ClassVar[int]
|
|
13
|
+
RADIUS_FIELD_NUMBER: _ClassVar[int]
|
|
14
|
+
center_x: int
|
|
15
|
+
center_y: int
|
|
16
|
+
radius: int
|
|
17
|
+
def __init__(self, center_x: _Optional[int] = ..., center_y: _Optional[int] = ..., radius: _Optional[int] = ...) -> None: ...
|
|
18
|
+
|
|
19
|
+
class MagicwandAnnotation(_message.Message):
|
|
20
|
+
__slots__ = ("top_left_x", "top_left_y", "width", "height", "center_x", "center_y", "points", "threshold")
|
|
21
|
+
TOP_LEFT_X_FIELD_NUMBER: _ClassVar[int]
|
|
22
|
+
TOP_LEFT_Y_FIELD_NUMBER: _ClassVar[int]
|
|
23
|
+
WIDTH_FIELD_NUMBER: _ClassVar[int]
|
|
24
|
+
HEIGHT_FIELD_NUMBER: _ClassVar[int]
|
|
25
|
+
CENTER_X_FIELD_NUMBER: _ClassVar[int]
|
|
26
|
+
CENTER_Y_FIELD_NUMBER: _ClassVar[int]
|
|
27
|
+
POINTS_FIELD_NUMBER: _ClassVar[int]
|
|
28
|
+
THRESHOLD_FIELD_NUMBER: _ClassVar[int]
|
|
29
|
+
top_left_x: int
|
|
30
|
+
top_left_y: int
|
|
31
|
+
width: int
|
|
32
|
+
height: int
|
|
33
|
+
center_x: int
|
|
34
|
+
center_y: int
|
|
35
|
+
points: _containers.RepeatedCompositeFieldContainer[_geometry_pb2.Point2D]
|
|
36
|
+
threshold: int
|
|
37
|
+
def __init__(self, top_left_x: _Optional[int] = ..., top_left_y: _Optional[int] = ..., width: _Optional[int] = ..., height: _Optional[int] = ..., center_x: _Optional[int] = ..., center_y: _Optional[int] = ..., points: _Optional[_Iterable[_Union[_geometry_pb2.Point2D, _Mapping]]] = ..., threshold: _Optional[int] = ...) -> None: ...
|
|
38
|
+
|
|
39
|
+
class PenAnnotation(_message.Message):
|
|
40
|
+
__slots__ = ("top_left_x", "top_left_y", "width", "height", "points", "thickness")
|
|
41
|
+
TOP_LEFT_X_FIELD_NUMBER: _ClassVar[int]
|
|
42
|
+
TOP_LEFT_Y_FIELD_NUMBER: _ClassVar[int]
|
|
43
|
+
WIDTH_FIELD_NUMBER: _ClassVar[int]
|
|
44
|
+
HEIGHT_FIELD_NUMBER: _ClassVar[int]
|
|
45
|
+
POINTS_FIELD_NUMBER: _ClassVar[int]
|
|
46
|
+
THICKNESS_FIELD_NUMBER: _ClassVar[int]
|
|
47
|
+
top_left_x: int
|
|
48
|
+
top_left_y: int
|
|
49
|
+
width: int
|
|
50
|
+
height: int
|
|
51
|
+
points: _containers.RepeatedCompositeFieldContainer[_geometry_pb2.Point2D]
|
|
52
|
+
thickness: int
|
|
53
|
+
def __init__(self, top_left_x: _Optional[int] = ..., top_left_y: _Optional[int] = ..., width: _Optional[int] = ..., height: _Optional[int] = ..., points: _Optional[_Iterable[_Union[_geometry_pb2.Point2D, _Mapping]]] = ..., thickness: _Optional[int] = ...) -> None: ...
|
|
54
|
+
|
|
55
|
+
class PixelAnnotation(_message.Message):
|
|
56
|
+
__slots__ = ("data", "top_left_x", "top_left_y", "width", "height")
|
|
57
|
+
DATA_FIELD_NUMBER: _ClassVar[int]
|
|
58
|
+
TOP_LEFT_X_FIELD_NUMBER: _ClassVar[int]
|
|
59
|
+
TOP_LEFT_Y_FIELD_NUMBER: _ClassVar[int]
|
|
60
|
+
WIDTH_FIELD_NUMBER: _ClassVar[int]
|
|
61
|
+
HEIGHT_FIELD_NUMBER: _ClassVar[int]
|
|
62
|
+
data: _geometry_pb2.BinaryMaskData
|
|
63
|
+
top_left_x: int
|
|
64
|
+
top_left_y: int
|
|
65
|
+
width: int
|
|
66
|
+
height: int
|
|
67
|
+
def __init__(self, data: _Optional[_Union[_geometry_pb2.BinaryMaskData, _Mapping]] = ..., top_left_x: _Optional[int] = ..., top_left_y: _Optional[int] = ..., width: _Optional[int] = ..., height: _Optional[int] = ...) -> None: ...
|
|
68
|
+
|
|
69
|
+
class SausageAnnotation(_message.Message):
|
|
70
|
+
__slots__ = ("top_left_x", "top_left_y", "width", "height", "points", "radius")
|
|
71
|
+
TOP_LEFT_X_FIELD_NUMBER: _ClassVar[int]
|
|
72
|
+
TOP_LEFT_Y_FIELD_NUMBER: _ClassVar[int]
|
|
73
|
+
WIDTH_FIELD_NUMBER: _ClassVar[int]
|
|
74
|
+
HEIGHT_FIELD_NUMBER: _ClassVar[int]
|
|
75
|
+
POINTS_FIELD_NUMBER: _ClassVar[int]
|
|
76
|
+
RADIUS_FIELD_NUMBER: _ClassVar[int]
|
|
77
|
+
top_left_x: int
|
|
78
|
+
top_left_y: int
|
|
79
|
+
width: int
|
|
80
|
+
height: int
|
|
81
|
+
points: _containers.RepeatedCompositeFieldContainer[_geometry_pb2.Point2D]
|
|
82
|
+
radius: int
|
|
83
|
+
def __init__(self, top_left_x: _Optional[int] = ..., top_left_y: _Optional[int] = ..., width: _Optional[int] = ..., height: _Optional[int] = ..., points: _Optional[_Iterable[_Union[_geometry_pb2.Point2D, _Mapping]]] = ..., radius: _Optional[int] = ...) -> None: ...
|
|
84
|
+
|
|
85
|
+
class ClassificationAnnotation(_message.Message):
|
|
86
|
+
__slots__ = ("id", "label_id", "value")
|
|
87
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
88
|
+
LABEL_ID_FIELD_NUMBER: _ClassVar[int]
|
|
89
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
90
|
+
id: str
|
|
91
|
+
label_id: str
|
|
92
|
+
value: float
|
|
93
|
+
def __init__(self, id: _Optional[str] = ..., label_id: _Optional[str] = ..., value: _Optional[float] = ...) -> None: ...
|
|
94
|
+
|
|
95
|
+
class SegmentationAnnotation(_message.Message):
|
|
96
|
+
__slots__ = ("id", "label_id", "circle_annotation", "magicwand_annotation", "pen_annotation", "pixel_annotation", "polygon_annotation", "rectangle_annotation", "sausage_annotation")
|
|
97
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
98
|
+
LABEL_ID_FIELD_NUMBER: _ClassVar[int]
|
|
99
|
+
CIRCLE_ANNOTATION_FIELD_NUMBER: _ClassVar[int]
|
|
100
|
+
MAGICWAND_ANNOTATION_FIELD_NUMBER: _ClassVar[int]
|
|
101
|
+
PEN_ANNOTATION_FIELD_NUMBER: _ClassVar[int]
|
|
102
|
+
PIXEL_ANNOTATION_FIELD_NUMBER: _ClassVar[int]
|
|
103
|
+
POLYGON_ANNOTATION_FIELD_NUMBER: _ClassVar[int]
|
|
104
|
+
RECTANGLE_ANNOTATION_FIELD_NUMBER: _ClassVar[int]
|
|
105
|
+
SAUSAGE_ANNOTATION_FIELD_NUMBER: _ClassVar[int]
|
|
106
|
+
id: str
|
|
107
|
+
label_id: str
|
|
108
|
+
circle_annotation: CircleAnnotation
|
|
109
|
+
magicwand_annotation: MagicwandAnnotation
|
|
110
|
+
pen_annotation: PenAnnotation
|
|
111
|
+
pixel_annotation: PixelAnnotation
|
|
112
|
+
polygon_annotation: _geometry_pb2.Polygon
|
|
113
|
+
rectangle_annotation: _geometry_pb2.BoundingBox
|
|
114
|
+
sausage_annotation: SausageAnnotation
|
|
115
|
+
def __init__(self, id: _Optional[str] = ..., label_id: _Optional[str] = ..., circle_annotation: _Optional[_Union[CircleAnnotation, _Mapping]] = ..., magicwand_annotation: _Optional[_Union[MagicwandAnnotation, _Mapping]] = ..., pen_annotation: _Optional[_Union[PenAnnotation, _Mapping]] = ..., pixel_annotation: _Optional[_Union[PixelAnnotation, _Mapping]] = ..., polygon_annotation: _Optional[_Union[_geometry_pb2.Polygon, _Mapping]] = ..., rectangle_annotation: _Optional[_Union[_geometry_pb2.BoundingBox, _Mapping]] = ..., sausage_annotation: _Optional[_Union[SausageAnnotation, _Mapping]] = ...) -> None: ...
|
|
116
|
+
|
|
117
|
+
class ObjectDetectionAnnotation(_message.Message):
|
|
118
|
+
__slots__ = ("id", "label_id", "bounding_box")
|
|
119
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
120
|
+
LABEL_ID_FIELD_NUMBER: _ClassVar[int]
|
|
121
|
+
BOUNDING_BOX_FIELD_NUMBER: _ClassVar[int]
|
|
122
|
+
id: str
|
|
123
|
+
label_id: str
|
|
124
|
+
bounding_box: _geometry_pb2.BoundingBox
|
|
125
|
+
def __init__(self, id: _Optional[str] = ..., label_id: _Optional[str] = ..., bounding_box: _Optional[_Union[_geometry_pb2.BoundingBox, _Mapping]] = ...) -> None: ...
|
|
126
|
+
|
|
127
|
+
class OcrAnnotation(_message.Message):
|
|
128
|
+
__slots__ = ("id", "label_id", "text", "bounding_box", "polygon")
|
|
129
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
130
|
+
LABEL_ID_FIELD_NUMBER: _ClassVar[int]
|
|
131
|
+
TEXT_FIELD_NUMBER: _ClassVar[int]
|
|
132
|
+
BOUNDING_BOX_FIELD_NUMBER: _ClassVar[int]
|
|
133
|
+
POLYGON_FIELD_NUMBER: _ClassVar[int]
|
|
134
|
+
id: str
|
|
135
|
+
label_id: str
|
|
136
|
+
text: str
|
|
137
|
+
bounding_box: _geometry_pb2.BoundingBox
|
|
138
|
+
polygon: _geometry_pb2.Polygon
|
|
139
|
+
def __init__(self, id: _Optional[str] = ..., label_id: _Optional[str] = ..., text: _Optional[str] = ..., bounding_box: _Optional[_Union[_geometry_pb2.BoundingBox, _Mapping]] = ..., polygon: _Optional[_Union[_geometry_pb2.Polygon, _Mapping]] = ...) -> None: ...
|
|
140
|
+
|
|
141
|
+
class Markup(_message.Message):
|
|
142
|
+
__slots__ = ("height", "width", "classification_annotations", "segmentation_annotations", "object_detection_annotations", "ocr_annotations")
|
|
143
|
+
HEIGHT_FIELD_NUMBER: _ClassVar[int]
|
|
144
|
+
WIDTH_FIELD_NUMBER: _ClassVar[int]
|
|
145
|
+
CLASSIFICATION_ANNOTATIONS_FIELD_NUMBER: _ClassVar[int]
|
|
146
|
+
SEGMENTATION_ANNOTATIONS_FIELD_NUMBER: _ClassVar[int]
|
|
147
|
+
OBJECT_DETECTION_ANNOTATIONS_FIELD_NUMBER: _ClassVar[int]
|
|
148
|
+
OCR_ANNOTATIONS_FIELD_NUMBER: _ClassVar[int]
|
|
149
|
+
height: int
|
|
150
|
+
width: int
|
|
151
|
+
classification_annotations: _containers.RepeatedCompositeFieldContainer[ClassificationAnnotation]
|
|
152
|
+
segmentation_annotations: _containers.RepeatedCompositeFieldContainer[SegmentationAnnotation]
|
|
153
|
+
object_detection_annotations: _containers.RepeatedCompositeFieldContainer[ObjectDetectionAnnotation]
|
|
154
|
+
ocr_annotations: _containers.RepeatedCompositeFieldContainer[OcrAnnotation]
|
|
155
|
+
def __init__(self, height: _Optional[int] = ..., width: _Optional[int] = ..., classification_annotations: _Optional[_Iterable[_Union[ClassificationAnnotation, _Mapping]]] = ..., segmentation_annotations: _Optional[_Iterable[_Union[SegmentationAnnotation, _Mapping]]] = ..., object_detection_annotations: _Optional[_Iterable[_Union[ObjectDetectionAnnotation, _Mapping]]] = ..., ocr_annotations: _Optional[_Iterable[_Union[OcrAnnotation, _Mapping]]] = ...) -> 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 markup_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
|
+
)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: materialized_markup.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
|
+
'materialized_markup.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
import denkproto.geometry_pb2 as geometry__pb2
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19materialized_markup.proto\x12\x13materialized_markup\x1a\x0egeometry.proto\"G\n\x18\x43lassificationAnnotation\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08label_id\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\x01\"\x7f\n\x16SegmentationAnnotation\x12\x15\n\rannotation_id\x18\x01 \x01(\t\x12\x10\n\x08label_id\x18\x02 \x01(\t\x12\t\n\x01x\x18\x03 \x01(\r\x12\t\n\x01y\x18\x04 \x01(\r\x12&\n\x04\x64\x61ta\x18\x05 \x01(\x0b\x32\x18.geometry.BinaryMaskData\"f\n\x19ObjectDetectionAnnotation\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08label_id\x18\x02 \x01(\t\x12+\n\x0c\x62ounding_box\x18\x03 \x01(\x0b\x32\x15.geometry.BoundingBox\"\xa1\x01\n\rOcrAnnotation\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08label_id\x18\x02 \x01(\t\x12\x0c\n\x04text\x18\x03 \x01(\t\x12-\n\x0c\x62ounding_box\x18\x04 \x01(\x0b\x32\x15.geometry.BoundingBoxH\x00\x12$\n\x07polygon\x18\x05 \x01(\x0b\x32\x11.geometry.PolygonH\x00\x42\x0f\n\rgeometry_data\"\xe8\x02\n\x12MaterializedMarkup\x12\x0e\n\x06height\x18\x01 \x01(\x05\x12\r\n\x05width\x18\x02 \x01(\x05\x12Q\n\x1a\x63lassification_annotations\x18\x03 \x03(\x0b\x32-.materialized_markup.ClassificationAnnotation\x12M\n\x18segmentation_annotations\x18\x04 \x03(\x0b\x32+.materialized_markup.SegmentationAnnotation\x12T\n\x1cobject_detection_annotations\x18\x05 \x03(\x0b\x32..materialized_markup.ObjectDetectionAnnotation\x12;\n\x0focr_annotations\x18\x06 \x03(\x0b\x32\".materialized_markup.OcrAnnotationBVZ4github.com/DENKweit/denkproto-go/materialized_markup\xaa\x02\x1d\x44\x45NK.Proto.MaterializedMarkupb\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'materialized_markup_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z4github.com/DENKweit/denkproto-go/materialized_markup\252\002\035DENK.Proto.MaterializedMarkup'
|
|
36
|
+
_globals['_CLASSIFICATIONANNOTATION']._serialized_start=66
|
|
37
|
+
_globals['_CLASSIFICATIONANNOTATION']._serialized_end=137
|
|
38
|
+
_globals['_SEGMENTATIONANNOTATION']._serialized_start=139
|
|
39
|
+
_globals['_SEGMENTATIONANNOTATION']._serialized_end=266
|
|
40
|
+
_globals['_OBJECTDETECTIONANNOTATION']._serialized_start=268
|
|
41
|
+
_globals['_OBJECTDETECTIONANNOTATION']._serialized_end=370
|
|
42
|
+
_globals['_OCRANNOTATION']._serialized_start=373
|
|
43
|
+
_globals['_OCRANNOTATION']._serialized_end=534
|
|
44
|
+
_globals['_MATERIALIZEDMARKUP']._serialized_start=537
|
|
45
|
+
_globals['_MATERIALIZEDMARKUP']._serialized_end=897
|
|
46
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import geometry_pb2 as _geometry_pb2
|
|
2
|
+
from google.protobuf.internal import containers as _containers
|
|
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 ClassificationAnnotation(_message.Message):
|
|
10
|
+
__slots__ = ("id", "label_id", "value")
|
|
11
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
12
|
+
LABEL_ID_FIELD_NUMBER: _ClassVar[int]
|
|
13
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
14
|
+
id: str
|
|
15
|
+
label_id: str
|
|
16
|
+
value: float
|
|
17
|
+
def __init__(self, id: _Optional[str] = ..., label_id: _Optional[str] = ..., value: _Optional[float] = ...) -> None: ...
|
|
18
|
+
|
|
19
|
+
class SegmentationAnnotation(_message.Message):
|
|
20
|
+
__slots__ = ("annotation_id", "label_id", "x", "y", "data")
|
|
21
|
+
ANNOTATION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
22
|
+
LABEL_ID_FIELD_NUMBER: _ClassVar[int]
|
|
23
|
+
X_FIELD_NUMBER: _ClassVar[int]
|
|
24
|
+
Y_FIELD_NUMBER: _ClassVar[int]
|
|
25
|
+
DATA_FIELD_NUMBER: _ClassVar[int]
|
|
26
|
+
annotation_id: str
|
|
27
|
+
label_id: str
|
|
28
|
+
x: int
|
|
29
|
+
y: int
|
|
30
|
+
data: _geometry_pb2.BinaryMaskData
|
|
31
|
+
def __init__(self, annotation_id: _Optional[str] = ..., label_id: _Optional[str] = ..., x: _Optional[int] = ..., y: _Optional[int] = ..., data: _Optional[_Union[_geometry_pb2.BinaryMaskData, _Mapping]] = ...) -> None: ...
|
|
32
|
+
|
|
33
|
+
class ObjectDetectionAnnotation(_message.Message):
|
|
34
|
+
__slots__ = ("id", "label_id", "bounding_box")
|
|
35
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
36
|
+
LABEL_ID_FIELD_NUMBER: _ClassVar[int]
|
|
37
|
+
BOUNDING_BOX_FIELD_NUMBER: _ClassVar[int]
|
|
38
|
+
id: str
|
|
39
|
+
label_id: str
|
|
40
|
+
bounding_box: _geometry_pb2.BoundingBox
|
|
41
|
+
def __init__(self, id: _Optional[str] = ..., label_id: _Optional[str] = ..., bounding_box: _Optional[_Union[_geometry_pb2.BoundingBox, _Mapping]] = ...) -> None: ...
|
|
42
|
+
|
|
43
|
+
class OcrAnnotation(_message.Message):
|
|
44
|
+
__slots__ = ("id", "label_id", "text", "bounding_box", "polygon")
|
|
45
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
46
|
+
LABEL_ID_FIELD_NUMBER: _ClassVar[int]
|
|
47
|
+
TEXT_FIELD_NUMBER: _ClassVar[int]
|
|
48
|
+
BOUNDING_BOX_FIELD_NUMBER: _ClassVar[int]
|
|
49
|
+
POLYGON_FIELD_NUMBER: _ClassVar[int]
|
|
50
|
+
id: str
|
|
51
|
+
label_id: str
|
|
52
|
+
text: str
|
|
53
|
+
bounding_box: _geometry_pb2.BoundingBox
|
|
54
|
+
polygon: _geometry_pb2.Polygon
|
|
55
|
+
def __init__(self, id: _Optional[str] = ..., label_id: _Optional[str] = ..., text: _Optional[str] = ..., bounding_box: _Optional[_Union[_geometry_pb2.BoundingBox, _Mapping]] = ..., polygon: _Optional[_Union[_geometry_pb2.Polygon, _Mapping]] = ...) -> None: ...
|
|
56
|
+
|
|
57
|
+
class MaterializedMarkup(_message.Message):
|
|
58
|
+
__slots__ = ("height", "width", "classification_annotations", "segmentation_annotations", "object_detection_annotations", "ocr_annotations")
|
|
59
|
+
HEIGHT_FIELD_NUMBER: _ClassVar[int]
|
|
60
|
+
WIDTH_FIELD_NUMBER: _ClassVar[int]
|
|
61
|
+
CLASSIFICATION_ANNOTATIONS_FIELD_NUMBER: _ClassVar[int]
|
|
62
|
+
SEGMENTATION_ANNOTATIONS_FIELD_NUMBER: _ClassVar[int]
|
|
63
|
+
OBJECT_DETECTION_ANNOTATIONS_FIELD_NUMBER: _ClassVar[int]
|
|
64
|
+
OCR_ANNOTATIONS_FIELD_NUMBER: _ClassVar[int]
|
|
65
|
+
height: int
|
|
66
|
+
width: int
|
|
67
|
+
classification_annotations: _containers.RepeatedCompositeFieldContainer[ClassificationAnnotation]
|
|
68
|
+
segmentation_annotations: _containers.RepeatedCompositeFieldContainer[SegmentationAnnotation]
|
|
69
|
+
object_detection_annotations: _containers.RepeatedCompositeFieldContainer[ObjectDetectionAnnotation]
|
|
70
|
+
ocr_annotations: _containers.RepeatedCompositeFieldContainer[OcrAnnotation]
|
|
71
|
+
def __init__(self, height: _Optional[int] = ..., width: _Optional[int] = ..., classification_annotations: _Optional[_Iterable[_Union[ClassificationAnnotation, _Mapping]]] = ..., segmentation_annotations: _Optional[_Iterable[_Union[SegmentationAnnotation, _Mapping]]] = ..., object_detection_annotations: _Optional[_Iterable[_Union[ObjectDetectionAnnotation, _Mapping]]] = ..., ocr_annotations: _Optional[_Iterable[_Union[OcrAnnotation, _Mapping]]] = ...) -> 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 materialized_markup_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
|
+
)
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: modelfile-v1.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
|
+
'modelfile-v1.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\x12modelfile-v1.proto\x12\x0cmodelfile.v1\"J\n\x0eRegionFromEdge\x12\x0c\n\x04left\x18\x01 \x01(\x01\x12\r\n\x05right\x18\x02 \x01(\x01\x12\x0b\n\x03top\x18\x03 \x01(\x01\x12\x0e\n\x06\x62ottom\x18\x04 \x01(\x01\"]\n\x0c\x46\x65\x61tureClass\x12\x13\n\x0b\x66\x65\x61ture_uid\x18\x01 \x01(\t\x12\x14\n\x0c\x66\x65\x61ture_name\x18\x02 \x01(\t\x12\r\n\x05\x63olor\x18\x03 \x03(\x05\x12\x13\n\x0b\x66\x65\x61ture_tag\x18\x04 \x01(\t\"\x97\x02\n\nInputField\x12\r\n\x05label\x18\x01 \x01(\t\x12(\n\x08\x64\x61tatype\x18\x02 \x01(\x0e\x32\x16.modelfile.v1.DataType\x12\x0f\n\x07image_w\x18\x03 \x01(\x05\x12\x0f\n\x07image_h\x18\x04 \x01(\x05\x12\x0f\n\x07image_c\x18\x05 \x01(\x05\x12\x38\n\x12region_of_interest\x18\x06 \x03(\x0b\x32\x1c.modelfile.v1.RegionFromEdge\x12\x18\n\x10training_image_w\x18\x08 \x01(\x05\x12\x18\n\x10training_image_h\x18\t \x01(\x05\x12\x18\n\x10training_image_c\x18\n \x01(\x05\x12\x15\n\rmoving_window\x18\x0b \x01(\x08\"U\n\x19OcrFormatRestrictionBlock\x12\x1c\n\x14number_of_characters\x18\x01 \x01(\r\x12\x1a\n\x12\x61llowed_characters\x18\x02 \x01(\x0c\"\xbd\x02\n\x0bOutputField\x12\r\n\x05label\x18\x01 \x01(\t\x12(\n\x08\x64\x61tatype\x18\x02 \x01(\x0e\x32\x16.modelfile.v1.DataType\x12\r\n\x05\x63olor\x18\x03 \x03(\x05\x12\x0f\n\x07image_w\x18\x04 \x01(\x05\x12\x0f\n\x07image_h\x18\x05 \x01(\x05\x12\x0f\n\x07image_c\x18\x06 \x01(\x05\x12+\n\x07\x63lasses\x18\x07 \x03(\x0b\x32\x1a.modelfile.v1.FeatureClass\x12\x13\n\x0bmax_queries\x18\x08 \x01(\x05\x12\x0f\n\x07\x63harset\x18\t \x01(\x0c\x12\x16\n\x0e\x63harset_filter\x18\n \x01(\x0c\x12H\n\x17ocr_format_restrictions\x18\x0b \x03(\x0b\x32\'.modelfile.v1.OcrFormatRestrictionBlock\"\xdd\x04\n\tModelFile\x12\x18\n\x10protocol_version\x18\x01 \x01(\t\x12\r\n\x05model\x18\x02 \x01(\x0c\x12;\n\x12\x63ompression_method\x18\x03 \x01(\x0e\x32\x1f.modelfile.v1.CompressionMethod\x12\x1a\n\x12model_hash_blake2b\x18\x04 \x01(\t\x12\'\n\x05input\x18\x05 \x03(\x0b\x32\x18.modelfile.v1.InputField\x12)\n\x06output\x18\x06 \x03(\x0b\x32\x19.modelfile.v1.OutputField\x12\x0e\n\x06tenant\x18\x07 \x01(\t\x12\x13\n\x0bmodel_label\x18\x08 \x01(\t\x12\x11\n\tmodel_tag\x18\t \x01(\t\x12\x10\n\x08model_id\x18\n \x01(\x05\x12\x1a\n\x12\x63reation_timestamp\x18\x0b \x01(\x03\x12\x11\n\ttenant_id\x18\x0c \x01(\t\x12\x1a\n\x12onnx_version_major\x18\r \x01(\x05\x12\x1a\n\x12onnx_version_minor\x18\x0e \x01(\x05\x12\x11\n\tmodel_uid\x18\x0f \x01(\t\x12\x17\n\x0fmodel_timestamp\x18\x10 \x01(\x03\x12+\n\nmodel_type\x18\x11 \x01(\x0e\x32\x17.modelfile.v1.ModelType\x12\x38\n\x11model_output_type\x18\x12 \x01(\x0e\x32\x1d.modelfile.v1.ModelOutputType\x12)\n\tfile_type\x18\x13 \x01(\x0e\x32\x16.modelfile.v1.FileType\x12\x0b\n\x03key\x18\x14 \x01(\t*?\n\x08\x46ileType\x12\x0c\n\x08\x46T_MODEL\x10\x00\x12\x13\n\x0f\x46T_VIZIOTIX_KEY\x10\x01\x12\x10\n\x0c\x46T_ZXING_KEY\x10\x02*D\n\x11\x43ompressionMethod\x12\x08\n\x04NONE\x10\x00\x12\x08\n\x04GZIP\x10\x01\x12\x08\n\x04ZLIB\x10\x02\x12\x08\n\x04LZMA\x10\x03\x12\x07\n\x03\x42Z2\x10\x04*\xea\x02\n\x08\x44\x61taType\x12\x0e\n\nSCALAR_INT\x10\x00\x12\x10\n\x0cSCALAR_FLOAT\x10\x01\x12\x11\n\rIMAGE_RAW_INT\x10\x02\x12\x13\n\x0fIMAGE_RAW_FLOAT\x10\x03\x12\r\n\tIMAGE_PNG\x10\x04\x12\r\n\tIMAGE_JPG\x10\x05\x12\r\n\tIMAGE_TIF\x10\x06\x12\x15\n\x11\x42OUNDING_BOX_LIST\x10\x07\x12\"\n\x1e\x42OUNDING_BOX_LIST_SEGMENTATION\x10\x08\x12+\n\'BOUNDING_BOX_LIST_SEGMENTATION_HIGH_RES\x10\t\x12!\n\x1dOPTICAL_CHARACTER_RECOGNITION\x10\n\x12\x0c\n\x08\x42\x41RCODES\x10\x0b\x12&\n\"BOUNDING_BOX_LIST_HALF_ORIENTATION\x10\x0c\x12&\n\"BOUNDING_BOX_LIST_FULL_ORIENTATION\x10\r*-\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\tBIZ-github.com/DENKweit/denkproto-go/modelfile/v1\xaa\x02\x17\x44\x45NK.Proto.Modelfile.V1b\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'modelfile_v1_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/modelfile/v1\252\002\027DENK.Proto.Modelfile.V1'
|
|
35
|
+
_globals['_FILETYPE']._serialized_start=1504
|
|
36
|
+
_globals['_FILETYPE']._serialized_end=1567
|
|
37
|
+
_globals['_COMPRESSIONMETHOD']._serialized_start=1569
|
|
38
|
+
_globals['_COMPRESSIONMETHOD']._serialized_end=1637
|
|
39
|
+
_globals['_DATATYPE']._serialized_start=1640
|
|
40
|
+
_globals['_DATATYPE']._serialized_end=2002
|
|
41
|
+
_globals['_MODELTYPE']._serialized_start=2004
|
|
42
|
+
_globals['_MODELTYPE']._serialized_end=2049
|
|
43
|
+
_globals['_MODELOUTPUTTYPE']._serialized_start=2052
|
|
44
|
+
_globals['_MODELOUTPUTTYPE']._serialized_end=2369
|
|
45
|
+
_globals['_REGIONFROMEDGE']._serialized_start=36
|
|
46
|
+
_globals['_REGIONFROMEDGE']._serialized_end=110
|
|
47
|
+
_globals['_FEATURECLASS']._serialized_start=112
|
|
48
|
+
_globals['_FEATURECLASS']._serialized_end=205
|
|
49
|
+
_globals['_INPUTFIELD']._serialized_start=208
|
|
50
|
+
_globals['_INPUTFIELD']._serialized_end=487
|
|
51
|
+
_globals['_OCRFORMATRESTRICTIONBLOCK']._serialized_start=489
|
|
52
|
+
_globals['_OCRFORMATRESTRICTIONBLOCK']._serialized_end=574
|
|
53
|
+
_globals['_OUTPUTFIELD']._serialized_start=577
|
|
54
|
+
_globals['_OUTPUTFIELD']._serialized_end=894
|
|
55
|
+
_globals['_MODELFILE']._serialized_start=897
|
|
56
|
+
_globals['_MODELFILE']._serialized_end=1502
|
|
57
|
+
# @@protoc_insertion_point(module_scope)
|