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

Commit e4bbbad

Browse files
feat: Introduce tracks and thumbnails fields for FaceDetectionAnnotations (#90)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/2e07b4d7-dfb2-4ae0-bdea-6cc5c2642547/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 346664095 Source-Link: googleapis/googleapis@468a94a PiperOrigin-RevId: 346138329 Source-Link: googleapis/googleapis@674ec0e Source-Link: googleapis/synthtool@7fcc405
1 parent 3cf0477 commit e4bbbad

File tree

19 files changed

+4393
-479
lines changed

19 files changed

+4393
-479
lines changed

google/cloud/videointelligence_v1/proto/video_intelligence.proto

Lines changed: 906 additions & 0 deletions
Large diffs are not rendered by default.

google/cloud/videointelligence_v1/types/video_intelligence.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,10 +551,18 @@ class FaceDetectionAnnotation(proto.Message):
551551
r"""Face detection annotation.
552552
553553
Attributes:
554+
tracks (Sequence[~.video_intelligence.Track]):
555+
The face tracks with attributes.
556+
thumbnail (bytes):
557+
The thumbnail of a person's face.
554558
version (str):
555559
Feature version.
556560
"""
557561

562+
tracks = proto.RepeatedField(proto.MESSAGE, number=3, message="Track",)
563+
564+
thumbnail = proto.Field(proto.BYTES, number=4)
565+
558566
version = proto.Field(proto.STRING, number=5)
559567

560568

0 commit comments

Comments
 (0)