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.



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

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)


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

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



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

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

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



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

def track_metrics_entries
  @track_metrics_entries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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