Reference documentation and code samples for the Cloud Video Intelligence V1 Client class VideoContext.
Video context and/or feature-specific parameters.
Generated from protobuf message google.cloud.videointelligence.v1.VideoContext
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ segments
array< Google\Cloud\VideoIntelligence\V1\VideoSegment
>
Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
↳ label_detection_config
↳ shot_change_detection_config
↳ explicit_content_detection_config
Google\Cloud\VideoIntelligence\V1\ExplicitContentDetectionConfig
Config for EXPLICIT_CONTENT_DETECTION.
↳ face_detection_config
↳ speech_transcription_config
↳ text_detection_config
↳ person_detection_config
↳ object_tracking_config
getSegments
Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
setSegments
Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.
$this
getLabelDetectionConfig
Config for LABEL_DETECTION.
hasLabelDetectionConfig
clearLabelDetectionConfig
setLabelDetectionConfig
Config for LABEL_DETECTION.
$this
getShotChangeDetectionConfig
Config for SHOT_CHANGE_DETECTION.
hasShotChangeDetectionConfig
clearShotChangeDetectionConfig
setShotChangeDetectionConfig
Config for SHOT_CHANGE_DETECTION.
$this
getExplicitContentDetectionConfig
Config for EXPLICIT_CONTENT_DETECTION.
hasExplicitContentDetectionConfig
clearExplicitContentDetectionConfig
setExplicitContentDetectionConfig
Config for EXPLICIT_CONTENT_DETECTION.
$this
getFaceDetectionConfig
Config for FACE_DETECTION.
hasFaceDetectionConfig
clearFaceDetectionConfig
setFaceDetectionConfig
Config for FACE_DETECTION.
$this
getSpeechTranscriptionConfig
Config for SPEECH_TRANSCRIPTION.
hasSpeechTranscriptionConfig
clearSpeechTranscriptionConfig
setSpeechTranscriptionConfig
Config for SPEECH_TRANSCRIPTION.
$this
getTextDetectionConfig
Config for TEXT_DETECTION.
hasTextDetectionConfig
clearTextDetectionConfig
setTextDetectionConfig
Config for TEXT_DETECTION.
$this
getPersonDetectionConfig
Config for PERSON_DETECTION.
hasPersonDetectionConfig
clearPersonDetectionConfig
setPersonDetectionConfig
Config for PERSON_DETECTION.
$this
getObjectTrackingConfig
Config for OBJECT_TRACKING.
hasObjectTrackingConfig
clearObjectTrackingConfig
setObjectTrackingConfig
Config for OBJECT_TRACKING.
$this