-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleaning up docs and fixing typos #2754
Conversation
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.
This comment was marked as spam.
Sorry, something went wrong.
|
||
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.
This comment was marked as spam.
Sorry, something went wrong.
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.
This comment was marked as spam.
Sorry, something went wrong.
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.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
: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.
This comment was marked as spam.
Sorry, something went wrong.
|
||
- 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.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
- 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.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
||
Text Detection | ||
~~~~~~~~~~~~~~ | ||
|
||
Detecting text with ORC from an image. | ||
:meth:`detect_text()` performs OCR to find text in the image. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
>>> 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.
This comment was marked as spam.
Sorry, something went wrong.
>>> 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.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
91e8880
to
c7a2658
Compare
Bump, I have a branch for adding |
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.
This comment was marked as spam.
Sorry, something went wrong.
>>> safe_search = image.detect_safe_search() | ||
>>> safe_search[0].adult | ||
'VERY_UNLIKELY' | ||
>>> safe_search[0].spoof |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
7986a7f
to
00ff643
Compare
Squashed! |
Cleaning up docs and fixing typos
…oogleCloudPlatform/python-docs-samples#2754) * automl: video beta move model samples from branch to master * Fix region tag Co-authored-by: Leah E. Cole <[email protected]>
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.