@@ -16,7 +16,7 @@ This directory contains samples for Google Cloud Vision API. `Google Cloud Visio
1616
1717
1818
19- .. _Google Cloud Vision API : https://cloud.google.com/vision/docs
19+ .. _Google Cloud Vision API : https://cloud.google.com/vision/docs
2020
2121Setup
2222-------------------------------------------------------------------------------
6363+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
6464
6565.. image :: https://gstatic.com/cloudssh/images/open-btn.png
66- :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
66+ :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
6767
6868
6969
@@ -75,7 +75,7 @@ To run this sample:
7575 $ python detect.py
7676
7777 usage: detect.py [-h]
78- {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}
78+ {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}
7979 ...
8080
8181 This application demonstrates how to perform basic operations with the
@@ -86,13 +86,14 @@ To run this sample:
8686 python detect.py labels ./resources/landmark.jpg
8787 python detect.py web ./resources/landmark.jpg
8888 python detect.py web-uri http://wheresgus.com/dog.JPG
89+ python detect.py web-geo ./resources/city.jpg
8990 python detect.py faces-uri gs://your-bucket/file.jpg
9091
9192 For more information, the documentation at
9293 https://cloud.google.com/vision/docs.
9394
9495 positional arguments:
95- {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}
96+ {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}
9697 faces Detects faces in an image.
9798 faces-uri Detects faces in the file located in Google Cloud
9899 Storage or the web.
@@ -117,6 +118,11 @@ To run this sample:
117118 web Detects web annotations given an image.
118119 web-uri Detects web annotations in the file located in Google
119120 Cloud Storage.
121+ web-geo Detects web annotations given an image, using the
122+ geotag metadata in the iamge to detect web entities.
123+ web-geo-uri Detects web annotations given an image in the file
124+ located in Google Cloud Storage., using the geotag
125+ metadata in the iamge to detect web entities.
120126 crophints Detects crop hints in an image.
121127 crophints-uri Detects crop hints in the file located in Google Cloud
122128 Storage.
0 commit comments