Initial commit
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,122 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: mediapipe/calculators/util/annotation_overlay_calculator.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
|
||||
try:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
|
||||
except AttributeError:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
|
||||
from mediapipe.util import color_pb2 as mediapipe_dot_util_dot_color__pb2
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='mediapipe/calculators/util/annotation_overlay_calculator.proto',
|
||||
package='mediapipe',
|
||||
syntax='proto2',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\n>mediapipe/calculators/util/annotation_overlay_calculator.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\x1a\x1amediapipe/util/color.proto\"\xd2\x02\n\"AnnotationOverlayCalculatorOptions\x12\x1d\n\x0f\x63\x61nvas_width_px\x18\x02 \x01(\x05:\x04\x31\x39\x32\x30\x12\x1e\n\x10\x63\x61nvas_height_px\x18\x03 \x01(\x05:\x04\x31\x30\x38\x30\x12&\n\x0c\x63\x61nvas_color\x18\x04 \x01(\x0b\x32\x10.mediapipe.Color\x12#\n\x14\x66lip_text_vertically\x18\x05 \x01(\x08:\x05\x66\x61lse\x12&\n\x18gpu_uses_top_left_origin\x18\x06 \x01(\x08:\x04true\x12\x1b\n\x10gpu_scale_factor\x18\x07 \x01(\x02:\x01\x31\x32[\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\x87\xf0\xbfw \x01(\x0b\x32-.mediapipe.AnnotationOverlayCalculatorOptions')
|
||||
,
|
||||
dependencies=[mediapipe_dot_framework_dot_calculator__pb2.DESCRIPTOR,mediapipe_dot_util_dot_color__pb2.DESCRIPTOR,])
|
||||
|
||||
|
||||
|
||||
|
||||
_ANNOTATIONOVERLAYCALCULATOROPTIONS = _descriptor.Descriptor(
|
||||
name='AnnotationOverlayCalculatorOptions',
|
||||
full_name='mediapipe.AnnotationOverlayCalculatorOptions',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='canvas_width_px', full_name='mediapipe.AnnotationOverlayCalculatorOptions.canvas_width_px', index=0,
|
||||
number=2, type=5, cpp_type=1, label=1,
|
||||
has_default_value=True, default_value=1920,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='canvas_height_px', full_name='mediapipe.AnnotationOverlayCalculatorOptions.canvas_height_px', index=1,
|
||||
number=3, type=5, cpp_type=1, label=1,
|
||||
has_default_value=True, default_value=1080,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='canvas_color', full_name='mediapipe.AnnotationOverlayCalculatorOptions.canvas_color', index=2,
|
||||
number=4, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='flip_text_vertically', full_name='mediapipe.AnnotationOverlayCalculatorOptions.flip_text_vertically', index=3,
|
||||
number=5, type=8, cpp_type=7, label=1,
|
||||
has_default_value=True, default_value=False,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='gpu_uses_top_left_origin', full_name='mediapipe.AnnotationOverlayCalculatorOptions.gpu_uses_top_left_origin', index=4,
|
||||
number=6, type=8, cpp_type=7, label=1,
|
||||
has_default_value=True, default_value=True,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='gpu_scale_factor', full_name='mediapipe.AnnotationOverlayCalculatorOptions.gpu_scale_factor', index=5,
|
||||
number=7, type=2, cpp_type=6, label=1,
|
||||
has_default_value=True, default_value=float(1),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='ext', full_name='mediapipe.AnnotationOverlayCalculatorOptions.ext', index=0,
|
||||
number=250607623, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=True, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=144,
|
||||
serialized_end=482,
|
||||
)
|
||||
|
||||
_ANNOTATIONOVERLAYCALCULATOROPTIONS.fields_by_name['canvas_color'].message_type = mediapipe_dot_util_dot_color__pb2._COLOR
|
||||
DESCRIPTOR.message_types_by_name['AnnotationOverlayCalculatorOptions'] = _ANNOTATIONOVERLAYCALCULATOROPTIONS
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
AnnotationOverlayCalculatorOptions = _reflection.GeneratedProtocolMessageType('AnnotationOverlayCalculatorOptions', (_message.Message,), dict(
|
||||
DESCRIPTOR = _ANNOTATIONOVERLAYCALCULATOROPTIONS,
|
||||
__module__ = 'mediapipe.calculators.util.annotation_overlay_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.AnnotationOverlayCalculatorOptions)
|
||||
))
|
||||
_sym_db.RegisterMessage(AnnotationOverlayCalculatorOptions)
|
||||
|
||||
_ANNOTATIONOVERLAYCALCULATOROPTIONS.extensions_by_name['ext'].message_type = _ANNOTATIONOVERLAYCALCULATOROPTIONS
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_ANNOTATIONOVERLAYCALCULATOROPTIONS.extensions_by_name['ext'])
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,85 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: mediapipe/calculators/util/association_calculator.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
|
||||
try:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
|
||||
except AttributeError:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='mediapipe/calculators/util/association_calculator.proto',
|
||||
package='mediapipe',
|
||||
syntax='proto2',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\n7mediapipe/calculators/util/association_calculator.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\"\x9b\x01\n\x1c\x41ssociationCalculatorOptions\x12#\n\x18min_similarity_threshold\x18\x01 \x01(\x02:\x01\x31\x32V\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xef\xa4\x98\x83\x01 \x01(\x0b\x32\'.mediapipe.AssociationCalculatorOptions')
|
||||
,
|
||||
dependencies=[mediapipe_dot_framework_dot_calculator__pb2.DESCRIPTOR,])
|
||||
|
||||
|
||||
|
||||
|
||||
_ASSOCIATIONCALCULATOROPTIONS = _descriptor.Descriptor(
|
||||
name='AssociationCalculatorOptions',
|
||||
full_name='mediapipe.AssociationCalculatorOptions',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='min_similarity_threshold', full_name='mediapipe.AssociationCalculatorOptions.min_similarity_threshold', index=0,
|
||||
number=1, type=2, cpp_type=6, label=1,
|
||||
has_default_value=True, default_value=float(1),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='ext', full_name='mediapipe.AssociationCalculatorOptions.ext', index=0,
|
||||
number=275124847, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=True, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=109,
|
||||
serialized_end=264,
|
||||
)
|
||||
|
||||
DESCRIPTOR.message_types_by_name['AssociationCalculatorOptions'] = _ASSOCIATIONCALCULATOROPTIONS
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
AssociationCalculatorOptions = _reflection.GeneratedProtocolMessageType('AssociationCalculatorOptions', (_message.Message,), dict(
|
||||
DESCRIPTOR = _ASSOCIATIONCALCULATOROPTIONS,
|
||||
__module__ = 'mediapipe.calculators.util.association_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.AssociationCalculatorOptions)
|
||||
))
|
||||
_sym_db.RegisterMessage(AssociationCalculatorOptions)
|
||||
|
||||
_ASSOCIATIONCALCULATOROPTIONS.extensions_by_name['ext'].message_type = _ASSOCIATIONCALCULATOROPTIONS
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_ASSOCIATIONCALCULATOROPTIONS.extensions_by_name['ext'])
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,85 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: mediapipe/calculators/util/collection_has_min_size_calculator.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
|
||||
try:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
|
||||
except AttributeError:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='mediapipe/calculators/util/collection_has_min_size_calculator.proto',
|
||||
package='mediapipe',
|
||||
syntax='proto2',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\nCmediapipe/calculators/util/collection_has_min_size_calculator.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\"\x9c\x01\n%CollectionHasMinSizeCalculatorOptions\x12\x13\n\x08min_size\x18\x01 \x01(\x05:\x01\x30\x32^\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xd0\xb1\xd8{ \x01(\x0b\x32\x30.mediapipe.CollectionHasMinSizeCalculatorOptions')
|
||||
,
|
||||
dependencies=[mediapipe_dot_framework_dot_calculator__pb2.DESCRIPTOR,])
|
||||
|
||||
|
||||
|
||||
|
||||
_COLLECTIONHASMINSIZECALCULATOROPTIONS = _descriptor.Descriptor(
|
||||
name='CollectionHasMinSizeCalculatorOptions',
|
||||
full_name='mediapipe.CollectionHasMinSizeCalculatorOptions',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='min_size', full_name='mediapipe.CollectionHasMinSizeCalculatorOptions.min_size', index=0,
|
||||
number=1, type=5, cpp_type=1, label=1,
|
||||
has_default_value=True, default_value=0,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='ext', full_name='mediapipe.CollectionHasMinSizeCalculatorOptions.ext', index=0,
|
||||
number=259397840, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=True, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=121,
|
||||
serialized_end=277,
|
||||
)
|
||||
|
||||
DESCRIPTOR.message_types_by_name['CollectionHasMinSizeCalculatorOptions'] = _COLLECTIONHASMINSIZECALCULATOROPTIONS
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
CollectionHasMinSizeCalculatorOptions = _reflection.GeneratedProtocolMessageType('CollectionHasMinSizeCalculatorOptions', (_message.Message,), dict(
|
||||
DESCRIPTOR = _COLLECTIONHASMINSIZECALCULATOROPTIONS,
|
||||
__module__ = 'mediapipe.calculators.util.collection_has_min_size_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.CollectionHasMinSizeCalculatorOptions)
|
||||
))
|
||||
_sym_db.RegisterMessage(CollectionHasMinSizeCalculatorOptions)
|
||||
|
||||
_COLLECTIONHASMINSIZECALCULATOROPTIONS.extensions_by_name['ext'].message_type = _COLLECTIONHASMINSIZECALCULATOROPTIONS
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_COLLECTIONHASMINSIZECALCULATOROPTIONS.extensions_by_name['ext'])
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,99 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: mediapipe/calculators/util/detection_label_id_to_text_calculator.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
|
||||
try:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
|
||||
except AttributeError:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='mediapipe/calculators/util/detection_label_id_to_text_calculator.proto',
|
||||
package='mediapipe',
|
||||
syntax='proto2',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\nFmediapipe/calculators/util/detection_label_id_to_text_calculator.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\"\xc9\x01\n\'DetectionLabelIdToTextCalculatorOptions\x12\x16\n\x0elabel_map_path\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x03(\t\x12\x15\n\rkeep_label_id\x18\x03 \x01(\x08\x32`\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xb0\x8b\x8ex \x01(\x0b\x32\x32.mediapipe.DetectionLabelIdToTextCalculatorOptions')
|
||||
,
|
||||
dependencies=[mediapipe_dot_framework_dot_calculator__pb2.DESCRIPTOR,])
|
||||
|
||||
|
||||
|
||||
|
||||
_DETECTIONLABELIDTOTEXTCALCULATOROPTIONS = _descriptor.Descriptor(
|
||||
name='DetectionLabelIdToTextCalculatorOptions',
|
||||
full_name='mediapipe.DetectionLabelIdToTextCalculatorOptions',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='label_map_path', full_name='mediapipe.DetectionLabelIdToTextCalculatorOptions.label_map_path', index=0,
|
||||
number=1, type=9, cpp_type=9, label=1,
|
||||
has_default_value=False, default_value=_b("").decode('utf-8'),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='label', full_name='mediapipe.DetectionLabelIdToTextCalculatorOptions.label', index=1,
|
||||
number=2, type=9, cpp_type=9, label=3,
|
||||
has_default_value=False, default_value=[],
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='keep_label_id', full_name='mediapipe.DetectionLabelIdToTextCalculatorOptions.keep_label_id', index=2,
|
||||
number=3, type=8, cpp_type=7, label=1,
|
||||
has_default_value=False, default_value=False,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='ext', full_name='mediapipe.DetectionLabelIdToTextCalculatorOptions.ext', index=0,
|
||||
number=251889072, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=True, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=124,
|
||||
serialized_end=325,
|
||||
)
|
||||
|
||||
DESCRIPTOR.message_types_by_name['DetectionLabelIdToTextCalculatorOptions'] = _DETECTIONLABELIDTOTEXTCALCULATOROPTIONS
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
DetectionLabelIdToTextCalculatorOptions = _reflection.GeneratedProtocolMessageType('DetectionLabelIdToTextCalculatorOptions', (_message.Message,), dict(
|
||||
DESCRIPTOR = _DETECTIONLABELIDTOTEXTCALCULATOROPTIONS,
|
||||
__module__ = 'mediapipe.calculators.util.detection_label_id_to_text_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.DetectionLabelIdToTextCalculatorOptions)
|
||||
))
|
||||
_sym_db.RegisterMessage(DetectionLabelIdToTextCalculatorOptions)
|
||||
|
||||
_DETECTIONLABELIDTOTEXTCALCULATOROPTIONS.extensions_by_name['ext'].message_type = _DETECTIONLABELIDTOTEXTCALCULATOROPTIONS
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_DETECTIONLABELIDTOTEXTCALCULATOROPTIONS.extensions_by_name['ext'])
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,149 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: mediapipe/calculators/util/detections_to_rects_calculator.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
|
||||
try:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
|
||||
except AttributeError:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='mediapipe/calculators/util/detections_to_rects_calculator.proto',
|
||||
package='mediapipe',
|
||||
syntax='proto2',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\n?mediapipe/calculators/util/detections_to_rects_calculator.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\"\xfd\x03\n\"DetectionsToRectsCalculatorOptions\x12,\n$rotation_vector_start_keypoint_index\x18\x01 \x01(\x05\x12*\n\"rotation_vector_end_keypoint_index\x18\x02 \x01(\x05\x12$\n\x1crotation_vector_target_angle\x18\x03 \x01(\x02\x12,\n$rotation_vector_target_angle_degrees\x18\x04 \x01(\x02\x12-\n%output_zero_rect_for_empty_detections\x18\x05 \x01(\x08\x12U\n\x0f\x63onversion_mode\x18\x06 \x01(\x0e\x32<.mediapipe.DetectionsToRectsCalculatorOptions.ConversionMode\"F\n\x0e\x43onversionMode\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\x14\n\x10USE_BOUNDING_BOX\x10\x01\x12\x11\n\rUSE_KEYPOINTS\x10\x02\x32[\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xdf\xb7\xa1} \x01(\x0b\x32-.mediapipe.DetectionsToRectsCalculatorOptions')
|
||||
,
|
||||
dependencies=[mediapipe_dot_framework_dot_calculator__pb2.DESCRIPTOR,])
|
||||
|
||||
|
||||
|
||||
_DETECTIONSTORECTSCALCULATOROPTIONS_CONVERSIONMODE = _descriptor.EnumDescriptor(
|
||||
name='ConversionMode',
|
||||
full_name='mediapipe.DetectionsToRectsCalculatorOptions.ConversionMode',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
values=[
|
||||
_descriptor.EnumValueDescriptor(
|
||||
name='DEFAULT', index=0, number=0,
|
||||
serialized_options=None,
|
||||
type=None),
|
||||
_descriptor.EnumValueDescriptor(
|
||||
name='USE_BOUNDING_BOX', index=1, number=1,
|
||||
serialized_options=None,
|
||||
type=None),
|
||||
_descriptor.EnumValueDescriptor(
|
||||
name='USE_KEYPOINTS', index=2, number=2,
|
||||
serialized_options=None,
|
||||
type=None),
|
||||
],
|
||||
containing_type=None,
|
||||
serialized_options=None,
|
||||
serialized_start=463,
|
||||
serialized_end=533,
|
||||
)
|
||||
_sym_db.RegisterEnumDescriptor(_DETECTIONSTORECTSCALCULATOROPTIONS_CONVERSIONMODE)
|
||||
|
||||
|
||||
_DETECTIONSTORECTSCALCULATOROPTIONS = _descriptor.Descriptor(
|
||||
name='DetectionsToRectsCalculatorOptions',
|
||||
full_name='mediapipe.DetectionsToRectsCalculatorOptions',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='rotation_vector_start_keypoint_index', full_name='mediapipe.DetectionsToRectsCalculatorOptions.rotation_vector_start_keypoint_index', index=0,
|
||||
number=1, type=5, cpp_type=1, label=1,
|
||||
has_default_value=False, default_value=0,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='rotation_vector_end_keypoint_index', full_name='mediapipe.DetectionsToRectsCalculatorOptions.rotation_vector_end_keypoint_index', index=1,
|
||||
number=2, type=5, cpp_type=1, label=1,
|
||||
has_default_value=False, default_value=0,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='rotation_vector_target_angle', full_name='mediapipe.DetectionsToRectsCalculatorOptions.rotation_vector_target_angle', index=2,
|
||||
number=3, type=2, cpp_type=6, label=1,
|
||||
has_default_value=False, default_value=float(0),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='rotation_vector_target_angle_degrees', full_name='mediapipe.DetectionsToRectsCalculatorOptions.rotation_vector_target_angle_degrees', index=3,
|
||||
number=4, type=2, cpp_type=6, label=1,
|
||||
has_default_value=False, default_value=float(0),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='output_zero_rect_for_empty_detections', full_name='mediapipe.DetectionsToRectsCalculatorOptions.output_zero_rect_for_empty_detections', index=4,
|
||||
number=5, type=8, cpp_type=7, label=1,
|
||||
has_default_value=False, default_value=False,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='conversion_mode', full_name='mediapipe.DetectionsToRectsCalculatorOptions.conversion_mode', index=5,
|
||||
number=6, type=14, cpp_type=8, label=1,
|
||||
has_default_value=False, default_value=0,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='ext', full_name='mediapipe.DetectionsToRectsCalculatorOptions.ext', index=0,
|
||||
number=262691807, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=True, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
_DETECTIONSTORECTSCALCULATOROPTIONS_CONVERSIONMODE,
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=117,
|
||||
serialized_end=626,
|
||||
)
|
||||
|
||||
_DETECTIONSTORECTSCALCULATOROPTIONS.fields_by_name['conversion_mode'].enum_type = _DETECTIONSTORECTSCALCULATOROPTIONS_CONVERSIONMODE
|
||||
_DETECTIONSTORECTSCALCULATOROPTIONS_CONVERSIONMODE.containing_type = _DETECTIONSTORECTSCALCULATOROPTIONS
|
||||
DESCRIPTOR.message_types_by_name['DetectionsToRectsCalculatorOptions'] = _DETECTIONSTORECTSCALCULATOROPTIONS
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
DetectionsToRectsCalculatorOptions = _reflection.GeneratedProtocolMessageType('DetectionsToRectsCalculatorOptions', (_message.Message,), dict(
|
||||
DESCRIPTOR = _DETECTIONSTORECTSCALCULATOROPTIONS,
|
||||
__module__ = 'mediapipe.calculators.util.detections_to_rects_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.DetectionsToRectsCalculatorOptions)
|
||||
))
|
||||
_sym_db.RegisterMessage(DetectionsToRectsCalculatorOptions)
|
||||
|
||||
_DETECTIONSTORECTSCALCULATOROPTIONS.extensions_by_name['ext'].message_type = _DETECTIONSTORECTSCALCULATOROPTIONS
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_DETECTIONSTORECTSCALCULATOROPTIONS.extensions_by_name['ext'])
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,138 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: mediapipe/calculators/util/detections_to_render_data_calculator.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
|
||||
try:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
|
||||
except AttributeError:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
|
||||
from mediapipe.util import color_pb2 as mediapipe_dot_util_dot_color__pb2
|
||||
from mediapipe.util import render_data_pb2 as mediapipe_dot_util_dot_render__data__pb2
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='mediapipe/calculators/util/detections_to_render_data_calculator.proto',
|
||||
package='mediapipe',
|
||||
syntax='proto2',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\nEmediapipe/calculators/util/detections_to_render_data_calculator.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\x1a\x1amediapipe/util/color.proto\x1a mediapipe/util/render_data.proto\"\x98\x03\n\'DetectionsToRenderDataCalculatorOptions\x12\"\n\x14produce_empty_packet\x18\x01 \x01(\x08:\x04true\x12\x19\n\x0etext_delimiter\x18\x02 \x01(\t:\x01,\x12!\n\x12one_label_per_line\x18\x03 \x01(\x08:\x05\x66\x61lse\x12.\n\x04text\x18\x04 \x01(\x0b\x32 .mediapipe.RenderAnnotation.Text\x12\x14\n\tthickness\x18\x05 \x01(\x01:\x01\x31\x12\x1f\n\x05\x63olor\x18\x06 \x01(\x0b\x32\x10.mediapipe.Color\x12\x1e\n\x0bscene_class\x18\x07 \x01(\t:\tDETECTION\x12\"\n\x13render_detection_id\x18\x08 \x01(\x08:\x05\x66\x61lse2`\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xe6\xde\xb6v \x01(\x0b\x32\x32.mediapipe.DetectionsToRenderDataCalculatorOptions')
|
||||
,
|
||||
dependencies=[mediapipe_dot_framework_dot_calculator__pb2.DESCRIPTOR,mediapipe_dot_util_dot_color__pb2.DESCRIPTOR,mediapipe_dot_util_dot_render__data__pb2.DESCRIPTOR,])
|
||||
|
||||
|
||||
|
||||
|
||||
_DETECTIONSTORENDERDATACALCULATOROPTIONS = _descriptor.Descriptor(
|
||||
name='DetectionsToRenderDataCalculatorOptions',
|
||||
full_name='mediapipe.DetectionsToRenderDataCalculatorOptions',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='produce_empty_packet', full_name='mediapipe.DetectionsToRenderDataCalculatorOptions.produce_empty_packet', index=0,
|
||||
number=1, type=8, cpp_type=7, label=1,
|
||||
has_default_value=True, default_value=True,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='text_delimiter', full_name='mediapipe.DetectionsToRenderDataCalculatorOptions.text_delimiter', index=1,
|
||||
number=2, type=9, cpp_type=9, label=1,
|
||||
has_default_value=True, default_value=_b(",").decode('utf-8'),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='one_label_per_line', full_name='mediapipe.DetectionsToRenderDataCalculatorOptions.one_label_per_line', index=2,
|
||||
number=3, type=8, cpp_type=7, label=1,
|
||||
has_default_value=True, default_value=False,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='text', full_name='mediapipe.DetectionsToRenderDataCalculatorOptions.text', index=3,
|
||||
number=4, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='thickness', full_name='mediapipe.DetectionsToRenderDataCalculatorOptions.thickness', index=4,
|
||||
number=5, type=1, cpp_type=5, label=1,
|
||||
has_default_value=True, default_value=float(1),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='color', full_name='mediapipe.DetectionsToRenderDataCalculatorOptions.color', index=5,
|
||||
number=6, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='scene_class', full_name='mediapipe.DetectionsToRenderDataCalculatorOptions.scene_class', index=6,
|
||||
number=7, type=9, cpp_type=9, label=1,
|
||||
has_default_value=True, default_value=_b("DETECTION").decode('utf-8'),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='render_detection_id', full_name='mediapipe.DetectionsToRenderDataCalculatorOptions.render_detection_id', index=7,
|
||||
number=8, type=8, cpp_type=7, label=1,
|
||||
has_default_value=True, default_value=False,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='ext', full_name='mediapipe.DetectionsToRenderDataCalculatorOptions.ext', index=0,
|
||||
number=248360806, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=True, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=185,
|
||||
serialized_end=593,
|
||||
)
|
||||
|
||||
_DETECTIONSTORENDERDATACALCULATOROPTIONS.fields_by_name['text'].message_type = mediapipe_dot_util_dot_render__data__pb2._RENDERANNOTATION_TEXT
|
||||
_DETECTIONSTORENDERDATACALCULATOROPTIONS.fields_by_name['color'].message_type = mediapipe_dot_util_dot_color__pb2._COLOR
|
||||
DESCRIPTOR.message_types_by_name['DetectionsToRenderDataCalculatorOptions'] = _DETECTIONSTORENDERDATACALCULATOROPTIONS
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
DetectionsToRenderDataCalculatorOptions = _reflection.GeneratedProtocolMessageType('DetectionsToRenderDataCalculatorOptions', (_message.Message,), dict(
|
||||
DESCRIPTOR = _DETECTIONSTORENDERDATACALCULATOROPTIONS,
|
||||
__module__ = 'mediapipe.calculators.util.detections_to_render_data_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.DetectionsToRenderDataCalculatorOptions)
|
||||
))
|
||||
_sym_db.RegisterMessage(DetectionsToRenderDataCalculatorOptions)
|
||||
|
||||
_DETECTIONSTORENDERDATACALCULATOROPTIONS.extensions_by_name['ext'].message_type = _DETECTIONSTORENDERDATACALCULATOROPTIONS
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_DETECTIONSTORENDERDATACALCULATOROPTIONS.extensions_by_name['ext'])
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,168 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: mediapipe/calculators/util/labels_to_render_data_calculator.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
|
||||
try:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
|
||||
except AttributeError:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
|
||||
from mediapipe.util import color_pb2 as mediapipe_dot_util_dot_color__pb2
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='mediapipe/calculators/util/labels_to_render_data_calculator.proto',
|
||||
package='mediapipe',
|
||||
syntax='proto2',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\nAmediapipe/calculators/util/labels_to_render_data_calculator.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\x1a\x1amediapipe/util/color.proto\"\xe9\x03\n#LabelsToRenderDataCalculatorOptions\x12\x1f\n\x05\x63olor\x18\x01 \x03(\x0b\x32\x10.mediapipe.Color\x12\x14\n\tthickness\x18\x02 \x01(\x01:\x01\x32\x12\x1a\n\x0e\x66ont_height_px\x18\x03 \x01(\x05:\x02\x35\x30\x12\x1f\n\x14horizontal_offset_px\x18\x07 \x01(\x05:\x01\x30\x12\x1d\n\x12vertical_offset_px\x18\x08 \x01(\x05:\x01\x30\x12\x19\n\x0emax_num_labels\x18\x04 \x01(\x05:\x01\x31\x12\x14\n\tfont_face\x18\x05 \x01(\x05:\x01\x30\x12S\n\x08location\x18\x06 \x01(\x0e\x32\x37.mediapipe.LabelsToRenderDataCalculatorOptions.Location:\x08TOP_LEFT\x12\x1f\n\x10use_display_name\x18\t \x01(\x08:\x05\x66\x61lse\")\n\x08Location\x12\x0c\n\x08TOP_LEFT\x10\x00\x12\x0f\n\x0b\x42OTTOM_LEFT\x10\x01\x32]\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xcc\xea\xc4\x81\x01 \x01(\x0b\x32..mediapipe.LabelsToRenderDataCalculatorOptions')
|
||||
,
|
||||
dependencies=[mediapipe_dot_framework_dot_calculator__pb2.DESCRIPTOR,mediapipe_dot_util_dot_color__pb2.DESCRIPTOR,])
|
||||
|
||||
|
||||
|
||||
_LABELSTORENDERDATACALCULATOROPTIONS_LOCATION = _descriptor.EnumDescriptor(
|
||||
name='Location',
|
||||
full_name='mediapipe.LabelsToRenderDataCalculatorOptions.Location',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
values=[
|
||||
_descriptor.EnumValueDescriptor(
|
||||
name='TOP_LEFT', index=0, number=0,
|
||||
serialized_options=None,
|
||||
type=None),
|
||||
_descriptor.EnumValueDescriptor(
|
||||
name='BOTTOM_LEFT', index=1, number=1,
|
||||
serialized_options=None,
|
||||
type=None),
|
||||
],
|
||||
containing_type=None,
|
||||
serialized_options=None,
|
||||
serialized_start=500,
|
||||
serialized_end=541,
|
||||
)
|
||||
_sym_db.RegisterEnumDescriptor(_LABELSTORENDERDATACALCULATOROPTIONS_LOCATION)
|
||||
|
||||
|
||||
_LABELSTORENDERDATACALCULATOROPTIONS = _descriptor.Descriptor(
|
||||
name='LabelsToRenderDataCalculatorOptions',
|
||||
full_name='mediapipe.LabelsToRenderDataCalculatorOptions',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='color', full_name='mediapipe.LabelsToRenderDataCalculatorOptions.color', index=0,
|
||||
number=1, type=11, cpp_type=10, label=3,
|
||||
has_default_value=False, default_value=[],
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='thickness', full_name='mediapipe.LabelsToRenderDataCalculatorOptions.thickness', index=1,
|
||||
number=2, type=1, cpp_type=5, label=1,
|
||||
has_default_value=True, default_value=float(2),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='font_height_px', full_name='mediapipe.LabelsToRenderDataCalculatorOptions.font_height_px', index=2,
|
||||
number=3, type=5, cpp_type=1, label=1,
|
||||
has_default_value=True, default_value=50,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='horizontal_offset_px', full_name='mediapipe.LabelsToRenderDataCalculatorOptions.horizontal_offset_px', index=3,
|
||||
number=7, type=5, cpp_type=1, label=1,
|
||||
has_default_value=True, default_value=0,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='vertical_offset_px', full_name='mediapipe.LabelsToRenderDataCalculatorOptions.vertical_offset_px', index=4,
|
||||
number=8, type=5, cpp_type=1, label=1,
|
||||
has_default_value=True, default_value=0,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='max_num_labels', full_name='mediapipe.LabelsToRenderDataCalculatorOptions.max_num_labels', index=5,
|
||||
number=4, type=5, cpp_type=1, label=1,
|
||||
has_default_value=True, default_value=1,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='font_face', full_name='mediapipe.LabelsToRenderDataCalculatorOptions.font_face', index=6,
|
||||
number=5, type=5, cpp_type=1, label=1,
|
||||
has_default_value=True, default_value=0,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='location', full_name='mediapipe.LabelsToRenderDataCalculatorOptions.location', index=7,
|
||||
number=6, type=14, cpp_type=8, label=1,
|
||||
has_default_value=True, default_value=0,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='use_display_name', full_name='mediapipe.LabelsToRenderDataCalculatorOptions.use_display_name', index=8,
|
||||
number=9, type=8, cpp_type=7, label=1,
|
||||
has_default_value=True, default_value=False,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='ext', full_name='mediapipe.LabelsToRenderDataCalculatorOptions.ext', index=0,
|
||||
number=271660364, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=True, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
_LABELSTORENDERDATACALCULATOROPTIONS_LOCATION,
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=147,
|
||||
serialized_end=636,
|
||||
)
|
||||
|
||||
_LABELSTORENDERDATACALCULATOROPTIONS.fields_by_name['color'].message_type = mediapipe_dot_util_dot_color__pb2._COLOR
|
||||
_LABELSTORENDERDATACALCULATOROPTIONS.fields_by_name['location'].enum_type = _LABELSTORENDERDATACALCULATOROPTIONS_LOCATION
|
||||
_LABELSTORENDERDATACALCULATOROPTIONS_LOCATION.containing_type = _LABELSTORENDERDATACALCULATOROPTIONS
|
||||
DESCRIPTOR.message_types_by_name['LabelsToRenderDataCalculatorOptions'] = _LABELSTORENDERDATACALCULATOROPTIONS
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
LabelsToRenderDataCalculatorOptions = _reflection.GeneratedProtocolMessageType('LabelsToRenderDataCalculatorOptions', (_message.Message,), dict(
|
||||
DESCRIPTOR = _LABELSTORENDERDATACALCULATOROPTIONS,
|
||||
__module__ = 'mediapipe.calculators.util.labels_to_render_data_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.LabelsToRenderDataCalculatorOptions)
|
||||
))
|
||||
_sym_db.RegisterMessage(LabelsToRenderDataCalculatorOptions)
|
||||
|
||||
_LABELSTORENDERDATACALCULATOROPTIONS.extensions_by_name['ext'].message_type = _LABELSTORENDERDATACALCULATOROPTIONS
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_LABELSTORENDERDATACALCULATOROPTIONS.extensions_by_name['ext'])
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,85 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: mediapipe/calculators/util/landmark_projection_calculator.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
|
||||
try:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
|
||||
except AttributeError:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='mediapipe/calculators/util/landmark_projection_calculator.proto',
|
||||
package='mediapipe',
|
||||
syntax='proto2',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\n?mediapipe/calculators/util/landmark_projection_calculator.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\"\xa3\x01\n#LandmarkProjectionCalculatorOptions\x12\x1e\n\x0fignore_rotation\x18\x01 \x01(\x08:\x05\x66\x61lse2\\\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xf4\xf8\xca} \x01(\x0b\x32..mediapipe.LandmarkProjectionCalculatorOptions')
|
||||
,
|
||||
dependencies=[mediapipe_dot_framework_dot_calculator__pb2.DESCRIPTOR,])
|
||||
|
||||
|
||||
|
||||
|
||||
_LANDMARKPROJECTIONCALCULATOROPTIONS = _descriptor.Descriptor(
|
||||
name='LandmarkProjectionCalculatorOptions',
|
||||
full_name='mediapipe.LandmarkProjectionCalculatorOptions',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='ignore_rotation', full_name='mediapipe.LandmarkProjectionCalculatorOptions.ignore_rotation', index=0,
|
||||
number=1, type=8, cpp_type=7, label=1,
|
||||
has_default_value=True, default_value=False,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='ext', full_name='mediapipe.LandmarkProjectionCalculatorOptions.ext', index=0,
|
||||
number=263371892, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=True, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=117,
|
||||
serialized_end=280,
|
||||
)
|
||||
|
||||
DESCRIPTOR.message_types_by_name['LandmarkProjectionCalculatorOptions'] = _LANDMARKPROJECTIONCALCULATOROPTIONS
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
LandmarkProjectionCalculatorOptions = _reflection.GeneratedProtocolMessageType('LandmarkProjectionCalculatorOptions', (_message.Message,), dict(
|
||||
DESCRIPTOR = _LANDMARKPROJECTIONCALCULATOROPTIONS,
|
||||
__module__ = 'mediapipe.calculators.util.landmark_projection_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.LandmarkProjectionCalculatorOptions)
|
||||
))
|
||||
_sym_db.RegisterMessage(LandmarkProjectionCalculatorOptions)
|
||||
|
||||
_LANDMARKPROJECTIONCALCULATOROPTIONS.extensions_by_name['ext'].message_type = _LANDMARKPROJECTIONCALCULATOROPTIONS
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_LANDMARKPROJECTIONCALCULATOROPTIONS.extensions_by_name['ext'])
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,276 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: mediapipe/calculators/util/landmarks_smoothing_calculator.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from mediapipe.framework import calculator_options_pb2 as mediapipe_dot_framework_dot_calculator__options__pb2
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='mediapipe/calculators/util/landmarks_smoothing_calculator.proto',
|
||||
package='mediapipe',
|
||||
syntax='proto2',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\n?mediapipe/calculators/util/landmarks_smoothing_calculator.proto\x12\tmediapipe\x1a,mediapipe/framework/calculator_options.proto\"\xf5\x05\n#LandmarksSmoothingCalculatorOptions\x12L\n\tno_filter\x18\x01 \x01(\x0b\x32\x37.mediapipe.LandmarksSmoothingCalculatorOptions.NoFilterH\x00\x12X\n\x0fvelocity_filter\x18\x02 \x01(\x0b\x32=.mediapipe.LandmarksSmoothingCalculatorOptions.VelocityFilterH\x00\x12W\n\x0fone_euro_filter\x18\x03 \x01(\x0b\x32<.mediapipe.LandmarksSmoothingCalculatorOptions.OneEuroFilterH\x00\x1a\n\n\x08NoFilter\x1a\x93\x01\n\x0eVelocityFilter\x12\x16\n\x0bwindow_size\x18\x01 \x01(\x05:\x01\x35\x12\x1a\n\x0evelocity_scale\x18\x02 \x01(\x02:\x02\x31\x30\x12\'\n\x18min_allowed_object_scale\x18\x03 \x01(\x02:\x05\x31\x65-06\x12$\n\x15\x64isable_value_scaling\x18\x04 \x01(\x08:\x05\x66\x61lse\x1a\xb9\x01\n\rOneEuroFilter\x12\x15\n\tfrequency\x18\x01 \x01(\x02:\x02\x33\x30\x12\x15\n\nmin_cutoff\x18\x02 \x01(\x02:\x01\x31\x12\x0f\n\x04\x62\x65ta\x18\x03 \x01(\x02:\x01\x30\x12\x1a\n\x0f\x64\x65rivate_cutoff\x18\x04 \x01(\x02:\x01\x31\x12\'\n\x18min_allowed_object_scale\x18\x05 \x01(\x02:\x05\x31\x65-06\x12$\n\x15\x64isable_value_scaling\x18\x06 \x01(\x08:\x05\x66\x61lse2]\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\x85\xb4\xa5\x9b\x01 \x01(\x0b\x32..mediapipe.LandmarksSmoothingCalculatorOptionsB\x10\n\x0e\x66ilter_options')
|
||||
,
|
||||
dependencies=[mediapipe_dot_framework_dot_calculator__options__pb2.DESCRIPTOR,])
|
||||
|
||||
|
||||
|
||||
|
||||
_LANDMARKSSMOOTHINGCALCULATOROPTIONS_NOFILTER = _descriptor.Descriptor(
|
||||
name='NoFilter',
|
||||
full_name='mediapipe.LandmarksSmoothingCalculatorOptions.NoFilter',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
],
|
||||
extensions=[
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=421,
|
||||
serialized_end=431,
|
||||
)
|
||||
|
||||
_LANDMARKSSMOOTHINGCALCULATOROPTIONS_VELOCITYFILTER = _descriptor.Descriptor(
|
||||
name='VelocityFilter',
|
||||
full_name='mediapipe.LandmarksSmoothingCalculatorOptions.VelocityFilter',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='window_size', full_name='mediapipe.LandmarksSmoothingCalculatorOptions.VelocityFilter.window_size', index=0,
|
||||
number=1, type=5, cpp_type=1, label=1,
|
||||
has_default_value=True, default_value=5,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='velocity_scale', full_name='mediapipe.LandmarksSmoothingCalculatorOptions.VelocityFilter.velocity_scale', index=1,
|
||||
number=2, type=2, cpp_type=6, label=1,
|
||||
has_default_value=True, default_value=float(10),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='min_allowed_object_scale', full_name='mediapipe.LandmarksSmoothingCalculatorOptions.VelocityFilter.min_allowed_object_scale', index=2,
|
||||
number=3, type=2, cpp_type=6, label=1,
|
||||
has_default_value=True, default_value=float(1e-06),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='disable_value_scaling', full_name='mediapipe.LandmarksSmoothingCalculatorOptions.VelocityFilter.disable_value_scaling', index=3,
|
||||
number=4, type=8, cpp_type=7, label=1,
|
||||
has_default_value=True, default_value=False,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=434,
|
||||
serialized_end=581,
|
||||
)
|
||||
|
||||
_LANDMARKSSMOOTHINGCALCULATOROPTIONS_ONEEUROFILTER = _descriptor.Descriptor(
|
||||
name='OneEuroFilter',
|
||||
full_name='mediapipe.LandmarksSmoothingCalculatorOptions.OneEuroFilter',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='frequency', full_name='mediapipe.LandmarksSmoothingCalculatorOptions.OneEuroFilter.frequency', index=0,
|
||||
number=1, type=2, cpp_type=6, label=1,
|
||||
has_default_value=True, default_value=float(30),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='min_cutoff', full_name='mediapipe.LandmarksSmoothingCalculatorOptions.OneEuroFilter.min_cutoff', index=1,
|
||||
number=2, type=2, cpp_type=6, label=1,
|
||||
has_default_value=True, default_value=float(1),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='beta', full_name='mediapipe.LandmarksSmoothingCalculatorOptions.OneEuroFilter.beta', index=2,
|
||||
number=3, type=2, cpp_type=6, label=1,
|
||||
has_default_value=True, default_value=float(0),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='derivate_cutoff', full_name='mediapipe.LandmarksSmoothingCalculatorOptions.OneEuroFilter.derivate_cutoff', index=3,
|
||||
number=4, type=2, cpp_type=6, label=1,
|
||||
has_default_value=True, default_value=float(1),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='min_allowed_object_scale', full_name='mediapipe.LandmarksSmoothingCalculatorOptions.OneEuroFilter.min_allowed_object_scale', index=4,
|
||||
number=5, type=2, cpp_type=6, label=1,
|
||||
has_default_value=True, default_value=float(1e-06),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='disable_value_scaling', full_name='mediapipe.LandmarksSmoothingCalculatorOptions.OneEuroFilter.disable_value_scaling', index=5,
|
||||
number=6, type=8, cpp_type=7, label=1,
|
||||
has_default_value=True, default_value=False,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=584,
|
||||
serialized_end=769,
|
||||
)
|
||||
|
||||
_LANDMARKSSMOOTHINGCALCULATOROPTIONS = _descriptor.Descriptor(
|
||||
name='LandmarksSmoothingCalculatorOptions',
|
||||
full_name='mediapipe.LandmarksSmoothingCalculatorOptions',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='no_filter', full_name='mediapipe.LandmarksSmoothingCalculatorOptions.no_filter', index=0,
|
||||
number=1, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='velocity_filter', full_name='mediapipe.LandmarksSmoothingCalculatorOptions.velocity_filter', index=1,
|
||||
number=2, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='one_euro_filter', full_name='mediapipe.LandmarksSmoothingCalculatorOptions.one_euro_filter', index=2,
|
||||
number=3, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='ext', full_name='mediapipe.LandmarksSmoothingCalculatorOptions.ext', index=0,
|
||||
number=325671429, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=True, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
nested_types=[_LANDMARKSSMOOTHINGCALCULATOROPTIONS_NOFILTER, _LANDMARKSSMOOTHINGCALCULATOROPTIONS_VELOCITYFILTER, _LANDMARKSSMOOTHINGCALCULATOROPTIONS_ONEEUROFILTER, ],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
_descriptor.OneofDescriptor(
|
||||
name='filter_options', full_name='mediapipe.LandmarksSmoothingCalculatorOptions.filter_options',
|
||||
index=0, containing_type=None, fields=[]),
|
||||
],
|
||||
serialized_start=125,
|
||||
serialized_end=882,
|
||||
)
|
||||
|
||||
_LANDMARKSSMOOTHINGCALCULATOROPTIONS_NOFILTER.containing_type = _LANDMARKSSMOOTHINGCALCULATOROPTIONS
|
||||
_LANDMARKSSMOOTHINGCALCULATOROPTIONS_VELOCITYFILTER.containing_type = _LANDMARKSSMOOTHINGCALCULATOROPTIONS
|
||||
_LANDMARKSSMOOTHINGCALCULATOROPTIONS_ONEEUROFILTER.containing_type = _LANDMARKSSMOOTHINGCALCULATOROPTIONS
|
||||
_LANDMARKSSMOOTHINGCALCULATOROPTIONS.fields_by_name['no_filter'].message_type = _LANDMARKSSMOOTHINGCALCULATOROPTIONS_NOFILTER
|
||||
_LANDMARKSSMOOTHINGCALCULATOROPTIONS.fields_by_name['velocity_filter'].message_type = _LANDMARKSSMOOTHINGCALCULATOROPTIONS_VELOCITYFILTER
|
||||
_LANDMARKSSMOOTHINGCALCULATOROPTIONS.fields_by_name['one_euro_filter'].message_type = _LANDMARKSSMOOTHINGCALCULATOROPTIONS_ONEEUROFILTER
|
||||
_LANDMARKSSMOOTHINGCALCULATOROPTIONS.oneofs_by_name['filter_options'].fields.append(
|
||||
_LANDMARKSSMOOTHINGCALCULATOROPTIONS.fields_by_name['no_filter'])
|
||||
_LANDMARKSSMOOTHINGCALCULATOROPTIONS.fields_by_name['no_filter'].containing_oneof = _LANDMARKSSMOOTHINGCALCULATOROPTIONS.oneofs_by_name['filter_options']
|
||||
_LANDMARKSSMOOTHINGCALCULATOROPTIONS.oneofs_by_name['filter_options'].fields.append(
|
||||
_LANDMARKSSMOOTHINGCALCULATOROPTIONS.fields_by_name['velocity_filter'])
|
||||
_LANDMARKSSMOOTHINGCALCULATOROPTIONS.fields_by_name['velocity_filter'].containing_oneof = _LANDMARKSSMOOTHINGCALCULATOROPTIONS.oneofs_by_name['filter_options']
|
||||
_LANDMARKSSMOOTHINGCALCULATOROPTIONS.oneofs_by_name['filter_options'].fields.append(
|
||||
_LANDMARKSSMOOTHINGCALCULATOROPTIONS.fields_by_name['one_euro_filter'])
|
||||
_LANDMARKSSMOOTHINGCALCULATOROPTIONS.fields_by_name['one_euro_filter'].containing_oneof = _LANDMARKSSMOOTHINGCALCULATOROPTIONS.oneofs_by_name['filter_options']
|
||||
DESCRIPTOR.message_types_by_name['LandmarksSmoothingCalculatorOptions'] = _LANDMARKSSMOOTHINGCALCULATOROPTIONS
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
LandmarksSmoothingCalculatorOptions = _reflection.GeneratedProtocolMessageType('LandmarksSmoothingCalculatorOptions', (_message.Message,), dict(
|
||||
|
||||
NoFilter = _reflection.GeneratedProtocolMessageType('NoFilter', (_message.Message,), dict(
|
||||
DESCRIPTOR = _LANDMARKSSMOOTHINGCALCULATOROPTIONS_NOFILTER,
|
||||
__module__ = 'mediapipe.calculators.util.landmarks_smoothing_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.LandmarksSmoothingCalculatorOptions.NoFilter)
|
||||
))
|
||||
,
|
||||
|
||||
VelocityFilter = _reflection.GeneratedProtocolMessageType('VelocityFilter', (_message.Message,), dict(
|
||||
DESCRIPTOR = _LANDMARKSSMOOTHINGCALCULATOROPTIONS_VELOCITYFILTER,
|
||||
__module__ = 'mediapipe.calculators.util.landmarks_smoothing_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.LandmarksSmoothingCalculatorOptions.VelocityFilter)
|
||||
))
|
||||
,
|
||||
|
||||
OneEuroFilter = _reflection.GeneratedProtocolMessageType('OneEuroFilter', (_message.Message,), dict(
|
||||
DESCRIPTOR = _LANDMARKSSMOOTHINGCALCULATOROPTIONS_ONEEUROFILTER,
|
||||
__module__ = 'mediapipe.calculators.util.landmarks_smoothing_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.LandmarksSmoothingCalculatorOptions.OneEuroFilter)
|
||||
))
|
||||
,
|
||||
DESCRIPTOR = _LANDMARKSSMOOTHINGCALCULATOROPTIONS,
|
||||
__module__ = 'mediapipe.calculators.util.landmarks_smoothing_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.LandmarksSmoothingCalculatorOptions)
|
||||
))
|
||||
_sym_db.RegisterMessage(LandmarksSmoothingCalculatorOptions)
|
||||
_sym_db.RegisterMessage(LandmarksSmoothingCalculatorOptions.NoFilter)
|
||||
_sym_db.RegisterMessage(LandmarksSmoothingCalculatorOptions.VelocityFilter)
|
||||
_sym_db.RegisterMessage(LandmarksSmoothingCalculatorOptions.OneEuroFilter)
|
||||
|
||||
_LANDMARKSSMOOTHINGCALCULATOROPTIONS.extensions_by_name['ext'].message_type = _LANDMARKSSMOOTHINGCALCULATOROPTIONS
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_LANDMARKSSMOOTHINGCALCULATOROPTIONS.extensions_by_name['ext'])
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,85 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: mediapipe/calculators/util/landmarks_to_detection_calculator.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
|
||||
try:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
|
||||
except AttributeError:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='mediapipe/calculators/util/landmarks_to_detection_calculator.proto',
|
||||
package='mediapipe',
|
||||
syntax='proto2',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\nBmediapipe/calculators/util/landmarks_to_detection_calculator.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\"\xaa\x01\n%LandmarksToDetectionCalculatorOptions\x12!\n\x19selected_landmark_indices\x18\x01 \x03(\x05\x32^\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xf5\xa9\x89| \x01(\x0b\x32\x30.mediapipe.LandmarksToDetectionCalculatorOptions')
|
||||
,
|
||||
dependencies=[mediapipe_dot_framework_dot_calculator__pb2.DESCRIPTOR,])
|
||||
|
||||
|
||||
|
||||
|
||||
_LANDMARKSTODETECTIONCALCULATOROPTIONS = _descriptor.Descriptor(
|
||||
name='LandmarksToDetectionCalculatorOptions',
|
||||
full_name='mediapipe.LandmarksToDetectionCalculatorOptions',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='selected_landmark_indices', full_name='mediapipe.LandmarksToDetectionCalculatorOptions.selected_landmark_indices', index=0,
|
||||
number=1, type=5, cpp_type=1, label=3,
|
||||
has_default_value=False, default_value=[],
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='ext', full_name='mediapipe.LandmarksToDetectionCalculatorOptions.ext', index=0,
|
||||
number=260199669, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=True, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=120,
|
||||
serialized_end=290,
|
||||
)
|
||||
|
||||
DESCRIPTOR.message_types_by_name['LandmarksToDetectionCalculatorOptions'] = _LANDMARKSTODETECTIONCALCULATOROPTIONS
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
LandmarksToDetectionCalculatorOptions = _reflection.GeneratedProtocolMessageType('LandmarksToDetectionCalculatorOptions', (_message.Message,), dict(
|
||||
DESCRIPTOR = _LANDMARKSTODETECTIONCALCULATOROPTIONS,
|
||||
__module__ = 'mediapipe.calculators.util.landmarks_to_detection_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.LandmarksToDetectionCalculatorOptions)
|
||||
))
|
||||
_sym_db.RegisterMessage(LandmarksToDetectionCalculatorOptions)
|
||||
|
||||
_LANDMARKSTODETECTIONCALCULATOROPTIONS.extensions_by_name['ext'].message_type = _LANDMARKSTODETECTIONCALCULATOROPTIONS
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_LANDMARKSTODETECTIONCALCULATOROPTIONS.extensions_by_name['ext'])
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,85 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: mediapipe/calculators/util/landmarks_to_floats_calculator.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
|
||||
try:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
|
||||
except AttributeError:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='mediapipe/calculators/util/landmarks_to_floats_calculator.proto',
|
||||
package='mediapipe',
|
||||
syntax='proto2',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\n?mediapipe/calculators/util/landmarks_to_floats_calculator.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\"\x9d\x01\n\"LandmarksToFloatsCalculatorOptions\x12\x19\n\x0enum_dimensions\x18\x01 \x01(\x05:\x01\x32\x32\\\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xcc\xe7\xd5\x82\x01 \x01(\x0b\x32-.mediapipe.LandmarksToFloatsCalculatorOptions')
|
||||
,
|
||||
dependencies=[mediapipe_dot_framework_dot_calculator__pb2.DESCRIPTOR,])
|
||||
|
||||
|
||||
|
||||
|
||||
_LANDMARKSTOFLOATSCALCULATOROPTIONS = _descriptor.Descriptor(
|
||||
name='LandmarksToFloatsCalculatorOptions',
|
||||
full_name='mediapipe.LandmarksToFloatsCalculatorOptions',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='num_dimensions', full_name='mediapipe.LandmarksToFloatsCalculatorOptions.num_dimensions', index=0,
|
||||
number=1, type=5, cpp_type=1, label=1,
|
||||
has_default_value=True, default_value=2,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='ext', full_name='mediapipe.LandmarksToFloatsCalculatorOptions.ext', index=0,
|
||||
number=274035660, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=True, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=117,
|
||||
serialized_end=274,
|
||||
)
|
||||
|
||||
DESCRIPTOR.message_types_by_name['LandmarksToFloatsCalculatorOptions'] = _LANDMARKSTOFLOATSCALCULATOROPTIONS
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
LandmarksToFloatsCalculatorOptions = _reflection.GeneratedProtocolMessageType('LandmarksToFloatsCalculatorOptions', (_message.Message,), dict(
|
||||
DESCRIPTOR = _LANDMARKSTOFLOATSCALCULATOROPTIONS,
|
||||
__module__ = 'mediapipe.calculators.util.landmarks_to_floats_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.LandmarksToFloatsCalculatorOptions)
|
||||
))
|
||||
_sym_db.RegisterMessage(LandmarksToFloatsCalculatorOptions)
|
||||
|
||||
_LANDMARKSTOFLOATSCALCULATOROPTIONS.extensions_by_name['ext'].message_type = _LANDMARKSTOFLOATSCALCULATOROPTIONS
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_LANDMARKSTOFLOATSCALCULATOROPTIONS.extensions_by_name['ext'])
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,174 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: mediapipe/calculators/util/landmarks_to_render_data_calculator.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
|
||||
try:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
|
||||
except AttributeError:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
|
||||
from mediapipe.util import color_pb2 as mediapipe_dot_util_dot_color__pb2
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='mediapipe/calculators/util/landmarks_to_render_data_calculator.proto',
|
||||
package='mediapipe',
|
||||
syntax='proto2',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\nDmediapipe/calculators/util/landmarks_to_render_data_calculator.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\x1a\x1amediapipe/util/color.proto\"\xee\x04\n&LandmarksToRenderDataCalculatorOptions\x12\x1c\n\x14landmark_connections\x18\x01 \x03(\x05\x12(\n\x0elandmark_color\x18\x02 \x01(\x0b\x32\x10.mediapipe.Color\x12*\n\x10\x63onnection_color\x18\x03 \x01(\x0b\x32\x10.mediapipe.Color\x12\x14\n\tthickness\x18\x04 \x01(\x01:\x01\x31\x12&\n\x18visualize_landmark_depth\x18\x05 \x01(\x08:\x04true\x12!\n\x12utilize_visibility\x18\x06 \x01(\x08:\x05\x66\x61lse\x12\x1f\n\x14visibility_threshold\x18\x07 \x01(\x01:\x01\x30\x12\x1f\n\x10utilize_presence\x18\x08 \x01(\x08:\x05\x66\x61lse\x12\x1d\n\x12presence_threshold\x18\t \x01(\x01:\x01\x30\x12%\n\x1amin_depth_circle_thickness\x18\n \x01(\x01:\x01\x30\x12&\n\x1amax_depth_circle_thickness\x18\x0b \x01(\x01:\x02\x31\x38\x12.\n\x14min_depth_line_color\x18\x0c \x01(\x0b\x32\x10.mediapipe.Color\x12.\n\x14max_depth_line_color\x18\r \x01(\x0b\x32\x10.mediapipe.Color2_\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xbd\xd2\x9d{ \x01(\x0b\x32\x31.mediapipe.LandmarksToRenderDataCalculatorOptions')
|
||||
,
|
||||
dependencies=[mediapipe_dot_framework_dot_calculator__pb2.DESCRIPTOR,mediapipe_dot_util_dot_color__pb2.DESCRIPTOR,])
|
||||
|
||||
|
||||
|
||||
|
||||
_LANDMARKSTORENDERDATACALCULATOROPTIONS = _descriptor.Descriptor(
|
||||
name='LandmarksToRenderDataCalculatorOptions',
|
||||
full_name='mediapipe.LandmarksToRenderDataCalculatorOptions',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='landmark_connections', full_name='mediapipe.LandmarksToRenderDataCalculatorOptions.landmark_connections', index=0,
|
||||
number=1, type=5, cpp_type=1, label=3,
|
||||
has_default_value=False, default_value=[],
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='landmark_color', full_name='mediapipe.LandmarksToRenderDataCalculatorOptions.landmark_color', index=1,
|
||||
number=2, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='connection_color', full_name='mediapipe.LandmarksToRenderDataCalculatorOptions.connection_color', index=2,
|
||||
number=3, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='thickness', full_name='mediapipe.LandmarksToRenderDataCalculatorOptions.thickness', index=3,
|
||||
number=4, type=1, cpp_type=5, label=1,
|
||||
has_default_value=True, default_value=float(1),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='visualize_landmark_depth', full_name='mediapipe.LandmarksToRenderDataCalculatorOptions.visualize_landmark_depth', index=4,
|
||||
number=5, type=8, cpp_type=7, label=1,
|
||||
has_default_value=True, default_value=True,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='utilize_visibility', full_name='mediapipe.LandmarksToRenderDataCalculatorOptions.utilize_visibility', index=5,
|
||||
number=6, type=8, cpp_type=7, label=1,
|
||||
has_default_value=True, default_value=False,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='visibility_threshold', full_name='mediapipe.LandmarksToRenderDataCalculatorOptions.visibility_threshold', index=6,
|
||||
number=7, type=1, cpp_type=5, label=1,
|
||||
has_default_value=True, default_value=float(0),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='utilize_presence', full_name='mediapipe.LandmarksToRenderDataCalculatorOptions.utilize_presence', index=7,
|
||||
number=8, type=8, cpp_type=7, label=1,
|
||||
has_default_value=True, default_value=False,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='presence_threshold', full_name='mediapipe.LandmarksToRenderDataCalculatorOptions.presence_threshold', index=8,
|
||||
number=9, type=1, cpp_type=5, label=1,
|
||||
has_default_value=True, default_value=float(0),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='min_depth_circle_thickness', full_name='mediapipe.LandmarksToRenderDataCalculatorOptions.min_depth_circle_thickness', index=9,
|
||||
number=10, type=1, cpp_type=5, label=1,
|
||||
has_default_value=True, default_value=float(0),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='max_depth_circle_thickness', full_name='mediapipe.LandmarksToRenderDataCalculatorOptions.max_depth_circle_thickness', index=10,
|
||||
number=11, type=1, cpp_type=5, label=1,
|
||||
has_default_value=True, default_value=float(18),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='min_depth_line_color', full_name='mediapipe.LandmarksToRenderDataCalculatorOptions.min_depth_line_color', index=11,
|
||||
number=12, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='max_depth_line_color', full_name='mediapipe.LandmarksToRenderDataCalculatorOptions.max_depth_line_color', index=12,
|
||||
number=13, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='ext', full_name='mediapipe.LandmarksToRenderDataCalculatorOptions.ext', index=0,
|
||||
number=258435389, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=True, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=150,
|
||||
serialized_end=772,
|
||||
)
|
||||
|
||||
_LANDMARKSTORENDERDATACALCULATOROPTIONS.fields_by_name['landmark_color'].message_type = mediapipe_dot_util_dot_color__pb2._COLOR
|
||||
_LANDMARKSTORENDERDATACALCULATOROPTIONS.fields_by_name['connection_color'].message_type = mediapipe_dot_util_dot_color__pb2._COLOR
|
||||
_LANDMARKSTORENDERDATACALCULATOROPTIONS.fields_by_name['min_depth_line_color'].message_type = mediapipe_dot_util_dot_color__pb2._COLOR
|
||||
_LANDMARKSTORENDERDATACALCULATOROPTIONS.fields_by_name['max_depth_line_color'].message_type = mediapipe_dot_util_dot_color__pb2._COLOR
|
||||
DESCRIPTOR.message_types_by_name['LandmarksToRenderDataCalculatorOptions'] = _LANDMARKSTORENDERDATACALCULATOROPTIONS
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
LandmarksToRenderDataCalculatorOptions = _reflection.GeneratedProtocolMessageType('LandmarksToRenderDataCalculatorOptions', (_message.Message,), dict(
|
||||
DESCRIPTOR = _LANDMARKSTORENDERDATACALCULATOROPTIONS,
|
||||
__module__ = 'mediapipe.calculators.util.landmarks_to_render_data_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.LandmarksToRenderDataCalculatorOptions)
|
||||
))
|
||||
_sym_db.RegisterMessage(LandmarksToRenderDataCalculatorOptions)
|
||||
|
||||
_LANDMARKSTORENDERDATACALCULATOROPTIONS.extensions_by_name['ext'].message_type = _LANDMARKSTORENDERDATACALCULATOROPTIONS
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_LANDMARKSTORENDERDATACALCULATOROPTIONS.extensions_by_name['ext'])
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,112 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: mediapipe/calculators/util/latency.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='mediapipe/calculators/util/latency.proto',
|
||||
package='mediapipe',
|
||||
syntax='proto2',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\n(mediapipe/calculators/util/latency.proto\x12\tmediapipe\"\xca\x01\n\rPacketLatency\x12\x1c\n\x14\x63urrent_latency_usec\x18\x08 \x01(\x03\x12\x0e\n\x06\x63ounts\x18\t \x03(\x03\x12\x19\n\rnum_intervals\x18\n \x01(\x03:\x02\x31\x30\x12!\n\x12interval_size_usec\x18\x0b \x01(\x03:\x05\x31\x30\x30\x30\x30\x12\x18\n\x10\x61vg_latency_usec\x18\x02 \x01(\x03\x12\r\n\x05label\x18\x07 \x01(\t\x12\x18\n\x10sum_latency_usec\x18\x0c \x01(\x03J\x04\x08\x01\x10\x02J\x04\x08\x03\x10\x07')
|
||||
)
|
||||
|
||||
|
||||
|
||||
|
||||
_PACKETLATENCY = _descriptor.Descriptor(
|
||||
name='PacketLatency',
|
||||
full_name='mediapipe.PacketLatency',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='current_latency_usec', full_name='mediapipe.PacketLatency.current_latency_usec', index=0,
|
||||
number=8, type=3, cpp_type=2, label=1,
|
||||
has_default_value=False, default_value=0,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='counts', full_name='mediapipe.PacketLatency.counts', index=1,
|
||||
number=9, type=3, cpp_type=2, label=3,
|
||||
has_default_value=False, default_value=[],
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='num_intervals', full_name='mediapipe.PacketLatency.num_intervals', index=2,
|
||||
number=10, type=3, cpp_type=2, label=1,
|
||||
has_default_value=True, default_value=10,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='interval_size_usec', full_name='mediapipe.PacketLatency.interval_size_usec', index=3,
|
||||
number=11, type=3, cpp_type=2, label=1,
|
||||
has_default_value=True, default_value=10000,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='avg_latency_usec', full_name='mediapipe.PacketLatency.avg_latency_usec', index=4,
|
||||
number=2, type=3, cpp_type=2, label=1,
|
||||
has_default_value=False, default_value=0,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='label', full_name='mediapipe.PacketLatency.label', index=5,
|
||||
number=7, type=9, cpp_type=9, label=1,
|
||||
has_default_value=False, default_value=_b("").decode('utf-8'),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='sum_latency_usec', full_name='mediapipe.PacketLatency.sum_latency_usec', index=6,
|
||||
number=12, type=3, cpp_type=2, label=1,
|
||||
has_default_value=False, default_value=0,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=56,
|
||||
serialized_end=258,
|
||||
)
|
||||
|
||||
DESCRIPTOR.message_types_by_name['PacketLatency'] = _PACKETLATENCY
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
PacketLatency = _reflection.GeneratedProtocolMessageType('PacketLatency', (_message.Message,), dict(
|
||||
DESCRIPTOR = _PACKETLATENCY,
|
||||
__module__ = 'mediapipe.calculators.util.latency_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.PacketLatency)
|
||||
))
|
||||
_sym_db.RegisterMessage(PacketLatency)
|
||||
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,85 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: mediapipe/calculators/util/local_file_contents_calculator.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
|
||||
try:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
|
||||
except AttributeError:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='mediapipe/calculators/util/local_file_contents_calculator.proto',
|
||||
package='mediapipe',
|
||||
syntax='proto2',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\n?mediapipe/calculators/util/local_file_contents_calculator.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\"\x95\x01\n\"LocalFileContentsCalculatorOptions\x12\x11\n\ttext_mode\x18\x01 \x01(\x08\x32\\\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xbc\x80\xb2\xa5\x01 \x01(\x0b\x32-.mediapipe.LocalFileContentsCalculatorOptions')
|
||||
,
|
||||
dependencies=[mediapipe_dot_framework_dot_calculator__pb2.DESCRIPTOR,])
|
||||
|
||||
|
||||
|
||||
|
||||
_LOCALFILECONTENTSCALCULATOROPTIONS = _descriptor.Descriptor(
|
||||
name='LocalFileContentsCalculatorOptions',
|
||||
full_name='mediapipe.LocalFileContentsCalculatorOptions',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='text_mode', full_name='mediapipe.LocalFileContentsCalculatorOptions.text_mode', index=0,
|
||||
number=1, type=8, cpp_type=7, label=1,
|
||||
has_default_value=False, default_value=False,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='ext', full_name='mediapipe.LocalFileContentsCalculatorOptions.ext', index=0,
|
||||
number=346849340, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=True, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=117,
|
||||
serialized_end=266,
|
||||
)
|
||||
|
||||
DESCRIPTOR.message_types_by_name['LocalFileContentsCalculatorOptions'] = _LOCALFILECONTENTSCALCULATOROPTIONS
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
LocalFileContentsCalculatorOptions = _reflection.GeneratedProtocolMessageType('LocalFileContentsCalculatorOptions', (_message.Message,), dict(
|
||||
DESCRIPTOR = _LOCALFILECONTENTSCALCULATOROPTIONS,
|
||||
__module__ = 'mediapipe.calculators.util.local_file_contents_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.LocalFileContentsCalculatorOptions)
|
||||
))
|
||||
_sym_db.RegisterMessage(LocalFileContentsCalculatorOptions)
|
||||
|
||||
_LOCALFILECONTENTSCALCULATOROPTIONS.extensions_by_name['ext'].message_type = _LOCALFILECONTENTSCALCULATOROPTIONS
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_LOCALFILECONTENTSCALCULATOROPTIONS.extensions_by_name['ext'])
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,128 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: mediapipe/calculators/util/logic_calculator.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
|
||||
try:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
|
||||
except AttributeError:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='mediapipe/calculators/util/logic_calculator.proto',
|
||||
package='mediapipe',
|
||||
syntax='proto2',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\n1mediapipe/calculators/util/logic_calculator.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\"\xef\x01\n\x16LogicCalculatorOptions\x12\x37\n\x02op\x18\x01 \x01(\x0e\x32+.mediapipe.LogicCalculatorOptions.Operation\x12\x0e\n\x06negate\x18\x02 \x01(\x08\x12\x13\n\x0binput_value\x18\x03 \x03(\x08\"%\n\tOperation\x12\x07\n\x03\x41ND\x10\x00\x12\x06\n\x02OR\x10\x01\x12\x07\n\x03XOR\x10\x02\x32P\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xee\xc1\xc2\xa1\x01 \x01(\x0b\x32!.mediapipe.LogicCalculatorOptions')
|
||||
,
|
||||
dependencies=[mediapipe_dot_framework_dot_calculator__pb2.DESCRIPTOR,])
|
||||
|
||||
|
||||
|
||||
_LOGICCALCULATOROPTIONS_OPERATION = _descriptor.EnumDescriptor(
|
||||
name='Operation',
|
||||
full_name='mediapipe.LogicCalculatorOptions.Operation',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
values=[
|
||||
_descriptor.EnumValueDescriptor(
|
||||
name='AND', index=0, number=0,
|
||||
serialized_options=None,
|
||||
type=None),
|
||||
_descriptor.EnumValueDescriptor(
|
||||
name='OR', index=1, number=1,
|
||||
serialized_options=None,
|
||||
type=None),
|
||||
_descriptor.EnumValueDescriptor(
|
||||
name='XOR', index=2, number=2,
|
||||
serialized_options=None,
|
||||
type=None),
|
||||
],
|
||||
containing_type=None,
|
||||
serialized_options=None,
|
||||
serialized_start=223,
|
||||
serialized_end=260,
|
||||
)
|
||||
_sym_db.RegisterEnumDescriptor(_LOGICCALCULATOROPTIONS_OPERATION)
|
||||
|
||||
|
||||
_LOGICCALCULATOROPTIONS = _descriptor.Descriptor(
|
||||
name='LogicCalculatorOptions',
|
||||
full_name='mediapipe.LogicCalculatorOptions',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='op', full_name='mediapipe.LogicCalculatorOptions.op', index=0,
|
||||
number=1, type=14, cpp_type=8, label=1,
|
||||
has_default_value=False, default_value=0,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='negate', full_name='mediapipe.LogicCalculatorOptions.negate', index=1,
|
||||
number=2, type=8, cpp_type=7, label=1,
|
||||
has_default_value=False, default_value=False,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='input_value', full_name='mediapipe.LogicCalculatorOptions.input_value', index=2,
|
||||
number=3, type=8, cpp_type=7, label=3,
|
||||
has_default_value=False, default_value=[],
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='ext', full_name='mediapipe.LogicCalculatorOptions.ext', index=0,
|
||||
number=338731246, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=True, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
_LOGICCALCULATOROPTIONS_OPERATION,
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=103,
|
||||
serialized_end=342,
|
||||
)
|
||||
|
||||
_LOGICCALCULATOROPTIONS.fields_by_name['op'].enum_type = _LOGICCALCULATOROPTIONS_OPERATION
|
||||
_LOGICCALCULATOROPTIONS_OPERATION.containing_type = _LOGICCALCULATOROPTIONS
|
||||
DESCRIPTOR.message_types_by_name['LogicCalculatorOptions'] = _LOGICCALCULATOROPTIONS
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
LogicCalculatorOptions = _reflection.GeneratedProtocolMessageType('LogicCalculatorOptions', (_message.Message,), dict(
|
||||
DESCRIPTOR = _LOGICCALCULATOROPTIONS,
|
||||
__module__ = 'mediapipe.calculators.util.logic_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.LogicCalculatorOptions)
|
||||
))
|
||||
_sym_db.RegisterMessage(LogicCalculatorOptions)
|
||||
|
||||
_LOGICCALCULATOROPTIONS.extensions_by_name['ext'].message_type = _LOGICCALCULATOROPTIONS
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_LOGICCALCULATOROPTIONS.extensions_by_name['ext'])
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,185 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: mediapipe/calculators/util/non_max_suppression_calculator.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
|
||||
try:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
|
||||
except AttributeError:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='mediapipe/calculators/util/non_max_suppression_calculator.proto',
|
||||
package='mediapipe',
|
||||
syntax='proto2',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\n?mediapipe/calculators/util/non_max_suppression_calculator.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\"\xf5\x04\n\"NonMaxSuppressionCalculatorOptions\x12 \n\x15num_detection_streams\x18\x01 \x01(\x05:\x01\x31\x12\x1e\n\x12max_num_detections\x18\x02 \x01(\x05:\x02-1\x12\x1f\n\x13min_score_threshold\x18\x06 \x01(\x02:\x02-1\x12$\n\x19min_suppression_threshold\x18\x03 \x01(\x02:\x01\x31\x12X\n\x0coverlap_type\x18\x04 \x01(\x0e\x32\x39.mediapipe.NonMaxSuppressionCalculatorOptions.OverlapType:\x07JACCARD\x12\x1f\n\x17return_empty_detections\x18\x05 \x01(\x08\x12V\n\talgorithm\x18\x07 \x01(\x0e\x32:.mediapipe.NonMaxSuppressionCalculatorOptions.NmsAlgorithm:\x07\x44\x45\x46\x41ULT\"k\n\x0bOverlapType\x12\x1c\n\x18UNSPECIFIED_OVERLAP_TYPE\x10\x00\x12\x0b\n\x07JACCARD\x10\x01\x12\x14\n\x10MODIFIED_JACCARD\x10\x02\x12\x1b\n\x17INTERSECTION_OVER_UNION\x10\x03\")\n\x0cNmsAlgorithm\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\x0c\n\x08WEIGHTED\x10\x01\x32[\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xbc\xa8\xb4\x1a \x01(\x0b\x32-.mediapipe.NonMaxSuppressionCalculatorOptions')
|
||||
,
|
||||
dependencies=[mediapipe_dot_framework_dot_calculator__pb2.DESCRIPTOR,])
|
||||
|
||||
|
||||
|
||||
_NONMAXSUPPRESSIONCALCULATOROPTIONS_OVERLAPTYPE = _descriptor.EnumDescriptor(
|
||||
name='OverlapType',
|
||||
full_name='mediapipe.NonMaxSuppressionCalculatorOptions.OverlapType',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
values=[
|
||||
_descriptor.EnumValueDescriptor(
|
||||
name='UNSPECIFIED_OVERLAP_TYPE', index=0, number=0,
|
||||
serialized_options=None,
|
||||
type=None),
|
||||
_descriptor.EnumValueDescriptor(
|
||||
name='JACCARD', index=1, number=1,
|
||||
serialized_options=None,
|
||||
type=None),
|
||||
_descriptor.EnumValueDescriptor(
|
||||
name='MODIFIED_JACCARD', index=2, number=2,
|
||||
serialized_options=None,
|
||||
type=None),
|
||||
_descriptor.EnumValueDescriptor(
|
||||
name='INTERSECTION_OVER_UNION', index=3, number=3,
|
||||
serialized_options=None,
|
||||
type=None),
|
||||
],
|
||||
containing_type=None,
|
||||
serialized_options=None,
|
||||
serialized_start=503,
|
||||
serialized_end=610,
|
||||
)
|
||||
_sym_db.RegisterEnumDescriptor(_NONMAXSUPPRESSIONCALCULATOROPTIONS_OVERLAPTYPE)
|
||||
|
||||
_NONMAXSUPPRESSIONCALCULATOROPTIONS_NMSALGORITHM = _descriptor.EnumDescriptor(
|
||||
name='NmsAlgorithm',
|
||||
full_name='mediapipe.NonMaxSuppressionCalculatorOptions.NmsAlgorithm',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
values=[
|
||||
_descriptor.EnumValueDescriptor(
|
||||
name='DEFAULT', index=0, number=0,
|
||||
serialized_options=None,
|
||||
type=None),
|
||||
_descriptor.EnumValueDescriptor(
|
||||
name='WEIGHTED', index=1, number=1,
|
||||
serialized_options=None,
|
||||
type=None),
|
||||
],
|
||||
containing_type=None,
|
||||
serialized_options=None,
|
||||
serialized_start=612,
|
||||
serialized_end=653,
|
||||
)
|
||||
_sym_db.RegisterEnumDescriptor(_NONMAXSUPPRESSIONCALCULATOROPTIONS_NMSALGORITHM)
|
||||
|
||||
|
||||
_NONMAXSUPPRESSIONCALCULATOROPTIONS = _descriptor.Descriptor(
|
||||
name='NonMaxSuppressionCalculatorOptions',
|
||||
full_name='mediapipe.NonMaxSuppressionCalculatorOptions',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='num_detection_streams', full_name='mediapipe.NonMaxSuppressionCalculatorOptions.num_detection_streams', index=0,
|
||||
number=1, type=5, cpp_type=1, label=1,
|
||||
has_default_value=True, default_value=1,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='max_num_detections', full_name='mediapipe.NonMaxSuppressionCalculatorOptions.max_num_detections', index=1,
|
||||
number=2, type=5, cpp_type=1, label=1,
|
||||
has_default_value=True, default_value=-1,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='min_score_threshold', full_name='mediapipe.NonMaxSuppressionCalculatorOptions.min_score_threshold', index=2,
|
||||
number=6, type=2, cpp_type=6, label=1,
|
||||
has_default_value=True, default_value=float(-1),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='min_suppression_threshold', full_name='mediapipe.NonMaxSuppressionCalculatorOptions.min_suppression_threshold', index=3,
|
||||
number=3, type=2, cpp_type=6, label=1,
|
||||
has_default_value=True, default_value=float(1),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='overlap_type', full_name='mediapipe.NonMaxSuppressionCalculatorOptions.overlap_type', index=4,
|
||||
number=4, type=14, cpp_type=8, label=1,
|
||||
has_default_value=True, default_value=1,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='return_empty_detections', full_name='mediapipe.NonMaxSuppressionCalculatorOptions.return_empty_detections', index=5,
|
||||
number=5, type=8, cpp_type=7, label=1,
|
||||
has_default_value=False, default_value=False,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='algorithm', full_name='mediapipe.NonMaxSuppressionCalculatorOptions.algorithm', index=6,
|
||||
number=7, type=14, cpp_type=8, label=1,
|
||||
has_default_value=True, default_value=0,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='ext', full_name='mediapipe.NonMaxSuppressionCalculatorOptions.ext', index=0,
|
||||
number=55383100, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=True, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
_NONMAXSUPPRESSIONCALCULATOROPTIONS_OVERLAPTYPE,
|
||||
_NONMAXSUPPRESSIONCALCULATOROPTIONS_NMSALGORITHM,
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=117,
|
||||
serialized_end=746,
|
||||
)
|
||||
|
||||
_NONMAXSUPPRESSIONCALCULATOROPTIONS.fields_by_name['overlap_type'].enum_type = _NONMAXSUPPRESSIONCALCULATOROPTIONS_OVERLAPTYPE
|
||||
_NONMAXSUPPRESSIONCALCULATOROPTIONS.fields_by_name['algorithm'].enum_type = _NONMAXSUPPRESSIONCALCULATOROPTIONS_NMSALGORITHM
|
||||
_NONMAXSUPPRESSIONCALCULATOROPTIONS_OVERLAPTYPE.containing_type = _NONMAXSUPPRESSIONCALCULATOROPTIONS
|
||||
_NONMAXSUPPRESSIONCALCULATOROPTIONS_NMSALGORITHM.containing_type = _NONMAXSUPPRESSIONCALCULATOROPTIONS
|
||||
DESCRIPTOR.message_types_by_name['NonMaxSuppressionCalculatorOptions'] = _NONMAXSUPPRESSIONCALCULATOROPTIONS
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
NonMaxSuppressionCalculatorOptions = _reflection.GeneratedProtocolMessageType('NonMaxSuppressionCalculatorOptions', (_message.Message,), dict(
|
||||
DESCRIPTOR = _NONMAXSUPPRESSIONCALCULATOROPTIONS,
|
||||
__module__ = 'mediapipe.calculators.util.non_max_suppression_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.NonMaxSuppressionCalculatorOptions)
|
||||
))
|
||||
_sym_db.RegisterMessage(NonMaxSuppressionCalculatorOptions)
|
||||
|
||||
_NONMAXSUPPRESSIONCALCULATOROPTIONS.extensions_by_name['ext'].message_type = _NONMAXSUPPRESSIONCALCULATOROPTIONS
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_NONMAXSUPPRESSIONCALCULATOROPTIONS.extensions_by_name['ext'])
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,92 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: mediapipe/calculators/util/packet_frequency_calculator.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
|
||||
try:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
|
||||
except AttributeError:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='mediapipe/calculators/util/packet_frequency_calculator.proto',
|
||||
package='mediapipe',
|
||||
syntax='proto2',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\n<mediapipe/calculators/util/packet_frequency_calculator.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\"\xa8\x01\n PacketFrequencyCalculatorOptions\x12\x1a\n\x0ftime_window_sec\x18\x01 \x01(\x01:\x01\x33\x12\r\n\x05label\x18\x02 \x03(\t2Y\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xb6\xc3\xaaP \x01(\x0b\x32+.mediapipe.PacketFrequencyCalculatorOptions')
|
||||
,
|
||||
dependencies=[mediapipe_dot_framework_dot_calculator__pb2.DESCRIPTOR,])
|
||||
|
||||
|
||||
|
||||
|
||||
_PACKETFREQUENCYCALCULATOROPTIONS = _descriptor.Descriptor(
|
||||
name='PacketFrequencyCalculatorOptions',
|
||||
full_name='mediapipe.PacketFrequencyCalculatorOptions',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='time_window_sec', full_name='mediapipe.PacketFrequencyCalculatorOptions.time_window_sec', index=0,
|
||||
number=1, type=1, cpp_type=5, label=1,
|
||||
has_default_value=True, default_value=float(3),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='label', full_name='mediapipe.PacketFrequencyCalculatorOptions.label', index=1,
|
||||
number=2, type=9, cpp_type=9, label=3,
|
||||
has_default_value=False, default_value=[],
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='ext', full_name='mediapipe.PacketFrequencyCalculatorOptions.ext', index=0,
|
||||
number=168468918, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=True, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=114,
|
||||
serialized_end=282,
|
||||
)
|
||||
|
||||
DESCRIPTOR.message_types_by_name['PacketFrequencyCalculatorOptions'] = _PACKETFREQUENCYCALCULATOROPTIONS
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
PacketFrequencyCalculatorOptions = _reflection.GeneratedProtocolMessageType('PacketFrequencyCalculatorOptions', (_message.Message,), dict(
|
||||
DESCRIPTOR = _PACKETFREQUENCYCALCULATOROPTIONS,
|
||||
__module__ = 'mediapipe.calculators.util.packet_frequency_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.PacketFrequencyCalculatorOptions)
|
||||
))
|
||||
_sym_db.RegisterMessage(PacketFrequencyCalculatorOptions)
|
||||
|
||||
_PACKETFREQUENCYCALCULATOROPTIONS.extensions_by_name['ext'].message_type = _PACKETFREQUENCYCALCULATOROPTIONS
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_PACKETFREQUENCYCALCULATOROPTIONS.extensions_by_name['ext'])
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,77 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: mediapipe/calculators/util/packet_frequency.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='mediapipe/calculators/util/packet_frequency.proto',
|
||||
package='mediapipe',
|
||||
syntax='proto2',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\n1mediapipe/calculators/util/packet_frequency.proto\x12\tmediapipe\"=\n\x0fPacketFrequency\x12\x1b\n\x13packet_frequency_hz\x18\x01 \x01(\x01\x12\r\n\x05label\x18\x02 \x01(\t')
|
||||
)
|
||||
|
||||
|
||||
|
||||
|
||||
_PACKETFREQUENCY = _descriptor.Descriptor(
|
||||
name='PacketFrequency',
|
||||
full_name='mediapipe.PacketFrequency',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='packet_frequency_hz', full_name='mediapipe.PacketFrequency.packet_frequency_hz', index=0,
|
||||
number=1, type=1, cpp_type=5, label=1,
|
||||
has_default_value=False, default_value=float(0),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='label', full_name='mediapipe.PacketFrequency.label', index=1,
|
||||
number=2, type=9, cpp_type=9, label=1,
|
||||
has_default_value=False, default_value=_b("").decode('utf-8'),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=64,
|
||||
serialized_end=125,
|
||||
)
|
||||
|
||||
DESCRIPTOR.message_types_by_name['PacketFrequency'] = _PACKETFREQUENCY
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
PacketFrequency = _reflection.GeneratedProtocolMessageType('PacketFrequency', (_message.Message,), dict(
|
||||
DESCRIPTOR = _PACKETFREQUENCY,
|
||||
__module__ = 'mediapipe.calculators.util.packet_frequency_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.PacketFrequency)
|
||||
))
|
||||
_sym_db.RegisterMessage(PacketFrequency)
|
||||
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,106 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: mediapipe/calculators/util/packet_latency_calculator.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
|
||||
try:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
|
||||
except AttributeError:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='mediapipe/calculators/util/packet_latency_calculator.proto',
|
||||
package='mediapipe',
|
||||
syntax='proto2',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\n:mediapipe/calculators/util/packet_latency_calculator.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\"\xef\x01\n\x1ePacketLatencyCalculatorOptions\x12\x19\n\rnum_intervals\x18\x01 \x01(\x03:\x02\x31\x30\x12!\n\x12interval_size_usec\x18\x02 \x01(\x03:\x05\x31\x30\x30\x30\x30\x12\x1f\n\x13reset_duration_usec\x18\x03 \x01(\x03:\x02-1\x12\x15\n\rpacket_labels\x18\x04 \x03(\t2W\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xcd\xd1\xabR \x01(\x0b\x32).mediapipe.PacketLatencyCalculatorOptions')
|
||||
,
|
||||
dependencies=[mediapipe_dot_framework_dot_calculator__pb2.DESCRIPTOR,])
|
||||
|
||||
|
||||
|
||||
|
||||
_PACKETLATENCYCALCULATOROPTIONS = _descriptor.Descriptor(
|
||||
name='PacketLatencyCalculatorOptions',
|
||||
full_name='mediapipe.PacketLatencyCalculatorOptions',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='num_intervals', full_name='mediapipe.PacketLatencyCalculatorOptions.num_intervals', index=0,
|
||||
number=1, type=3, cpp_type=2, label=1,
|
||||
has_default_value=True, default_value=10,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='interval_size_usec', full_name='mediapipe.PacketLatencyCalculatorOptions.interval_size_usec', index=1,
|
||||
number=2, type=3, cpp_type=2, label=1,
|
||||
has_default_value=True, default_value=10000,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='reset_duration_usec', full_name='mediapipe.PacketLatencyCalculatorOptions.reset_duration_usec', index=2,
|
||||
number=3, type=3, cpp_type=2, label=1,
|
||||
has_default_value=True, default_value=-1,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='packet_labels', full_name='mediapipe.PacketLatencyCalculatorOptions.packet_labels', index=3,
|
||||
number=4, type=9, cpp_type=9, label=3,
|
||||
has_default_value=False, default_value=[],
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='ext', full_name='mediapipe.PacketLatencyCalculatorOptions.ext', index=0,
|
||||
number=172681421, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=True, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=112,
|
||||
serialized_end=351,
|
||||
)
|
||||
|
||||
DESCRIPTOR.message_types_by_name['PacketLatencyCalculatorOptions'] = _PACKETLATENCYCALCULATOROPTIONS
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
PacketLatencyCalculatorOptions = _reflection.GeneratedProtocolMessageType('PacketLatencyCalculatorOptions', (_message.Message,), dict(
|
||||
DESCRIPTOR = _PACKETLATENCYCALCULATOROPTIONS,
|
||||
__module__ = 'mediapipe.calculators.util.packet_latency_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.PacketLatencyCalculatorOptions)
|
||||
))
|
||||
_sym_db.RegisterMessage(PacketLatencyCalculatorOptions)
|
||||
|
||||
_PACKETLATENCYCALCULATOROPTIONS.extensions_by_name['ext'].message_type = _PACKETLATENCYCALCULATOROPTIONS
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_PACKETLATENCYCALCULATOROPTIONS.extensions_by_name['ext'])
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,108 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: mediapipe/calculators/util/rect_to_render_data_calculator.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
|
||||
try:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
|
||||
except AttributeError:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
|
||||
from mediapipe.util import color_pb2 as mediapipe_dot_util_dot_color__pb2
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='mediapipe/calculators/util/rect_to_render_data_calculator.proto',
|
||||
package='mediapipe',
|
||||
syntax='proto2',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\n?mediapipe/calculators/util/rect_to_render_data_calculator.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\x1a\x1amediapipe/util/color.proto\"\xdb\x01\n!RectToRenderDataCalculatorOptions\x12\x0e\n\x06\x66illed\x18\x01 \x01(\x08\x12\x1f\n\x05\x63olor\x18\x02 \x01(\x0b\x32\x10.mediapipe.Color\x12\x14\n\tthickness\x18\x03 \x01(\x01:\x01\x31\x12\x13\n\x04oval\x18\x04 \x01(\x08:\x05\x66\x61lse2Z\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xac\xdb\x87} \x01(\x0b\x32,.mediapipe.RectToRenderDataCalculatorOptions')
|
||||
,
|
||||
dependencies=[mediapipe_dot_framework_dot_calculator__pb2.DESCRIPTOR,mediapipe_dot_util_dot_color__pb2.DESCRIPTOR,])
|
||||
|
||||
|
||||
|
||||
|
||||
_RECTTORENDERDATACALCULATOROPTIONS = _descriptor.Descriptor(
|
||||
name='RectToRenderDataCalculatorOptions',
|
||||
full_name='mediapipe.RectToRenderDataCalculatorOptions',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='filled', full_name='mediapipe.RectToRenderDataCalculatorOptions.filled', index=0,
|
||||
number=1, type=8, cpp_type=7, label=1,
|
||||
has_default_value=False, default_value=False,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='color', full_name='mediapipe.RectToRenderDataCalculatorOptions.color', index=1,
|
||||
number=2, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='thickness', full_name='mediapipe.RectToRenderDataCalculatorOptions.thickness', index=2,
|
||||
number=3, type=1, cpp_type=5, label=1,
|
||||
has_default_value=True, default_value=float(1),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='oval', full_name='mediapipe.RectToRenderDataCalculatorOptions.oval', index=3,
|
||||
number=4, type=8, cpp_type=7, label=1,
|
||||
has_default_value=True, default_value=False,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='ext', full_name='mediapipe.RectToRenderDataCalculatorOptions.ext', index=0,
|
||||
number=262270380, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=True, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=145,
|
||||
serialized_end=364,
|
||||
)
|
||||
|
||||
_RECTTORENDERDATACALCULATOROPTIONS.fields_by_name['color'].message_type = mediapipe_dot_util_dot_color__pb2._COLOR
|
||||
DESCRIPTOR.message_types_by_name['RectToRenderDataCalculatorOptions'] = _RECTTORENDERDATACALCULATOROPTIONS
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
RectToRenderDataCalculatorOptions = _reflection.GeneratedProtocolMessageType('RectToRenderDataCalculatorOptions', (_message.Message,), dict(
|
||||
DESCRIPTOR = _RECTTORENDERDATACALCULATOROPTIONS,
|
||||
__module__ = 'mediapipe.calculators.util.rect_to_render_data_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.RectToRenderDataCalculatorOptions)
|
||||
))
|
||||
_sym_db.RegisterMessage(RectToRenderDataCalculatorOptions)
|
||||
|
||||
_RECTTORENDERDATACALCULATOROPTIONS.extensions_by_name['ext'].message_type = _RECTTORENDERDATACALCULATOROPTIONS
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_RECTTORENDERDATACALCULATOROPTIONS.extensions_by_name['ext'])
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,85 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: mediapipe/calculators/util/rect_to_render_scale_calculator.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
|
||||
try:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
|
||||
except AttributeError:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='mediapipe/calculators/util/rect_to_render_scale_calculator.proto',
|
||||
package='mediapipe',
|
||||
syntax='proto2',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\n@mediapipe/calculators/util/rect_to_render_scale_calculator.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\"\x9c\x01\n\"RectToRenderScaleCalculatorOptions\x12\x18\n\nmultiplier\x18\x01 \x01(\x02:\x04\x30.012\\\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xf1\xe5\xe5\x8e\x01 \x01(\x0b\x32-.mediapipe.RectToRenderScaleCalculatorOptions')
|
||||
,
|
||||
dependencies=[mediapipe_dot_framework_dot_calculator__pb2.DESCRIPTOR,])
|
||||
|
||||
|
||||
|
||||
|
||||
_RECTTORENDERSCALECALCULATOROPTIONS = _descriptor.Descriptor(
|
||||
name='RectToRenderScaleCalculatorOptions',
|
||||
full_name='mediapipe.RectToRenderScaleCalculatorOptions',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='multiplier', full_name='mediapipe.RectToRenderScaleCalculatorOptions.multiplier', index=0,
|
||||
number=1, type=2, cpp_type=6, label=1,
|
||||
has_default_value=True, default_value=float(0.01),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='ext', full_name='mediapipe.RectToRenderScaleCalculatorOptions.ext', index=0,
|
||||
number=299463409, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=True, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=118,
|
||||
serialized_end=274,
|
||||
)
|
||||
|
||||
DESCRIPTOR.message_types_by_name['RectToRenderScaleCalculatorOptions'] = _RECTTORENDERSCALECALCULATOROPTIONS
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
RectToRenderScaleCalculatorOptions = _reflection.GeneratedProtocolMessageType('RectToRenderScaleCalculatorOptions', (_message.Message,), dict(
|
||||
DESCRIPTOR = _RECTTORENDERSCALECALCULATOROPTIONS,
|
||||
__module__ = 'mediapipe.calculators.util.rect_to_render_scale_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.RectToRenderScaleCalculatorOptions)
|
||||
))
|
||||
_sym_db.RegisterMessage(RectToRenderScaleCalculatorOptions)
|
||||
|
||||
_RECTTORENDERSCALECALCULATOROPTIONS.extensions_by_name['ext'].message_type = _RECTTORENDERSCALECALCULATOROPTIONS
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_RECTTORENDERSCALECALCULATOROPTIONS.extensions_by_name['ext'])
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,134 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: mediapipe/calculators/util/rect_transformation_calculator.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
|
||||
try:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
|
||||
except AttributeError:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='mediapipe/calculators/util/rect_transformation_calculator.proto',
|
||||
package='mediapipe',
|
||||
syntax='proto2',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\n?mediapipe/calculators/util/rect_transformation_calculator.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\"\xa4\x02\n#RectTransformationCalculatorOptions\x12\x12\n\x07scale_x\x18\x01 \x01(\x02:\x01\x31\x12\x12\n\x07scale_y\x18\x02 \x01(\x02:\x01\x31\x12\x10\n\x08rotation\x18\x03 \x01(\x02\x12\x18\n\x10rotation_degrees\x18\x04 \x01(\x05\x12\x0f\n\x07shift_x\x18\x05 \x01(\x02\x12\x0f\n\x07shift_y\x18\x06 \x01(\x02\x12\x13\n\x0bsquare_long\x18\x07 \x01(\x08\x12\x14\n\x0csquare_short\x18\x08 \x01(\x08\x32\\\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\x88\x83\x85} \x01(\x0b\x32..mediapipe.RectTransformationCalculatorOptions')
|
||||
,
|
||||
dependencies=[mediapipe_dot_framework_dot_calculator__pb2.DESCRIPTOR,])
|
||||
|
||||
|
||||
|
||||
|
||||
_RECTTRANSFORMATIONCALCULATOROPTIONS = _descriptor.Descriptor(
|
||||
name='RectTransformationCalculatorOptions',
|
||||
full_name='mediapipe.RectTransformationCalculatorOptions',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='scale_x', full_name='mediapipe.RectTransformationCalculatorOptions.scale_x', index=0,
|
||||
number=1, type=2, cpp_type=6, label=1,
|
||||
has_default_value=True, default_value=float(1),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='scale_y', full_name='mediapipe.RectTransformationCalculatorOptions.scale_y', index=1,
|
||||
number=2, type=2, cpp_type=6, label=1,
|
||||
has_default_value=True, default_value=float(1),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='rotation', full_name='mediapipe.RectTransformationCalculatorOptions.rotation', index=2,
|
||||
number=3, type=2, cpp_type=6, label=1,
|
||||
has_default_value=False, default_value=float(0),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='rotation_degrees', full_name='mediapipe.RectTransformationCalculatorOptions.rotation_degrees', index=3,
|
||||
number=4, type=5, cpp_type=1, label=1,
|
||||
has_default_value=False, default_value=0,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='shift_x', full_name='mediapipe.RectTransformationCalculatorOptions.shift_x', index=4,
|
||||
number=5, type=2, cpp_type=6, label=1,
|
||||
has_default_value=False, default_value=float(0),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='shift_y', full_name='mediapipe.RectTransformationCalculatorOptions.shift_y', index=5,
|
||||
number=6, type=2, cpp_type=6, label=1,
|
||||
has_default_value=False, default_value=float(0),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='square_long', full_name='mediapipe.RectTransformationCalculatorOptions.square_long', index=6,
|
||||
number=7, type=8, cpp_type=7, label=1,
|
||||
has_default_value=False, default_value=False,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='square_short', full_name='mediapipe.RectTransformationCalculatorOptions.square_short', index=7,
|
||||
number=8, type=8, cpp_type=7, label=1,
|
||||
has_default_value=False, default_value=False,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='ext', full_name='mediapipe.RectTransformationCalculatorOptions.ext', index=0,
|
||||
number=262226312, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=True, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=117,
|
||||
serialized_end=409,
|
||||
)
|
||||
|
||||
DESCRIPTOR.message_types_by_name['RectTransformationCalculatorOptions'] = _RECTTRANSFORMATIONCALCULATOROPTIONS
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
RectTransformationCalculatorOptions = _reflection.GeneratedProtocolMessageType('RectTransformationCalculatorOptions', (_message.Message,), dict(
|
||||
DESCRIPTOR = _RECTTRANSFORMATIONCALCULATOROPTIONS,
|
||||
__module__ = 'mediapipe.calculators.util.rect_transformation_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.RectTransformationCalculatorOptions)
|
||||
))
|
||||
_sym_db.RegisterMessage(RectTransformationCalculatorOptions)
|
||||
|
||||
_RECTTRANSFORMATIONCALCULATOROPTIONS.extensions_by_name['ext'].message_type = _RECTTRANSFORMATIONCALCULATOROPTIONS
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_RECTTRANSFORMATIONCALCULATOROPTIONS.extensions_by_name['ext'])
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,106 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: mediapipe/calculators/util/refine_landmarks_from_heatmap_calculator.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
|
||||
try:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
|
||||
except AttributeError:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='mediapipe/calculators/util/refine_landmarks_from_heatmap_calculator.proto',
|
||||
package='mediapipe',
|
||||
syntax='proto2',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\nImediapipe/calculators/util/refine_landmarks_from_heatmap_calculator.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\"\x95\x02\n+RefineLandmarksFromHeatmapCalculatorOptions\x12\x16\n\x0bkernel_size\x18\x01 \x01(\x05:\x01\x39\x12%\n\x18min_confidence_to_refine\x18\x02 \x01(\x02:\x03\x30.5\x12\x1e\n\x0frefine_presence\x18\x03 \x01(\x08:\x05\x66\x61lse\x12 \n\x11refine_visibility\x18\x04 \x01(\x08:\x05\x66\x61lse2e\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xb5\xf5\xdf\xac\x01 \x01(\x0b\x32\x36.mediapipe.RefineLandmarksFromHeatmapCalculatorOptions')
|
||||
,
|
||||
dependencies=[mediapipe_dot_framework_dot_calculator__pb2.DESCRIPTOR,])
|
||||
|
||||
|
||||
|
||||
|
||||
_REFINELANDMARKSFROMHEATMAPCALCULATOROPTIONS = _descriptor.Descriptor(
|
||||
name='RefineLandmarksFromHeatmapCalculatorOptions',
|
||||
full_name='mediapipe.RefineLandmarksFromHeatmapCalculatorOptions',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='kernel_size', full_name='mediapipe.RefineLandmarksFromHeatmapCalculatorOptions.kernel_size', index=0,
|
||||
number=1, type=5, cpp_type=1, label=1,
|
||||
has_default_value=True, default_value=9,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='min_confidence_to_refine', full_name='mediapipe.RefineLandmarksFromHeatmapCalculatorOptions.min_confidence_to_refine', index=1,
|
||||
number=2, type=2, cpp_type=6, label=1,
|
||||
has_default_value=True, default_value=float(0.5),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='refine_presence', full_name='mediapipe.RefineLandmarksFromHeatmapCalculatorOptions.refine_presence', index=2,
|
||||
number=3, type=8, cpp_type=7, label=1,
|
||||
has_default_value=True, default_value=False,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='refine_visibility', full_name='mediapipe.RefineLandmarksFromHeatmapCalculatorOptions.refine_visibility', index=3,
|
||||
number=4, type=8, cpp_type=7, label=1,
|
||||
has_default_value=True, default_value=False,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='ext', full_name='mediapipe.RefineLandmarksFromHeatmapCalculatorOptions.ext', index=0,
|
||||
number=362281653, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=True, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=127,
|
||||
serialized_end=404,
|
||||
)
|
||||
|
||||
DESCRIPTOR.message_types_by_name['RefineLandmarksFromHeatmapCalculatorOptions'] = _REFINELANDMARKSFROMHEATMAPCALCULATOROPTIONS
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
RefineLandmarksFromHeatmapCalculatorOptions = _reflection.GeneratedProtocolMessageType('RefineLandmarksFromHeatmapCalculatorOptions', (_message.Message,), dict(
|
||||
DESCRIPTOR = _REFINELANDMARKSFROMHEATMAPCALCULATOROPTIONS,
|
||||
__module__ = 'mediapipe.calculators.util.refine_landmarks_from_heatmap_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.RefineLandmarksFromHeatmapCalculatorOptions)
|
||||
))
|
||||
_sym_db.RegisterMessage(RefineLandmarksFromHeatmapCalculatorOptions)
|
||||
|
||||
_REFINELANDMARKSFROMHEATMAPCALCULATOROPTIONS.extensions_by_name['ext'].message_type = _REFINELANDMARKSFROMHEATMAPCALCULATOROPTIONS
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_REFINELANDMARKSFROMHEATMAPCALCULATOROPTIONS.extensions_by_name['ext'])
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,85 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: mediapipe/calculators/util/thresholding_calculator.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
|
||||
try:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
|
||||
except AttributeError:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='mediapipe/calculators/util/thresholding_calculator.proto',
|
||||
package='mediapipe',
|
||||
syntax='proto2',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\n8mediapipe/calculators/util/thresholding_calculator.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\"\x8a\x01\n\x1dThresholdingCalculatorOptions\x12\x11\n\tthreshold\x18\x01 \x01(\x01\x32V\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xe2\xc7\xfc{ \x01(\x0b\x32(.mediapipe.ThresholdingCalculatorOptions')
|
||||
,
|
||||
dependencies=[mediapipe_dot_framework_dot_calculator__pb2.DESCRIPTOR,])
|
||||
|
||||
|
||||
|
||||
|
||||
_THRESHOLDINGCALCULATOROPTIONS = _descriptor.Descriptor(
|
||||
name='ThresholdingCalculatorOptions',
|
||||
full_name='mediapipe.ThresholdingCalculatorOptions',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='threshold', full_name='mediapipe.ThresholdingCalculatorOptions.threshold', index=0,
|
||||
number=1, type=1, cpp_type=5, label=1,
|
||||
has_default_value=False, default_value=float(0),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='ext', full_name='mediapipe.ThresholdingCalculatorOptions.ext', index=0,
|
||||
number=259990498, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=True, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=110,
|
||||
serialized_end=248,
|
||||
)
|
||||
|
||||
DESCRIPTOR.message_types_by_name['ThresholdingCalculatorOptions'] = _THRESHOLDINGCALCULATOROPTIONS
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
ThresholdingCalculatorOptions = _reflection.GeneratedProtocolMessageType('ThresholdingCalculatorOptions', (_message.Message,), dict(
|
||||
DESCRIPTOR = _THRESHOLDINGCALCULATOROPTIONS,
|
||||
__module__ = 'mediapipe.calculators.util.thresholding_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.ThresholdingCalculatorOptions)
|
||||
))
|
||||
_sym_db.RegisterMessage(ThresholdingCalculatorOptions)
|
||||
|
||||
_THRESHOLDINGCALCULATOROPTIONS.extensions_by_name['ext'].message_type = _THRESHOLDINGCALCULATOROPTIONS
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_THRESHOLDINGCALCULATOROPTIONS.extensions_by_name['ext'])
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,85 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: mediapipe/calculators/util/timed_box_list_id_to_label_calculator.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
|
||||
try:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
|
||||
except AttributeError:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='mediapipe/calculators/util/timed_box_list_id_to_label_calculator.proto',
|
||||
package='mediapipe',
|
||||
syntax='proto2',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\nFmediapipe/calculators/util/timed_box_list_id_to_label_calculator.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\"\xa2\x01\n&TimedBoxListIdToLabelCalculatorOptions\x12\x16\n\x0elabel_map_path\x18\x01 \x01(\t2`\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xe6\xa1\xfa\x8d\x01 \x01(\x0b\x32\x31.mediapipe.TimedBoxListIdToLabelCalculatorOptions')
|
||||
,
|
||||
dependencies=[mediapipe_dot_framework_dot_calculator__pb2.DESCRIPTOR,])
|
||||
|
||||
|
||||
|
||||
|
||||
_TIMEDBOXLISTIDTOLABELCALCULATOROPTIONS = _descriptor.Descriptor(
|
||||
name='TimedBoxListIdToLabelCalculatorOptions',
|
||||
full_name='mediapipe.TimedBoxListIdToLabelCalculatorOptions',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='label_map_path', full_name='mediapipe.TimedBoxListIdToLabelCalculatorOptions.label_map_path', index=0,
|
||||
number=1, type=9, cpp_type=9, label=1,
|
||||
has_default_value=False, default_value=_b("").decode('utf-8'),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='ext', full_name='mediapipe.TimedBoxListIdToLabelCalculatorOptions.ext', index=0,
|
||||
number=297701606, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=True, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=124,
|
||||
serialized_end=286,
|
||||
)
|
||||
|
||||
DESCRIPTOR.message_types_by_name['TimedBoxListIdToLabelCalculatorOptions'] = _TIMEDBOXLISTIDTOLABELCALCULATOROPTIONS
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
TimedBoxListIdToLabelCalculatorOptions = _reflection.GeneratedProtocolMessageType('TimedBoxListIdToLabelCalculatorOptions', (_message.Message,), dict(
|
||||
DESCRIPTOR = _TIMEDBOXLISTIDTOLABELCALCULATOROPTIONS,
|
||||
__module__ = 'mediapipe.calculators.util.timed_box_list_id_to_label_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.TimedBoxListIdToLabelCalculatorOptions)
|
||||
))
|
||||
_sym_db.RegisterMessage(TimedBoxListIdToLabelCalculatorOptions)
|
||||
|
||||
_TIMEDBOXLISTIDTOLABELCALCULATOROPTIONS.extensions_by_name['ext'].message_type = _TIMEDBOXLISTIDTOLABELCALCULATOROPTIONS
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_TIMEDBOXLISTIDTOLABELCALCULATOROPTIONS.extensions_by_name['ext'])
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,94 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: mediapipe/calculators/util/timed_box_list_to_render_data_calculator.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
|
||||
try:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
|
||||
except AttributeError:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
|
||||
from mediapipe.util import color_pb2 as mediapipe_dot_util_dot_color__pb2
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='mediapipe/calculators/util/timed_box_list_to_render_data_calculator.proto',
|
||||
package='mediapipe',
|
||||
syntax='proto2',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\nImediapipe/calculators/util/timed_box_list_to_render_data_calculator.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\x1a\x1amediapipe/util/color.proto\"\xcb\x01\n)TimedBoxListToRenderDataCalculatorOptions\x12#\n\tbox_color\x18\x01 \x01(\x0b\x32\x10.mediapipe.Color\x12\x14\n\tthickness\x18\x02 \x01(\x01:\x01\x31\x32\x63\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xce\x8a\x9e\x8a\x01 \x01(\x0b\x32\x34.mediapipe.TimedBoxListToRenderDataCalculatorOptions')
|
||||
,
|
||||
dependencies=[mediapipe_dot_framework_dot_calculator__pb2.DESCRIPTOR,mediapipe_dot_util_dot_color__pb2.DESCRIPTOR,])
|
||||
|
||||
|
||||
|
||||
|
||||
_TIMEDBOXLISTTORENDERDATACALCULATOROPTIONS = _descriptor.Descriptor(
|
||||
name='TimedBoxListToRenderDataCalculatorOptions',
|
||||
full_name='mediapipe.TimedBoxListToRenderDataCalculatorOptions',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='box_color', full_name='mediapipe.TimedBoxListToRenderDataCalculatorOptions.box_color', index=0,
|
||||
number=1, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='thickness', full_name='mediapipe.TimedBoxListToRenderDataCalculatorOptions.thickness', index=1,
|
||||
number=2, type=1, cpp_type=5, label=1,
|
||||
has_default_value=True, default_value=float(1),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='ext', full_name='mediapipe.TimedBoxListToRenderDataCalculatorOptions.ext', index=0,
|
||||
number=289899854, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=True, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=155,
|
||||
serialized_end=358,
|
||||
)
|
||||
|
||||
_TIMEDBOXLISTTORENDERDATACALCULATOROPTIONS.fields_by_name['box_color'].message_type = mediapipe_dot_util_dot_color__pb2._COLOR
|
||||
DESCRIPTOR.message_types_by_name['TimedBoxListToRenderDataCalculatorOptions'] = _TIMEDBOXLISTTORENDERDATACALCULATOROPTIONS
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
TimedBoxListToRenderDataCalculatorOptions = _reflection.GeneratedProtocolMessageType('TimedBoxListToRenderDataCalculatorOptions', (_message.Message,), dict(
|
||||
DESCRIPTOR = _TIMEDBOXLISTTORENDERDATACALCULATOROPTIONS,
|
||||
__module__ = 'mediapipe.calculators.util.timed_box_list_to_render_data_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.TimedBoxListToRenderDataCalculatorOptions)
|
||||
))
|
||||
_sym_db.RegisterMessage(TimedBoxListToRenderDataCalculatorOptions)
|
||||
|
||||
_TIMEDBOXLISTTORENDERDATACALCULATOROPTIONS.extensions_by_name['ext'].message_type = _TIMEDBOXLISTTORENDERDATACALCULATOROPTIONS
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_TIMEDBOXLISTTORENDERDATACALCULATOROPTIONS.extensions_by_name['ext'])
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,99 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: mediapipe/calculators/util/top_k_scores_calculator.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
|
||||
try:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
|
||||
except AttributeError:
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='mediapipe/calculators/util/top_k_scores_calculator.proto',
|
||||
package='mediapipe',
|
||||
syntax='proto2',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\n8mediapipe/calculators/util/top_k_scores_calculator.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\"\xae\x01\n\x1bTopKScoresCalculatorOptions\x12\r\n\x05top_k\x18\x01 \x01(\x05\x12\x11\n\tthreshold\x18\x02 \x01(\x02\x12\x16\n\x0elabel_map_path\x18\x03 \x01(\t2U\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\x8c\xba\xa9\x81\x01 \x01(\x0b\x32&.mediapipe.TopKScoresCalculatorOptions')
|
||||
,
|
||||
dependencies=[mediapipe_dot_framework_dot_calculator__pb2.DESCRIPTOR,])
|
||||
|
||||
|
||||
|
||||
|
||||
_TOPKSCORESCALCULATOROPTIONS = _descriptor.Descriptor(
|
||||
name='TopKScoresCalculatorOptions',
|
||||
full_name='mediapipe.TopKScoresCalculatorOptions',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='top_k', full_name='mediapipe.TopKScoresCalculatorOptions.top_k', index=0,
|
||||
number=1, type=5, cpp_type=1, label=1,
|
||||
has_default_value=False, default_value=0,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='threshold', full_name='mediapipe.TopKScoresCalculatorOptions.threshold', index=1,
|
||||
number=2, type=2, cpp_type=6, label=1,
|
||||
has_default_value=False, default_value=float(0),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='label_map_path', full_name='mediapipe.TopKScoresCalculatorOptions.label_map_path', index=2,
|
||||
number=3, type=9, cpp_type=9, label=1,
|
||||
has_default_value=False, default_value=_b("").decode('utf-8'),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='ext', full_name='mediapipe.TopKScoresCalculatorOptions.ext', index=0,
|
||||
number=271211788, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=True, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=110,
|
||||
serialized_end=284,
|
||||
)
|
||||
|
||||
DESCRIPTOR.message_types_by_name['TopKScoresCalculatorOptions'] = _TOPKSCORESCALCULATOROPTIONS
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
TopKScoresCalculatorOptions = _reflection.GeneratedProtocolMessageType('TopKScoresCalculatorOptions', (_message.Message,), dict(
|
||||
DESCRIPTOR = _TOPKSCORESCALCULATOROPTIONS,
|
||||
__module__ = 'mediapipe.calculators.util.top_k_scores_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.TopKScoresCalculatorOptions)
|
||||
))
|
||||
_sym_db.RegisterMessage(TopKScoresCalculatorOptions)
|
||||
|
||||
_TOPKSCORESCALCULATOROPTIONS.extensions_by_name['ext'].message_type = _TOPKSCORESCALCULATOROPTIONS
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_TOPKSCORESCALCULATOROPTIONS.extensions_by_name['ext'])
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,88 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: mediapipe/calculators/util/visibility_copy_calculator.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from mediapipe.framework import calculator_options_pb2 as mediapipe_dot_framework_dot_calculator__options__pb2
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='mediapipe/calculators/util/visibility_copy_calculator.proto',
|
||||
package='mediapipe',
|
||||
syntax='proto2',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\n;mediapipe/calculators/util/visibility_copy_calculator.proto\x12\tmediapipe\x1a,mediapipe/framework/calculator_options.proto\"\xb8\x01\n\x1fVisibilityCopyCalculatorOptions\x12\x1d\n\x0f\x63opy_visibility\x18\x01 \x01(\x08:\x04true\x12\x1b\n\rcopy_presence\x18\x02 \x01(\x08:\x04true2Y\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xa5\x9c\xb8\xad\x01 \x01(\x0b\x32*.mediapipe.VisibilityCopyCalculatorOptions')
|
||||
,
|
||||
dependencies=[mediapipe_dot_framework_dot_calculator__options__pb2.DESCRIPTOR,])
|
||||
|
||||
|
||||
|
||||
|
||||
_VISIBILITYCOPYCALCULATOROPTIONS = _descriptor.Descriptor(
|
||||
name='VisibilityCopyCalculatorOptions',
|
||||
full_name='mediapipe.VisibilityCopyCalculatorOptions',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='copy_visibility', full_name='mediapipe.VisibilityCopyCalculatorOptions.copy_visibility', index=0,
|
||||
number=1, type=8, cpp_type=7, label=1,
|
||||
has_default_value=True, default_value=True,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='copy_presence', full_name='mediapipe.VisibilityCopyCalculatorOptions.copy_presence', index=1,
|
||||
number=2, type=8, cpp_type=7, label=1,
|
||||
has_default_value=True, default_value=True,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='ext', full_name='mediapipe.VisibilityCopyCalculatorOptions.ext', index=0,
|
||||
number=363728421, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=True, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=121,
|
||||
serialized_end=305,
|
||||
)
|
||||
|
||||
DESCRIPTOR.message_types_by_name['VisibilityCopyCalculatorOptions'] = _VISIBILITYCOPYCALCULATOROPTIONS
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
VisibilityCopyCalculatorOptions = _reflection.GeneratedProtocolMessageType('VisibilityCopyCalculatorOptions', (_message.Message,), dict(
|
||||
DESCRIPTOR = _VISIBILITYCOPYCALCULATOROPTIONS,
|
||||
__module__ = 'mediapipe.calculators.util.visibility_copy_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.VisibilityCopyCalculatorOptions)
|
||||
))
|
||||
_sym_db.RegisterMessage(VisibilityCopyCalculatorOptions)
|
||||
|
||||
_VISIBILITYCOPYCALCULATOROPTIONS.extensions_by_name['ext'].message_type = _VISIBILITYCOPYCALCULATOROPTIONS
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_VISIBILITYCOPYCALCULATOROPTIONS.extensions_by_name['ext'])
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,170 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: mediapipe/calculators/util/visibility_smoothing_calculator.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from mediapipe.framework import calculator_options_pb2 as mediapipe_dot_framework_dot_calculator__options__pb2
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='mediapipe/calculators/util/visibility_smoothing_calculator.proto',
|
||||
package='mediapipe',
|
||||
syntax='proto2',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\n@mediapipe/calculators/util/visibility_smoothing_calculator.proto\x12\tmediapipe\x1a,mediapipe/framework/calculator_options.proto\"\xf2\x02\n$VisibilitySmoothingCalculatorOptions\x12M\n\tno_filter\x18\x01 \x01(\x0b\x32\x38.mediapipe.VisibilitySmoothingCalculatorOptions.NoFilterH\x00\x12X\n\x0flow_pass_filter\x18\x02 \x01(\x0b\x32=.mediapipe.VisibilitySmoothingCalculatorOptions.LowPassFilterH\x00\x1a\n\n\x08NoFilter\x1a#\n\rLowPassFilter\x12\x12\n\x05\x61lpha\x18\x01 \x01(\x02:\x03\x30.12^\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xf6\xa7\xe1\xab\x01 \x01(\x0b\x32/.mediapipe.VisibilitySmoothingCalculatorOptionsB\x10\n\x0e\x66ilter_options')
|
||||
,
|
||||
dependencies=[mediapipe_dot_framework_dot_calculator__options__pb2.DESCRIPTOR,])
|
||||
|
||||
|
||||
|
||||
|
||||
_VISIBILITYSMOOTHINGCALCULATOROPTIONS_NOFILTER = _descriptor.Descriptor(
|
||||
name='NoFilter',
|
||||
full_name='mediapipe.VisibilitySmoothingCalculatorOptions.NoFilter',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
],
|
||||
extensions=[
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=335,
|
||||
serialized_end=345,
|
||||
)
|
||||
|
||||
_VISIBILITYSMOOTHINGCALCULATOROPTIONS_LOWPASSFILTER = _descriptor.Descriptor(
|
||||
name='LowPassFilter',
|
||||
full_name='mediapipe.VisibilitySmoothingCalculatorOptions.LowPassFilter',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='alpha', full_name='mediapipe.VisibilitySmoothingCalculatorOptions.LowPassFilter.alpha', index=0,
|
||||
number=1, type=2, cpp_type=6, label=1,
|
||||
has_default_value=True, default_value=float(0.1),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=347,
|
||||
serialized_end=382,
|
||||
)
|
||||
|
||||
_VISIBILITYSMOOTHINGCALCULATOROPTIONS = _descriptor.Descriptor(
|
||||
name='VisibilitySmoothingCalculatorOptions',
|
||||
full_name='mediapipe.VisibilitySmoothingCalculatorOptions',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='no_filter', full_name='mediapipe.VisibilitySmoothingCalculatorOptions.no_filter', index=0,
|
||||
number=1, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='low_pass_filter', full_name='mediapipe.VisibilitySmoothingCalculatorOptions.low_pass_filter', index=1,
|
||||
number=2, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='ext', full_name='mediapipe.VisibilitySmoothingCalculatorOptions.ext', index=0,
|
||||
number=360207350, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=True, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
nested_types=[_VISIBILITYSMOOTHINGCALCULATOROPTIONS_NOFILTER, _VISIBILITYSMOOTHINGCALCULATOROPTIONS_LOWPASSFILTER, ],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto2',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
_descriptor.OneofDescriptor(
|
||||
name='filter_options', full_name='mediapipe.VisibilitySmoothingCalculatorOptions.filter_options',
|
||||
index=0, containing_type=None, fields=[]),
|
||||
],
|
||||
serialized_start=126,
|
||||
serialized_end=496,
|
||||
)
|
||||
|
||||
_VISIBILITYSMOOTHINGCALCULATOROPTIONS_NOFILTER.containing_type = _VISIBILITYSMOOTHINGCALCULATOROPTIONS
|
||||
_VISIBILITYSMOOTHINGCALCULATOROPTIONS_LOWPASSFILTER.containing_type = _VISIBILITYSMOOTHINGCALCULATOROPTIONS
|
||||
_VISIBILITYSMOOTHINGCALCULATOROPTIONS.fields_by_name['no_filter'].message_type = _VISIBILITYSMOOTHINGCALCULATOROPTIONS_NOFILTER
|
||||
_VISIBILITYSMOOTHINGCALCULATOROPTIONS.fields_by_name['low_pass_filter'].message_type = _VISIBILITYSMOOTHINGCALCULATOROPTIONS_LOWPASSFILTER
|
||||
_VISIBILITYSMOOTHINGCALCULATOROPTIONS.oneofs_by_name['filter_options'].fields.append(
|
||||
_VISIBILITYSMOOTHINGCALCULATOROPTIONS.fields_by_name['no_filter'])
|
||||
_VISIBILITYSMOOTHINGCALCULATOROPTIONS.fields_by_name['no_filter'].containing_oneof = _VISIBILITYSMOOTHINGCALCULATOROPTIONS.oneofs_by_name['filter_options']
|
||||
_VISIBILITYSMOOTHINGCALCULATOROPTIONS.oneofs_by_name['filter_options'].fields.append(
|
||||
_VISIBILITYSMOOTHINGCALCULATOROPTIONS.fields_by_name['low_pass_filter'])
|
||||
_VISIBILITYSMOOTHINGCALCULATOROPTIONS.fields_by_name['low_pass_filter'].containing_oneof = _VISIBILITYSMOOTHINGCALCULATOROPTIONS.oneofs_by_name['filter_options']
|
||||
DESCRIPTOR.message_types_by_name['VisibilitySmoothingCalculatorOptions'] = _VISIBILITYSMOOTHINGCALCULATOROPTIONS
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
VisibilitySmoothingCalculatorOptions = _reflection.GeneratedProtocolMessageType('VisibilitySmoothingCalculatorOptions', (_message.Message,), dict(
|
||||
|
||||
NoFilter = _reflection.GeneratedProtocolMessageType('NoFilter', (_message.Message,), dict(
|
||||
DESCRIPTOR = _VISIBILITYSMOOTHINGCALCULATOROPTIONS_NOFILTER,
|
||||
__module__ = 'mediapipe.calculators.util.visibility_smoothing_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.VisibilitySmoothingCalculatorOptions.NoFilter)
|
||||
))
|
||||
,
|
||||
|
||||
LowPassFilter = _reflection.GeneratedProtocolMessageType('LowPassFilter', (_message.Message,), dict(
|
||||
DESCRIPTOR = _VISIBILITYSMOOTHINGCALCULATOROPTIONS_LOWPASSFILTER,
|
||||
__module__ = 'mediapipe.calculators.util.visibility_smoothing_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.VisibilitySmoothingCalculatorOptions.LowPassFilter)
|
||||
))
|
||||
,
|
||||
DESCRIPTOR = _VISIBILITYSMOOTHINGCALCULATOROPTIONS,
|
||||
__module__ = 'mediapipe.calculators.util.visibility_smoothing_calculator_pb2'
|
||||
# @@protoc_insertion_point(class_scope:mediapipe.VisibilitySmoothingCalculatorOptions)
|
||||
))
|
||||
_sym_db.RegisterMessage(VisibilitySmoothingCalculatorOptions)
|
||||
_sym_db.RegisterMessage(VisibilitySmoothingCalculatorOptions.NoFilter)
|
||||
_sym_db.RegisterMessage(VisibilitySmoothingCalculatorOptions.LowPassFilter)
|
||||
|
||||
_VISIBILITYSMOOTHINGCALCULATOROPTIONS.extensions_by_name['ext'].message_type = _VISIBILITYSMOOTHINGCALCULATOROPTIONS
|
||||
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_VISIBILITYSMOOTHINGCALCULATOROPTIONS.extensions_by_name['ext'])
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
Reference in New Issue
Block a user