Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db9cdab commit cc820e6Copy full SHA for cc820e6
vision/cloud-client/face_detection/faces.py
@@ -42,7 +42,7 @@ def detect_face(face_file, max_results=4):
42
content = face_file.read()
43
image = types.Image(content=content)
44
45
- return client.face_detection(image=image).face_annotations
+ return client.face_detection(image=image, max_results=max_results).face_annotations
46
# [END vision_face_detection_tutorial_send_request]
47
48
0 commit comments