Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
docs: fixed 'annotate an image' (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
galz10 committed Mar 25, 2022
1 parent 20a5cad commit 1019f29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.rst
Expand Up @@ -17,7 +17,7 @@ You can call the :meth:`annotate_image` method directly:
>>> client = vision.ImageAnnotatorClient()
>>> response = client.annotate_image({
... 'image': {'source': {'image_uri': 'gs://my-test-bucket/image.jpg'}},
... 'features': [{'type': vision.enums.Feature.Type.FACE_DETECTION}],
... 'features': [{'type_': vision.Feature.Type.FACE_DETECTION}],
... })
>>> len(response.annotations)
2
Expand Down

0 comments on commit 1019f29

Please sign in to comment.