# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/automl/v1/detection.proto require 'google/cloud/automl/v1/geometry_pb' require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/automl/v1/detection.proto", :syntax => :proto3) do add_message "google.cloud.automl.v1.ImageObjectDetectionAnnotation" do optional :bounding_box, :message, 1, "google.cloud.automl.v1.BoundingPoly" optional :score, :float, 2 end add_message "google.cloud.automl.v1.BoundingBoxMetricsEntry" do optional :iou_threshold, :float, 1 optional :mean_average_precision, :float, 2 repeated :confidence_metrics_entries, :message, 3, "google.cloud.automl.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry" end add_message "google.cloud.automl.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry" do optional :confidence_threshold, :float, 1 optional :recall, :float, 2 optional :precision, :float, 3 optional :f1_score, :float, 4 end add_message "google.cloud.automl.v1.ImageObjectDetectionEvaluationMetrics" do optional :evaluated_bounding_box_count, :int32, 1 repeated :bounding_box_metrics_entries, :message, 2, "google.cloud.automl.v1.BoundingBoxMetricsEntry" optional :bounding_box_mean_average_precision, :float, 3 end end end module Google module Cloud module AutoML module V1 ImageObjectDetectionAnnotation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.automl.v1.ImageObjectDetectionAnnotation").msgclass BoundingBoxMetricsEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.automl.v1.BoundingBoxMetricsEntry").msgclass BoundingBoxMetricsEntry::ConfidenceMetricsEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.automl.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry").msgclass ImageObjectDetectionEvaluationMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.automl.v1.ImageObjectDetectionEvaluationMetrics").msgclass end end end end