# Class VideoContext (2.20.0)

2.20.0 (latest) 2.19.0 2.18.0 2.17.0 2.16.2 2.15.0 2.14.1 2.13.5 2.12.0 2.11.4 2.10.1 2.9.0 2.8.3 2.7.1 2.6.1 2.5.1 2.4.0 2.3.3 2.2.0 2.1.0 2.0.0 1.16.3 1.15.0 1.14.0 1.13.0 1.12.1 1.11.0 1.10.0

    VideoContext(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Video context and/or feature-specific parameters.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `segments` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/videointelligence/latest/google.cloud.videointelligence_v1.types.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` | `https://docs.cloud.google.com/python/docs/reference/videointelligence/latest/google.cloud.videointelligence_v1.types.LabelDetectionConfig` Config for LABEL_DETECTION. |
| `shot_change_detection_config` | `https://docs.cloud.google.com/python/docs/reference/videointelligence/latest/google.cloud.videointelligence_v1.types.ShotChangeDetectionConfig` Config for SHOT_CHANGE_DETECTION. |
| `explicit_content_detection_config` | `https://docs.cloud.google.com/python/docs/reference/videointelligence/latest/google.cloud.videointelligence_v1.types.ExplicitContentDetectionConfig` Config for EXPLICIT_CONTENT_DETECTION. |
| `face_detection_config` | `https://docs.cloud.google.com/python/docs/reference/videointelligence/latest/google.cloud.videointelligence_v1.types.FaceDetectionConfig` Config for FACE_DETECTION. |
| `speech_transcription_config` | `https://docs.cloud.google.com/python/docs/reference/videointelligence/latest/google.cloud.videointelligence_v1.types.SpeechTranscriptionConfig` Config for SPEECH_TRANSCRIPTION. |
| `text_detection_config` | `https://docs.cloud.google.com/python/docs/reference/videointelligence/latest/google.cloud.videointelligence_v1.types.TextDetectionConfig` Config for TEXT_DETECTION. |
| `person_detection_config` | `https://docs.cloud.google.com/python/docs/reference/videointelligence/latest/google.cloud.videointelligence_v1.types.PersonDetectionConfig` Config for PERSON_DETECTION. |
| `object_tracking_config` | `https://docs.cloud.google.com/python/docs/reference/videointelligence/latest/google.cloud.videointelligence_v1.types.ObjectTrackingConfig` Config for OBJECT_TRACKING. |