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.



5246
5247
5248
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5246

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)


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

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



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

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

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



5244
5245
5246
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5244

def track_metrics_entries
  @track_metrics_entries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5251

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