Reference documentation and code samples for the AI Platform Data Labeling Service V1beta1 API class Google::Cloud::DataLabeling::V1beta1::BoundingBoxEvaluationOptions.
Options regarding evaluation between bounding boxes.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#iou_threshold
defiou_threshold()->::Float
Returns
(::Float) โ Minimum
[intersection-over-union
(IOU)](/vision/automl/object-detection/docs/evaluate#intersection-over-union)
required for 2 bounding boxes to be considered a match. This must be a
number between 0 and 1.
#iou_threshold=
defiou_threshold=(value)->::Float
Parameter
value (::Float) โ Minimum
[intersection-over-union
(IOU)](/vision/automl/object-detection/docs/evaluate#intersection-over-union)
required for 2 bounding boxes to be considered a match. This must be a
number between 0 and 1.
Returns
(::Float) โ Minimum
[intersection-over-union
(IOU)](/vision/automl/object-detection/docs/evaluate#intersection-over-union)
required for 2 bounding boxes to be considered a match. This must be a
number between 0 and 1.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# AI Platform Data Labeling Service V1beta1 API - Class Google::Cloud::DataLabeling::V1beta1::BoundingBoxEvaluationOptions (v0.11.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.11.1 (latest)](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-BoundingBoxEvaluationOptions)\n- [0.11.0](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/0.11.0/Google-Cloud-DataLabeling-V1beta1-BoundingBoxEvaluationOptions)\n- [0.10.1](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/0.10.1/Google-Cloud-DataLabeling-V1beta1-BoundingBoxEvaluationOptions)\n- [0.9.0](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/0.9.0/Google-Cloud-DataLabeling-V1beta1-BoundingBoxEvaluationOptions)\n- [0.8.1](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/0.8.1/Google-Cloud-DataLabeling-V1beta1-BoundingBoxEvaluationOptions)\n- [0.7.2](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/0.7.2/Google-Cloud-DataLabeling-V1beta1-BoundingBoxEvaluationOptions)\n- [0.6.0](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/0.6.0/Google-Cloud-DataLabeling-V1beta1-BoundingBoxEvaluationOptions)\n- [0.5.0](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/0.5.0/Google-Cloud-DataLabeling-V1beta1-BoundingBoxEvaluationOptions)\n- [0.4.0](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/0.4.0/Google-Cloud-DataLabeling-V1beta1-BoundingBoxEvaluationOptions)\n- [0.3.5](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/0.3.5/Google-Cloud-DataLabeling-V1beta1-BoundingBoxEvaluationOptions) \nReference documentation and code samples for the AI Platform Data Labeling Service V1beta1 API class Google::Cloud::DataLabeling::V1beta1::BoundingBoxEvaluationOptions.\n\nOptions regarding evaluation between bounding boxes. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #iou_threshold\n\n def iou_threshold() -\u003e ::Float\n\n**Returns**\n\n- (::Float) --- Minimum \\[intersection-over-union\n\n (IOU)\\](/vision/automl/object-detection/docs/evaluate#intersection-over-union)\n required for 2 bounding boxes to be considered a match. This must be a\n number between 0 and 1.\n\n### #iou_threshold=\n\n def iou_threshold=(value) -\u003e ::Float\n\n**Parameter**\n\n- **value** (::Float) --- Minimum \\[intersection-over-union\n\n\n (IOU)\\](/vision/automl/object-detection/docs/evaluate#intersection-over-union)\n required for 2 bounding boxes to be considered a match. This must be a\nnumber between 0 and 1. \n**Returns**\n\n- (::Float) --- Minimum \\[intersection-over-union\n\n (IOU)\\](/vision/automl/object-detection/docs/evaluate#intersection-over-union)\n required for 2 bounding boxes to be considered a match. This must be a\n number between 0 and 1."]]