From 8ab7e687cfe7c107a0fbb2af81964ef8214b8fa1 Mon Sep 17 00:00:00 2001 From: Eric Schmidt Date: Wed, 10 Jun 2020 14:53:46 -0700 Subject: [PATCH] fix: removes reference to 'facial hair' from video face samples [(#4052)](https://github.com/GoogleCloudPlatform/python-docs-samples/issues/4052) --- videointelligence/samples/analyze/video_detect_faces_beta.py | 3 +-- .../samples/analyze/video_detect_faces_gcs_beta.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/videointelligence/samples/analyze/video_detect_faces_beta.py b/videointelligence/samples/analyze/video_detect_faces_beta.py index 49eb20dd0d62..9d882d488e94 100644 --- a/videointelligence/samples/analyze/video_detect_faces_beta.py +++ b/videointelligence/samples/analyze/video_detect_faces_beta.py @@ -70,8 +70,7 @@ def detect_faces(local_file_path="path/to/your/video-file.mp4"): print("\tright : {}".format(box.right)) print("\tbottom: {}".format(box.bottom)) - # Attributes include glasses, headwear, facial hair, smiling, - # direction of gaze, etc. + # Attributes include glasses, headwear, smiling, direction of gaze print("Attributes:") for attribute in timestamped_object.attributes: print( diff --git a/videointelligence/samples/analyze/video_detect_faces_gcs_beta.py b/videointelligence/samples/analyze/video_detect_faces_gcs_beta.py index 7e3a3e7d8592..262184b673ab 100644 --- a/videointelligence/samples/analyze/video_detect_faces_gcs_beta.py +++ b/videointelligence/samples/analyze/video_detect_faces_gcs_beta.py @@ -65,8 +65,7 @@ def detect_faces(gcs_uri="gs://YOUR_BUCKET_ID/path/to/your/video.mp4"): print("\tright : {}".format(box.right)) print("\tbottom: {}".format(box.bottom)) - # Attributes include glasses, headwear, facial hair, smiling, - # direction of gaze, etc. + # Attributes include glasses, headwear, smiling, direction of gaze print("Attributes:") for attribute in timestamped_object.attributes: print(