Skip to content

Cleaning up docs and fixing typos - #2754

Merged
daspecster merged 1 commit into
googleapis:masterfrom
daspecster:vision-docs-cleanup
Nov 29, 2016
Merged

Cleaning up docs and fixing typos#2754
daspecster merged 1 commit into
googleapis:masterfrom
daspecster:vision-docs-cleanup

Conversation

@daspecster

Copy link
Copy Markdown
Contributor

There will be more for this to come, but I just wanted to get it accurate to the library.

As I add the features back, I will add them to the docs again.

@daspecsterdaspecster added docs api: vision Issues related to the Cloud Vision API. labels Nov 18, 2016
@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 18, 2016
@daspecsterdaspecster mentioned this pull request Nov 18, 2016
10 tasks
Comment threaddocs/vision-usage.rst Outdated
Detecting a face or faces in an image.
For a list of the possible facial landmarks
see: https://cloud.google.com/vision/reference/rest/v1/images/annotate#type_1
:meth:`detect_faces()` will search for faces in an image and return the image

This comment was marked as spam.

Comment threaddocs/vision-usage.rst Outdated
coordinates of those facial landmarks.

For a list of all possible facial landmark types
see: https://cloud.google.com/vision/reference/rest/v1/images/annotate#type_1

This comment was marked as spam.

Comment threaddocs/vision-usage.rst Outdated
Image labels are a way to help categorize the contents of an image.
If you have an image with a car, person and a dog it, label detection will
attempt to identify those objects.
:meth:`detect_labels()` will attempt to label objects in an image.

This comment was marked as spam.

Comment threaddocs/vision-usage.rst Outdated
If you have an image with a car, person and a dog it, label detection will
attempt to identify those objects.
:meth:`detect_labels()` will attempt to label objects in an image.
If you there is a car, person and a dog in the image, label detection will

This comment was marked as spam.

This comment was marked as spam.

Comment threaddocs/vision-usage.rst Outdated
:meth:`detect_labels()` will attempt to label objects in an image.
If you there is a car, person and a dog in the image, label detection will
attempt to identify those objects and score the level of certainty from
0.0-1.0.

This comment was marked as spam.

Comment threaddocs/vision-usage.rst Outdated

- adult: Represents the adult contents likelihood for the image.
- spoof: Spoof likelihood. The likelihood that an obvious modification was made
to the image's canonical version to make it appear funny or offensive.

This comment was marked as spam.

This comment was marked as spam.

Comment threaddocs/vision-usage.rst
- spoof: Spoof likelihood. The likelihood that an obvious modification was made
to the image's canonical version to make it appear funny or offensive.
- medical: Likelihood this is a medical image.
- violence: Violence likelihood.

This comment was marked as spam.

This comment was marked as spam.

Comment threaddocs/vision-usage.rst Outdated
~~~~~~~~~~~~~~

Detecting text with ORC from an image.
:meth:`detect_text()` performs OCR to find text in the image.

This comment was marked as spam.

Comment threaddocs/vision-usage.rst Outdated
>>> from google.cloud import vision
>>> client = vision.Client()
>>> image = client.image(source_uri='gs://my-storage-bucket/image.jpg')
>>> logos = image.detect_logos(limit=10)

This comment was marked as spam.

Comment threaddocs/vision-usage.rst
>>> image = client.image(source_uri='gs://my-test-bucket/image.jpg')
>>> features = [Feature(FeatureTypes.FACE_DETECTION, 5),
... Feature(FeatureTypes.LOGO_DETECTION, 3)]
>>> annotations = image.detect(features)

This comment was marked as spam.

This comment was marked as spam.

@daspecster
daspecsterforce-pushed the vision-docs-cleanup branch 2 times, most recently from 91e8880 to c7a2658CompareNovember 23, 2016 17:50
@daspecster

Copy link
Copy Markdown
ContributorAuthor

Bump, I have a branch for adding image(filename='myfile.jpg') but I would like to get this and #2770 in first if possible.

Comment threaddocs/vision-usage.rst Outdated
Detecting a face or faces in an image.
For a list of the possible facial landmarks
see: https://cloud.google.com/vision/reference/rest/v1/images/annotate#type_1
:meth:`detect_faces` will search for faces in an image and return the

This comment was marked as spam.

Comment threaddocs/vision-usage.rst Outdated
>>> safe_search = image.detect_safe_search()
>>> safe_search[0].adult
'VERY_UNLIKELY'
>>> safe_search[0].spoof

This comment was marked as spam.

@daspecster

Copy link
Copy Markdown
ContributorAuthor

Squashed!

@daspecster
daspecster merged commit f0950ca into googleapis:masterNov 29, 2016
@daspecster
daspecster deleted the vision-docs-cleanup branch November 29, 2016 21:11
richkadel pushed a commit to richkadel/google-cloud-python that referenced this pull request May 6, 2017
parthea pushed a commit that referenced this pull request Oct 21, 2023
…oogleCloudPlatform/python-docs-samples#2754)
* automl: video beta move model samples from branch to master
* Fix region tag
Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: visionIssues related to the Cloud Vision API.cla: yesThis human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@daspecster@dhermes@tseaver@googlebot