# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: src/vision/proto/vision_output.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 FireSpark.protos.src.common.time import time_pb2 as src_dot_common_dot_time_dot_time__pb2
from FireSpark.protos.src.common.math.proto import bbox_pb2 as src_dot_common_dot_math_dot_proto_dot_bbox__pb2
from FireSpark.protos.src.perception.proto import perception_labels_pb2 as src_dot_perception_dot_proto_dot_perception__labels__pb2
from FireSpark.protos.src.sensor.camera.proto import image_pb2 as src_dot_sensor_dot_camera_dot_proto_dot_image__pb2
from FireSpark.protos.src.perception.proto import latency_pb2 as src_dot_perception_dot_proto_dot_latency__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='src/vision/proto/vision_output.proto',
  package='avsoftware.perception',
  syntax='proto3',
  serialized_options=None,
  serialized_pb=_b('\n$src/vision/proto/vision_output.proto\x12\x15\x61vsoftware.perception\x1a\x1asrc/common/time/time.proto\x1a src/common/math/proto/bbox.proto\x1a,src/perception/proto/perception_labels.proto\x1a#src/sensor/camera/proto/image.proto\x1a\"src/perception/proto/latency.proto\"\xdf\x02\n\x11VisionOutputProto\x12:\n\x05\x62oxes\x18\x01 \x03(\x0b\x32+.avsoftware.perception.VisionDetectionProto\x12#\n\x04time\x18\x02 \x01(\x0b\x32\x15.avsoftware.TimeProto\x12\x11\n\tcamera_id\x18\x03 \x01(\t\x12\x1d\n\x15image_width_in_pixels\x18\x04 \x01(\x05\x12\x1e\n\x16image_height_in_pixels\x18\x05 \x01(\x05\x12Q\n\x11\x63omponent_latency\x18\x07 \x01(\x0b\x32\x32.avsoftware.perception.VisionComponentLatencyProtoB\x02\x18\x01\x12>\n\x07latency\x18\x08 \x01(\x0b\x32-.avsoftware.perception.PerceptionLatencyProtoJ\x04\x08\x06\x10\x07\"\xbe\x02\n\x14VisionDetectionProto\x12+\n\x03\x62ox\x18\x01 \x01(\x0b\x32\x1e.avsoftware.common.AABB2dProto\x12\x35\n\x05label\x18\x02 \x01(\x0e\x32&.avsoftware.perception.PerceptionLabel\x12\x10\n\x08track_id\x18\x03 \x01(\x03\x12G\n\x11vision_descriptor\x18\x04 \x01(\x0b\x32,.avsoftware.perception.VisionDescriptorProto\x12>\n\nattributes\x18\x05 \x03(\x0e\x32*.avsoftware.perception.PerceptionAttribute\x12\x18\n\x10\x61ttribute_scores\x18\x06 \x03(\x02\x12\r\n\x05score\x18\x07 \x01(\x01\"\xee\x01\n\x15VisionDescriptorProto\x12\x1c\n\x14similarity_threshold\x18\x01 \x01(\x02\x12\x17\n\x0b\x64\x65scriptors\x18\x02 \x03(\x02\x42\x02\x10\x01\x12X\n\x0fsimilarity_func\x18\x03 \x01(\x0e\x32?.avsoftware.perception.VisionDescriptorProto.SimilarityFunction\"D\n\x12SimilarityFunction\x12\x19\n\x15SUM_OF_ABS_DIFFERENCE\x10\x00\x12\x13\n\x0f\x43OSINE_DISTANCE\x10\x01\"\xd2\x01\n\x1bVisionComponentLatencyProto\x12\x1c\n\x14\x64\x65tector_duration_ms\x18\x01 \x01(\x02\x12\x1e\n\x16\x64\x65scriptor_duration_ms\x18\x02 \x01(\x02\x12,\n$image_capture_to_recieve_duration_ms\x18\x03 \x01(\x02\x12 \n\x18image_decode_duration_ms\x18\x04 \x01(\x02\x12!\n\x19vision_service_latency_ms\x18\x05 \x01(\x02:\x02\x18\x01\x62\x06proto3')
  ,
  dependencies=[src_dot_common_dot_time_dot_time__pb2.DESCRIPTOR,src_dot_common_dot_math_dot_proto_dot_bbox__pb2.DESCRIPTOR,src_dot_perception_dot_proto_dot_perception__labels__pb2.DESCRIPTOR,src_dot_sensor_dot_camera_dot_proto_dot_image__pb2.DESCRIPTOR,src_dot_perception_dot_proto_dot_latency__pb2.DESCRIPTOR,])



