We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10c64d9 commit b3b1525Copy full SHA for b3b1525
docs/vision-usage.rst
@@ -272,7 +272,7 @@ image and determine the dominant colors in the image.
272
>>> with open('./image.jpg', 'rb') as image_file:
273
... image = client.image(content=image_file.read())
274
>>> results = image.detect_properties()
275
- >>> colors = results[0]
+ >>> colors = results[0].colors
276
>>> first_color = colors[0]
277
>>> first_color.red
278
244
0 commit comments