Class: Google::Apis::LanguageV1beta2::XpsVideoObjectTrackingEvaluationMetrics

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/language_v1beta2/classes.rb,
lib/google/apis/language_v1beta2/representations.rb,
lib/google/apis/language_v1beta2/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.



5241
5242
5243
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5241

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)


5194
5195
5196
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5194

def bounding_box_mean_average_precision
  @bounding_box_mean_average_precision
end

#bounding_box_metrics_entriesArray<Google::Apis::LanguageV1beta2::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



5200
5201
5202
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5200

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)


5205
5206
5207
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5205

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)


5210
5211
5212
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5210

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)


5215
5216
5217
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5215

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)


5221
5222
5223
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5221

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)


5227
5228
5229
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5227

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)


5233
5234
5235
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5233

def track_mean_mismatch_rate
  @track_mean_mismatch_rate
end

#track_metrics_entriesArray<Google::Apis::LanguageV1beta2::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



5239
5240
5241
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5239

def track_metrics_entries
  @track_metrics_entries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5246

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