_VISIONDESCRIPTORPROTO_SIMILARITYFUNCTION = _descriptor.EnumDescriptor(
  name='SimilarityFunction',
  full_name='avsoftware.perception.VisionDescriptorProto.SimilarityFunction',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='SUM_OF_ABS_DIFFERENCE', index=0, number=0,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='COSINE_DISTANCE', index=1, number=1,
      serialized_options=None,
      type=None),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=1090,
  serialized_end=1158,
)
_sym_db.RegisterEnumDescriptor(_VISIONDESCRIPTORPROTO_SIMILARITYFUNCTION)


_VISIONOUTPUTPROTO = _descriptor.Descriptor(
  name='VisionOutputProto',
  full_name='avsoftware.perception.VisionOutputProto',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='boxes', full_name='avsoftware.perception.VisionOutputProto.boxes', 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='time', full_name='avsoftware.perception.VisionOutputProto.time', 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='camera_id', full_name='avsoftware.perception.VisionOutputProto.camera_id', 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),
    _descriptor.FieldDescriptor(
      name='image_width_in_pixels', full_name='avsoftware.perception.VisionOutputProto.image_width_in_pixels', 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='image_height_in_pixels', full_name='avsoftware.perception.VisionOutputProto.image_height_in_pixels', index=4,
      number=5, 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='component_latency', full_name='avsoftware.perception.VisionOutputProto.component_latency', index=5,
      number=7, 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=_b('\030\001'), file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='latency', full_name='avsoftware.perception.VisionOutputProto.latency', index=6,
      number=8, 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=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=245,
  serialized_end=596,
)


_VISIONDETECTIONPROTO = _descriptor.Descriptor(
  name='VisionDetectionProto',
  full_name='avsoftware.perception.VisionDetectionProto',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='box', full_name='avsoftware.perception.VisionDetectionProto.box', 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='label', full_name='avsoftware.perception.VisionDetectionProto.label', index=1,
      number=2, 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='track_id', full_name='avsoftware.perception.VisionDetectionProto.track_id', index=2,
      number=3, 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='vision_descriptor', full_name='avsoftware.perception.VisionDetectionProto.vision_descriptor', 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='attributes', full_name='avsoftware.perception.VisionDetectionProto.attributes', index=4,
      number=5, type=14, cpp_type=8, 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='attribute_scores', full_name='avsoftware.perception.VisionDetectionProto.attribute_scores', index=5,
      number=6, type=2, cpp_type=6, 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='score', full_name='avsoftware.perception.VisionDetectionProto.score', index=6,
      number=7, 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=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=599,
  serialized_end=917,
)


