Class: Google::Apis::LanguageV2::XpsVideoObjectTrackingEvaluationMetrics

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/language_v2/classes.rb,
lib/google/apis/language_v2/representations.rb,
lib/google/apis/language_v2/representations.rb

Overview

Model evaluation metrics for ObjectTracking problems. Next tag: 10.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsVideoObjectTrackingEvaluationMetrics

Returns a new instance of XpsVideoObjectTrackingEvaluationMetrics.



4941
4942
4943
# File 'lib/google/apis/language_v2/classes.rb', line 4941

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#bounding_box_mean_average_precisionFloat

Output only. The single metric for bounding boxes evaluation: the mean_average_precision averaged over all bounding_box_metrics_entries. Corresponds to the JSON property boundingBoxMeanAveragePrecision

Returns:

  • (Float)


4894
4895
4896
# File 'lib/google/apis/language_v2/classes.rb', line 4894

def bounding_box_mean_average_precision
  @bounding_box_mean_average_precision
end

#bounding_box_metrics_entriesArray<Google::Apis::LanguageV2::XpsBoundingBoxMetricsEntry>

Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Corresponds to the JSON property boundingBoxMetricsEntries



4900
4901
4902
# File 'lib/google/apis/language_v2/classes.rb', line 4900

def bounding_box_metrics_entries
  @bounding_box_metrics_entries
end

#evaluated_boundingbox_countFixnum

The number of bounding boxes used for model evaluation. Corresponds to the JSON property evaluatedBoundingboxCount

Returns:

  • (Fixnum)


4905
4906
4907
# File 'lib/google/apis/language_v2/classes.rb', line 4905

def evaluated_boundingbox_count
  @evaluated_boundingbox_count
end

#evaluated_frame_countFixnum

The number of video frames used for model evaluation. Corresponds to the JSON property evaluatedFrameCount

Returns:

  • (Fixnum)


4910
4911
4912
# File 'lib/google/apis/language_v2/classes.rb', line 4910

def evaluated_frame_count
  @evaluated_frame_count
end

#evaluated_track_countFixnum

The number of tracks used for model evaluation. Corresponds to the JSON property evaluatedTrackCount

Returns:

  • (Fixnum)


4915
4916
4917
# File 'lib/google/apis/language_v2/classes.rb', line 4915

def evaluated_track_count
  @evaluated_track_count
end

#track_mean_average_precisionFloat

Output only. The single metric for tracks accuracy evaluation: the mean_average_precision averaged over all track_metrics_entries. Corresponds to the JSON property trackMeanAveragePrecision

Returns:

  • (Float)


4921
4922
4923
# File 'lib/google/apis/language_v2/classes.rb', line 4921

def track_mean_average_precision
  @track_mean_average_precision
end

#track_mean_bounding_box_iouFloat

Output only. The single metric for tracks bounding box iou evaluation: the mean_bounding_box_iou averaged over all track_metrics_entries. Corresponds to the JSON property trackMeanBoundingBoxIou

Returns:

  • (Float)


4927
4928
4929
# File 'lib/google/apis/language_v2/classes.rb', line 4927

def track_mean_bounding_box_iou
  @track_mean_bounding_box_iou
end

#track_mean_mismatch_rateFloat

Output only. The single metric for tracking consistency evaluation: the mean_mismatch_rate averaged over all track_metrics_entries. Corresponds to the JSON property trackMeanMismatchRate

Returns:

  • (Float)


4933
4934
4935
# File 'lib/google/apis/language_v2/classes.rb', line 4933

def track_mean_mismatch_rate
  @track_mean_mismatch_rate
end

#track_metrics_entriesArray<Google::Apis::LanguageV2::XpsTrackMetricsEntry>

Output only. The tracks match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Corresponds to the JSON property trackMetricsEntries



4939
4940
4941
# File 'lib/google/apis/language_v2/classes.rb', line 4939

def track_metrics_entries
  @track_metrics_entries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
# File 'lib/google/apis/language_v2/classes.rb', line 4946

def update!(**args)
  @bounding_box_mean_average_precision = args[:bounding_box_mean_average_precision] if args.key?(:bounding_box_mean_average_precision)
  @bounding_box_metrics_entries = args[:bounding_box_metrics_entries] if args.key?(:bounding_box_metrics_entries)
  @evaluated_boundingbox_count = args[:evaluated_boundingbox_count] if args.key?(:evaluated_boundingbox_count)
  @evaluated_frame_count = args[:evaluated_frame_count] if args.key?(:evaluated_frame_count)
  @evaluated_track_count = args[:evaluated_track_count] if args.key?(:evaluated_track_count)
  @track_mean_average_precision = args[:track_mean_average_precision] if args.key?(:track_mean_average_precision)
  @track_mean_bounding_box_iou = args[:track_mean_bounding_box_iou] if args.key?(:track_mean_bounding_box_iou)
  @track_mean_mismatch_rate = args[:track_mean_mismatch_rate] if args.key?(:track_mean_mismatch_rate)
  @track_metrics_entries = args[:track_metrics_entries] if args.key?(:track_metrics_entries)
end