Send feedback
Class VideoClassificationAnnotation (2.16.4)
bookmark_border bookmark
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
VideoClassificationAnnotation (
mapping = None , * , ignore_unknown_fields = False , ** kwargs
)
Contains annotation details specific to video classification.
Attributes
Name
Description
type_
str
Output only. Expresses the type of video classification.
Possible values:
- segment
- Classification done on a specified by user
time segment of a video. AnnotationSpec is answered to be
present in that time segment, if it is present in any
part of it. The video ML model evaluations are done only
for this type of classification.
- shot
- Shot-level classification. AutoML Video
Intelligence determines the boundaries for each camera
shot in the entire segment of the video that user
specified in the request configuration. AutoML Video
Intelligence then returns labels and their confidence
scores for each detected shot, along with the start and
end time of the shot. WARNING: Model evaluation is not
done for this classification type, the quality of it
depends on training data, but there are no metrics
provided to describe that quality.
- 1s_interval
- AutoML Video Intelligence returns
labels and their confidence scores for each second of the
entire segment of the video that user specified in the
request configuration. WARNING: Model evaluation is not
done for this classification type, the quality of it
depends on training data, but there are no metrics
provided to describe that quality.
classification_annotation
google.cloud.automl_v1beta1.types.ClassificationAnnotation
Output only . The classification details of
this annotation.
time_segment
google.cloud.automl_v1beta1.types.TimeSegment
Output only . The time segment of the video
to which the annotation applies.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class VideoClassificationAnnotation (2.16.4)\n\nVersion latestkeyboard_arrow_down\n\n- [2.16.4 (latest)](/python/docs/reference/automl/latest/google.cloud.automl_v1beta1.types.VideoClassificationAnnotation)\n- [2.16.3](/python/docs/reference/automl/2.16.3/google.cloud.automl_v1beta1.types.VideoClassificationAnnotation)\n- [2.15.0](/python/docs/reference/automl/2.15.0/google.cloud.automl_v1beta1.types.VideoClassificationAnnotation)\n- [2.14.1](/python/docs/reference/automl/2.14.1/google.cloud.automl_v1beta1.types.VideoClassificationAnnotation)\n- [2.13.5](/python/docs/reference/automl/2.13.5/google.cloud.automl_v1beta1.types.VideoClassificationAnnotation)\n- [2.12.0](/python/docs/reference/automl/2.12.0/google.cloud.automl_v1beta1.types.VideoClassificationAnnotation)\n- [2.11.4](/python/docs/reference/automl/2.11.4/google.cloud.automl_v1beta1.types.VideoClassificationAnnotation)\n- [2.10.1](/python/docs/reference/automl/2.10.1/google.cloud.automl_v1beta1.types.VideoClassificationAnnotation)\n- [2.9.0](/python/docs/reference/automl/2.9.0/google.cloud.automl_v1beta1.types.VideoClassificationAnnotation)\n- [2.8.3](/python/docs/reference/automl/2.8.3/google.cloud.automl_v1beta1.types.VideoClassificationAnnotation)\n- [2.7.3](/python/docs/reference/automl/2.7.3/google.cloud.automl_v1beta1.types.VideoClassificationAnnotation)\n- [2.6.0](/python/docs/reference/automl/2.6.0/google.cloud.automl_v1beta1.types.VideoClassificationAnnotation)\n- [2.5.2](/python/docs/reference/automl/2.5.2/google.cloud.automl_v1beta1.types.VideoClassificationAnnotation)\n- [2.4.2](/python/docs/reference/automl/2.4.2/google.cloud.automl_v1beta1.types.VideoClassificationAnnotation)\n- [2.3.0](/python/docs/reference/automl/2.3.0/google.cloud.automl_v1beta1.types.VideoClassificationAnnotation)\n- [2.2.0](/python/docs/reference/automl/2.2.0/google.cloud.automl_v1beta1.types.VideoClassificationAnnotation)\n- [2.1.0](/python/docs/reference/automl/2.1.0/google.cloud.automl_v1beta1.types.VideoClassificationAnnotation)\n- [2.0.0](/python/docs/reference/automl/2.0.0/google.cloud.automl_v1beta1.types.VideoClassificationAnnotation)\n- [1.0.3](/python/docs/reference/automl/1.0.3/google.cloud.automl_v1beta1.types.VideoClassificationAnnotation)\n- [0.10.0](/python/docs/reference/automl/0.10.0/google.cloud.automl_v1beta1.types.VideoClassificationAnnotation)\n- [0.9.0](/python/docs/reference/automl/0.9.0/google.cloud.automl_v1beta1.types.VideoClassificationAnnotation)\n- [0.8.0](/python/docs/reference/automl/0.8.0/google.cloud.automl_v1beta1.types.VideoClassificationAnnotation)\n- [0.7.1](/python/docs/reference/automl/0.7.1/google.cloud.automl_v1beta1.types.VideoClassificationAnnotation)\n- [0.6.0](/python/docs/reference/automl/0.6.0/google.cloud.automl_v1beta1.types.VideoClassificationAnnotation)\n- [0.5.0](/python/docs/reference/automl/0.5.0/google.cloud.automl_v1beta1.types.VideoClassificationAnnotation)\n- [0.4.0](/python/docs/reference/automl/0.4.0/google.cloud.automl_v1beta1.types.VideoClassificationAnnotation) \n\n VideoClassificationAnnotation(\n mapping=None, *, ignore_unknown_fields=False, **kwargs\n )\n\nContains annotation details specific to video classification."]]