Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions
- Inherits:
-
Object
- Object
- Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/datalabeling_v1beta1/classes.rb,
generated/google/apis/datalabeling_v1beta1/representations.rb,
generated/google/apis/datalabeling_v1beta1/representations.rb
Overview
Options regarding evaluation between bounding boxes.
Instance Attribute Summary collapse
-
#iou_threshold ⇒ Float
Minimum intersection-over-union (IOU) required for 2 bounding boxes to be considered a match.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions
constructor
A new instance of GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions
Returns a new instance of GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions.
1215 1216 1217 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1215 def initialize(**args) update!(**args) end |
Instance Attribute Details
#iou_threshold ⇒ Float
Minimum intersection-over-union (IOU) required for 2 bounding boxes to be
considered a match. This must be a number between 0 and 1.
Corresponds to the JSON property iouThreshold
1213 1214 1215 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1213 def iou_threshold @iou_threshold end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1220 1221 1222 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1220 def update!(**args) @iou_threshold = args[:iou_threshold] if args.key?(:iou_threshold) end |