API documentation for videointelligence_v1p2beta1.types
package.
Classes
AnnotateVideoProgress
Video annotation progress. Included in the metadata
field of the
Operation
returned by the GetOperation
call of the
google::longrunning::Operations
service.
AnnotateVideoRequest
Video annotation request.
AnnotateVideoResponse
Video annotation response. Included in the response
field of the
Operation
returned by the GetOperation
call of the
google::longrunning::Operations
service.
Entity
Detected entity from video analysis.
ExplicitContentAnnotation
Explicit content annotation (based on per-frame visual signals only). If no explicit content has been detected in a frame, no annotations are present for that frame.
ExplicitContentDetectionConfig
Config for EXPLICIT_CONTENT_DETECTION.
ExplicitContentFrame
Video frame level annotation results for explicit content.
Feature
Video annotation feature.
Values: FEATURE_UNSPECIFIED (0): Unspecified. LABEL_DETECTION (1): Label detection. Detect objects, such as dog or flower. SHOT_CHANGE_DETECTION (2): Shot change detection. EXPLICIT_CONTENT_DETECTION (3): Explicit content detection. TEXT_DETECTION (7): OCR text detection and tracking. OBJECT_TRACKING (9): Object detection and tracking.
LabelAnnotation
Label annotation.
LabelDetectionConfig
Config for LABEL_DETECTION.
LabelDetectionMode
Label detection mode.
Values: LABEL_DETECTION_MODE_UNSPECIFIED (0): Unspecified. SHOT_MODE (1): Detect shot-level labels. FRAME_MODE (2): Detect frame-level labels. SHOT_AND_FRAME_MODE (3): Detect both shot-level and frame-level labels.
LabelFrame
Video frame level annotation results for label detection.
LabelSegment
Video segment level annotation results for label detection.
Likelihood
Bucketized representation of likelihood.
Values: LIKELIHOOD_UNSPECIFIED (0): Unspecified likelihood. VERY_UNLIKELY (1): Very unlikely. UNLIKELY (2): Unlikely. POSSIBLE (3): Possible. LIKELY (4): Likely. VERY_LIKELY (5): Very likely.
NormalizedBoundingBox
Normalized bounding box. The normalized vertex coordinates are relative to the original image. Range: [0, 1].
NormalizedBoundingPoly
Normalized bounding polygon for text (that might not be aligned with axis). Contains list of the corner points in clockwise order starting from top-left corner. For example, for a rectangular bounding box: When the text is horizontal it might look like: 0----1 | | 3----2
When it's clockwise rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0
and the vertex order will still be (0, 1, 2, 3). Note that values can be less than 0, or greater than 1 due to trignometric calculations for location of the box.
NormalizedVertex
A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.
ObjectTrackingAnnotation
Annotations corresponding to one tracked object.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
ObjectTrackingFrame
Video frame level annotations for object detection and tracking. This field stores per frame location, time offset, and confidence.
ShotChangeDetectionConfig
Config for SHOT_CHANGE_DETECTION.
TextAnnotation
Annotations related to one detected OCR text snippet. This will contain the corresponding text, confidence value, and frame level information for each detection.
TextDetectionConfig
Config for TEXT_DETECTION.
TextFrame
Video frame level annotation results for text annotation (OCR). Contains information regarding timestamp and bounding box locations for the frames containing detected OCR text snippets.
TextSegment
Video segment level annotation results for text detection.
VideoAnnotationProgress
Annotation progress for a single video.
VideoAnnotationResults
Annotation results for a single video.
VideoContext
Video context and/or feature-specific parameters.
VideoSegment
Video segment.