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

Commit 1019f29

Browse files
authored
docs: fixed 'annotate an image' (#330)
1 parent 20a5cad commit 1019f29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ You can call the :meth:`annotate_image` method directly:
1717
>>> client = vision.ImageAnnotatorClient()
1818
>>> response = client.annotate_image({
1919
... 'image': {'source': {'image_uri': 'gs://my-test-bucket/image.jpg'}},
20-
... 'features': [{'type': vision.enums.Feature.Type.FACE_DETECTION}],
20+
... 'features': [{'type_': vision.Feature.Type.FACE_DETECTION}],
2121
... })
2222
>>> len(response.annotations)
2323
2

0 commit comments

Comments
 (0)