# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: mediapipe/calculators/util/detections_to_rects_calculator.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
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_pool.Default().AddSerializedFile(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')



_DETECTIONSTORECTSCALCULATOROPTIONS = DESCRIPTOR.message_types_by_name['DetectionsToRectsCalculatorOptions']
_DETECTIONSTORECTSCALCULATOROPTIONS_CONVERSIONMODE = _DETECTIONSTORECTSCALCULATOROPTIONS.enum_types_by_name['ConversionMode']
DetectionsToRectsCalculatorOptions = _reflection.GeneratedProtocolMessageType('DetectionsToRectsCalculatorOptions', (_message.Message,), {
  'DESCRIPTOR' : _DETECTIONSTORECTSCALCULATOROPTIONS,
  '__module__' : 'mediapipe.calculators.util.detections_to_rects_calculator_pb2'
  # @@protoc_insertion_point(class_scope:mediapipe.DetectionsToRectsCalculatorOptions)
  })
_sym_db.RegisterMessage(DetectionsToRectsCalculatorOptions)

if _descriptor._USE_C_DESCRIPTORS == False:
  mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_DETECTIONSTORECTSCALCULATOROPTIONS.extensions_by_name['ext'])

  DESCRIPTOR._options = None
  _DETECTIONSTORECTSCALCULATOROPTIONS._serialized_start=117
  _DETECTIONSTORECTSCALCULATOROPTIONS._serialized_end=626
  _DETECTIONSTORECTSCALCULATOROPTIONS_CONVERSIONMODE._serialized_start=463
  _DETECTIONSTORECTSCALCULATOROPTIONS_CONVERSIONMODE._serialized_end=533
# @@protoc_insertion_point(module_scope)
