Google Cloud Datalabeling V1beta1 Client - Class ObjectDetectionConfig (0.5.0)

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 \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setAnnotationSpecSet

Required. Annotation spec set resource name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getExtractionFrameRate

Required. Number of frames per second to be extracted from the video.

Returns
TypeDescription
float

setExtractionFrameRate

Required. Number of frames per second to be extracted from the video.

Parameter
NameDescription
var float
Returns
TypeDescription
$this