Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectDetectionConfig
- Inherits:
-
Object
- Object
- Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectDetectionConfig
- 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
Config for video object detection human labeling task. Object detection will be conducted on the images extracted from the video, and those objects will be labeled with bounding boxes. User need to specify the number of images to be extracted per second as the extraction frame rate.
Instance Attribute Summary collapse
-
#annotation_spec_set ⇒ String
Required.
-
#extraction_frame_rate ⇒ Float
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1ObjectDetectionConfig
constructor
A new instance of GoogleCloudDatalabelingV1beta1ObjectDetectionConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1ObjectDetectionConfig
Returns a new instance of GoogleCloudDatalabelingV1beta1ObjectDetectionConfig.
3749 3750 3751 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3749 def initialize(**args) update!(**args) end |
Instance Attribute Details
#annotation_spec_set ⇒ String
Required. Annotation spec set resource name.
Corresponds to the JSON property annotationSpecSet
3742 3743 3744 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3742 def annotation_spec_set @annotation_spec_set end |
#extraction_frame_rate ⇒ Float
Required. Number of frames per second to be extracted from the video.
Corresponds to the JSON property extractionFrameRate
3747 3748 3749 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3747 def extraction_frame_rate @extraction_frame_rate end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3754 3755 3756 3757 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3754 def update!(**args) @annotation_spec_set = args[:annotation_spec_set] if args.key?(:annotation_spec_set) @extraction_frame_rate = args[:extraction_frame_rate] if args.key?(:extraction_frame_rate) end |