_VISIONDESCRIPTORPROTO = _descriptor.Descriptor(
  name='VisionDescriptorProto',
  full_name='avsoftware.perception.VisionDescriptorProto',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='similarity_threshold', full_name='avsoftware.perception.VisionDescriptorProto.similarity_threshold', index=0,
      number=1, 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='descriptors', full_name='avsoftware.perception.VisionDescriptorProto.descriptors', index=1,
      number=2, type=2, cpp_type=6, 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=_b('\020\001'), file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='similarity_func', full_name='avsoftware.perception.VisionDescriptorProto.similarity_func', index=2,
      number=3, 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=[
  ],
  nested_types=[],
  enum_types=[
    _VISIONDESCRIPTORPROTO_SIMILARITYFUNCTION,
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=920,
  serialized_end=1158,
)


_VISIONCOMPONENTLATENCYPROTO = _descriptor.Descriptor(
  name='VisionComponentLatencyProto',
  full_name='avsoftware.perception.VisionComponentLatencyProto',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='detector_duration_ms', full_name='avsoftware.perception.VisionComponentLatencyProto.detector_duration_ms', index=0,
      number=1, 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='descriptor_duration_ms', full_name='avsoftware.perception.VisionComponentLatencyProto.descriptor_duration_ms', 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='image_capture_to_recieve_duration_ms', full_name='avsoftware.perception.VisionComponentLatencyProto.image_capture_to_recieve_duration_ms', 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='image_decode_duration_ms', full_name='avsoftware.perception.VisionComponentLatencyProto.image_decode_duration_ms', 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='vision_service_latency_ms', full_name='avsoftware.perception.VisionComponentLatencyProto.vision_service_latency_ms', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=_b('\030\001'),
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1161,
  serialized_end=1371,
)

_VISIONOUTPUTPROTO.fields_by_name['boxes'].message_type = _VISIONDETECTIONPROTO
_VISIONOUTPUTPROTO.fields_by_name['time'].message_type = src_dot_common_dot_time_dot_time__pb2._TIMEPROTO
_VISIONOUTPUTPROTO.fields_by_name['component_latency'].message_type = _VISIONCOMPONENTLATENCYPROTO
_VISIONOUTPUTPROTO.fields_by_name['latency'].message_type = src_dot_perception_dot_proto_dot_latency__pb2._PERCEPTIONLATENCYPROTO
_VISIONDETECTIONPROTO.fields_by_name['box'].message_type = src_dot_common_dot_math_dot_proto_dot_bbox__pb2._AABB2DPROTO
_VISIONDETECTIONPROTO.fields_by_name['label'].enum_type = src_dot_perception_dot_proto_dot_perception__labels__pb2._PERCEPTIONLABEL
_VISIONDETECTIONPROTO.fields_by_name['vision_descriptor'].message_type = _VISIONDESCRIPTORPROTO
_VISIONDETECTIONPROTO.fields_by_name['attributes'].enum_type = src_dot_perception_dot_proto_dot_perception__labels__pb2._PERCEPTIONATTRIBUTE
_VISIONDESCRIPTORPROTO.fields_by_name['similarity_func'].enum_type = _VISIONDESCRIPTORPROTO_SIMILARITYFUNCTION
_VISIONDESCRIPTORPROTO_SIMILARITYFUNCTION.containing_type = _VISIONDESCRIPTORPROTO
DESCRIPTOR.message_types_by_name['VisionOutputProto'] = _VISIONOUTPUTPROTO
DESCRIPTOR.message_types_by_name['VisionDetectionProto'] = _VISIONDETECTIONPROTO
DESCRIPTOR.message_types_by_name['VisionDescriptorProto'] = _VISIONDESCRIPTORPROTO
DESCRIPTOR.message_types_by_name['VisionComponentLatencyProto'] = _VISIONCOMPONENTLATENCYPROTO
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

VisionOutputProto = _reflection.GeneratedProtocolMessageType('VisionOutputProto', (_message.Message,), dict(
  DESCRIPTOR = _VISIONOUTPUTPROTO,
  __module__ = 'src.vision.proto.vision_output_pb2'
  # @@protoc_insertion_point(class_scope:avsoftware.perception.VisionOutputProto)
  ))
_sym_db.RegisterMessage(VisionOutputProto)

VisionDetectionProto = _reflection.GeneratedProtocolMessageType('VisionDetectionProto', (_message.Message,), dict(
  DESCRIPTOR = _VISIONDETECTIONPROTO,
  __module__ = 'src.vision.proto.vision_output_pb2'
  # @@protoc_insertion_point(class_scope:avsoftware.perception.VisionDetectionProto)
  ))
_sym_db.RegisterMessage(VisionDetectionProto)

VisionDescriptorProto = _reflection.GeneratedProtocolMessageType('VisionDescriptorProto', (_message.Message,), dict(
  DESCRIPTOR = _VISIONDESCRIPTORPROTO,
  __module__ = 'src.vision.proto.vision_output_pb2'
  # @@protoc_insertion_point(class_scope:avsoftware.perception.VisionDescriptorProto)
  ))
_sym_db.RegisterMessage(VisionDescriptorProto)

VisionComponentLatencyProto = _reflection.GeneratedProtocolMessageType('VisionComponentLatencyProto', (_message.Message,), dict(
  DESCRIPTOR = _VISIONCOMPONENTLATENCYPROTO,
  __module__ = 'src.vision.proto.vision_output_pb2'
  # @@protoc_insertion_point(class_scope:avsoftware.perception.VisionComponentLatencyProto)
  ))
_sym_db.RegisterMessage(VisionComponentLatencyProto)


_VISIONOUTPUTPROTO.fields_by_name['component_latency']._options = None
_VISIONDESCRIPTORPROTO.fields_by_name['descriptors']._options = None
_VISIONCOMPONENTLATENCYPROTO._options = None
# @@protoc_insertion_point(module_scope)
