Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class ObjectDetectionConfig.
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.
Generated from protobuf message google.cloud.datalabeling.v1beta1.ObjectDetectionConfig
Namespace
Google \ Cloud \ DataLabeling \ V1beta1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ annotation_spec_set |
string
Required. Annotation spec set resource name. |
↳ extraction_frame_rate |
float
Required. Number of frames per second to be extracted from the video. |
getAnnotationSpecSet
Required. Annotation spec set resource name.
Returns | |
---|---|
Type | Description |
string |
setAnnotationSpecSet
Required. Annotation spec set resource name.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getExtractionFrameRate
Required. Number of frames per second to be extracted from the video.
Returns | |
---|---|
Type | Description |
float |
setExtractionFrameRate
Required. Number of frames per second to be extracted from the video.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |