Skip to content

Commit

Permalink
Regenerate the README files and fix the Open in Cloud Shell link for …
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyumic authored Apr 7, 2018
1 parent 5040962 commit a45d042
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 14 deletions.
4 changes: 2 additions & 2 deletions samples/snippets/crop_hints/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This directory contains samples for Google Cloud Vision API. `Google Cloud Visio



.. _Google Cloud Vision API: https://cloud.google.com/vision/docs
.. _Google Cloud Vision API: https://cloud.google.com/vision/docs

Setup
-------------------------------------------------------------------------------
Expand Down Expand Up @@ -63,7 +63,7 @@ Crop Hints Tutorial
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

.. image:: https://gstatic.com/cloudssh/images/open-btn.png
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=vision/cloud-client/crop_hints/crop_hints.py;vision/cloud-client/crop_hints/README.rst
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=vision/cloud-client/crop_hints/crop_hints.py,vision/cloud-client/crop_hints/README.rst



Expand Down
14 changes: 10 additions & 4 deletions samples/snippets/detect/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This directory contains samples for Google Cloud Vision API. `Google Cloud Visio



.. _Google Cloud Vision API: https://cloud.google.com/vision/docs
.. _Google Cloud Vision API: https://cloud.google.com/vision/docs

Setup
-------------------------------------------------------------------------------
Expand Down Expand Up @@ -63,7 +63,7 @@ Detect
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

.. image:: https://gstatic.com/cloudssh/images/open-btn.png
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=vision/cloud-client/detect/detect.py;vision/cloud-client/detect/README.rst
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=vision/cloud-client/detect/detect.py,vision/cloud-client/detect/README.rst



Expand All @@ -75,7 +75,7 @@ To run this sample:
$ python detect.py
usage: detect.py [-h]
{faces,faces-uri,labels,labels-uri,landmarks,landmarks-uri,text,text-uri,logos,logos-uri,safe-search,safe-search-uri,properties,properties-uri,web,web-uri,crophints,crophints-uri,document,document-uri}
{faces,faces-uri,labels,labels-uri,landmarks,landmarks-uri,text,text-uri,logos,logos-uri,safe-search,safe-search-uri,properties,properties-uri,web,web-uri,web-geo,web-geo-uri,crophints,crophints-uri,document,document-uri}
...
This application demonstrates how to perform basic operations with the
Expand All @@ -86,13 +86,14 @@ To run this sample:
python detect.py labels ./resources/landmark.jpg
python detect.py web ./resources/landmark.jpg
python detect.py web-uri http://wheresgus.com/dog.JPG
python detect.py web-geo ./resources/city.jpg
python detect.py faces-uri gs://your-bucket/file.jpg
For more information, the documentation at
https://cloud.google.com/vision/docs.
positional arguments:
{faces,faces-uri,labels,labels-uri,landmarks,landmarks-uri,text,text-uri,logos,logos-uri,safe-search,safe-search-uri,properties,properties-uri,web,web-uri,crophints,crophints-uri,document,document-uri}
{faces,faces-uri,labels,labels-uri,landmarks,landmarks-uri,text,text-uri,logos,logos-uri,safe-search,safe-search-uri,properties,properties-uri,web,web-uri,web-geo,web-geo-uri,crophints,crophints-uri,document,document-uri}
faces Detects faces in an image.
faces-uri Detects faces in the file located in Google Cloud
Storage or the web.
Expand All @@ -117,6 +118,11 @@ To run this sample:
web Detects web annotations given an image.
web-uri Detects web annotations in the file located in Google
Cloud Storage.
web-geo Detects web annotations given an image, using the
geotag metadata in the iamge to detect web entities.
web-geo-uri Detects web annotations given an image in the file
located in Google Cloud Storage., using the geotag
metadata in the iamge to detect web entities.
crophints Detects crop hints in an image.
crophints-uri Detects crop hints in the file located in Google Cloud
Storage.
Expand Down
4 changes: 2 additions & 2 deletions samples/snippets/document_text/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This directory contains samples for Google Cloud Vision API. `Google Cloud Visio



.. _Google Cloud Vision API: https://cloud.google.com/vision/docs
.. _Google Cloud Vision API: https://cloud.google.com/vision/docs

Setup
-------------------------------------------------------------------------------
Expand Down Expand Up @@ -63,7 +63,7 @@ Document Text tutorial
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

.. image:: https://gstatic.com/cloudssh/images/open-btn.png
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=vision/cloud-client/document_text/doctext.py;vision/cloud-client/document_text/README.rst
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=vision/cloud-client/document_text/doctext.py,vision/cloud-client/document_text/README.rst



Expand Down
4 changes: 2 additions & 2 deletions samples/snippets/face_detection/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ This directory contains samples for Google Cloud Vision API. `Google Cloud Visio
This sample demonstrates how to use the Cloud Vision API to do face detection.


.. _Google Cloud Vision API: https://cloud.google.com/vision/docs
.. _Google Cloud Vision API: https://cloud.google.com/vision/docs

Setup
-------------------------------------------------------------------------------
Expand Down Expand Up @@ -64,7 +64,7 @@ Face detection
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

.. image:: https://gstatic.com/cloudssh/images/open-btn.png
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=vision/cloud-client/face_detection/faces.py;vision/cloud-client/face_detection/README.rst
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=vision/cloud-client/face_detection/faces.py,vision/cloud-client/face_detection/README.rst



Expand Down
4 changes: 2 additions & 2 deletions samples/snippets/quickstart/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This directory contains samples for Google Cloud Vision API. `Google Cloud Visio



.. _Google Cloud Vision API: https://cloud.google.com/vision/docs
.. _Google Cloud Vision API: https://cloud.google.com/vision/docs

Setup
-------------------------------------------------------------------------------
Expand Down Expand Up @@ -63,7 +63,7 @@ Quickstart
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

.. image:: https://gstatic.com/cloudssh/images/open-btn.png
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=vision/cloud-client/quickstart/quickstart.py;vision/cloud-client/quickstart/README.rst
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=vision/cloud-client/quickstart/quickstart.py,vision/cloud-client/quickstart/README.rst



Expand Down
4 changes: 2 additions & 2 deletions samples/snippets/web/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This directory contains samples for Google Cloud Vision API. `Google Cloud Visio



.. _Google Cloud Vision API: https://cloud.google.com/vision/docs
.. _Google Cloud Vision API: https://cloud.google.com/vision/docs

Setup
-------------------------------------------------------------------------------
Expand Down Expand Up @@ -63,7 +63,7 @@ Web
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

.. image:: https://gstatic.com/cloudssh/images/open-btn.png
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=vision/cloud-client/web/web_detect.py;vision/cloud-client/web/README.rst
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=vision/cloud-client/web/web_detect.py,vision/cloud-client/web/README.rst



Expand Down

0 comments on commit a45d042

Please sign in to comment.