Class: Google::Apis::LanguageV1::XpsVideoObjectTrackingEvaluationMetrics

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



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

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)


5179
5180
5181
# File 'lib/google/apis/language_v1/classes.rb', line 5179

def bounding_box_mean_average_precision
  @bounding_box_mean_average_precision
end

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



5185
5186
5187
# File 'lib/google/apis/language_v1/classes.rb', line 5185

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)


5190
5191
5192
# File 'lib/google/apis/language_v1/classes.rb', line 5190

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)


5195
5196
5197
# File 'lib/google/apis/language_v1/classes.rb', line 5195

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)


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

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)


5206
5207
5208
# File 'lib/google/apis/language_v1/classes.rb', line 5206

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)


5212
5213
5214
# File 'lib/google/apis/language_v1/classes.rb', line 5212

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)


5218
5219
5220
# File 'lib/google/apis/language_v1/classes.rb', line 5218

def track_mean_mismatch_rate
  @track_mean_mismatch_rate
end

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



5224
5225
5226
# File 'lib/google/apis/language_v1/classes.rb', line 5224

def track_metrics_entries
  @track_metrics_entries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
# File 'lib/google/apis/language_v1/classes.rb', line 5231

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