Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

feat: Introduce tracks and thumbnails fields for FaceDetectionAnnotations #90

Merged
merged 5 commits into from Dec 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
906 changes: 906 additions & 0 deletions google/cloud/videointelligence_v1/proto/video_intelligence.proto

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions google/cloud/videointelligence_v1/types/video_intelligence.py
Expand Up @@ -551,10 +551,18 @@ class FaceDetectionAnnotation(proto.Message):
r"""Face detection annotation.

Attributes:
tracks (Sequence[~.video_intelligence.Track]):
The face tracks with attributes.
thumbnail (bytes):
The thumbnail of a person's face.
version (str):
Feature version.
"""

tracks = proto.RepeatedField(proto.MESSAGE, number=3, message="Track",)

thumbnail = proto.Field(proto.BYTES, number=4)

version = proto.Field(proto.STRING, number=5)


Expand Down