Skip to content

Commit 497f173

Browse files
sirtorrybshaffer
authored andcommitted
use same region tag as others (GoogleCloudPlatform#717)
1 parent dec932a commit 497f173

File tree

3 files changed

+20
-19
lines changed

3 files changed

+20
-19
lines changed

vision/README.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,22 @@ Vision API from PHP.
2828
5. For a basic demonstration of the Cloud Vision API, run `php quickstart.php`.
2929
6. Run `php vision.php`. The following commands are available:
3030
```
31-
face Detect faces in an image using Google Cloud Vision API
32-
help Displays help for a command
33-
label Detect labels in an image using Google Cloud Vision API
34-
landmark Detect landmarks in an image using Google Cloud Vision API
35-
list Lists commands
36-
logo Detect logos in an image using Google Cloud Vision API
37-
property Detect image proerties in an image using Google Cloud Vision API
38-
safe-search Detect adult content in an image using Google Cloud Vision API
39-
text Detect text in an image using Google Cloud Vision API
40-
crop-hints Detect crop hints in an image using Google Cloud Vision API
41-
document-text Detect document text in an image using Google Cloud Vision API
42-
pdf Detect text in a PDF/TIFF using Google Cloud Vision API
43-
web Detect web entities in an image using Google Cloud Vision API
44-
web-geo Detect web entities in an image with geo metadata using
45-
Google Cloud Vision API
31+
face Detect faces in an image using Google Cloud Vision API
32+
help Displays help for a command
33+
label Detect labels in an image using Google Cloud Vision API
34+
landmark Detect landmarks in an image using Google Cloud Vision API
35+
list Lists commands
36+
localize-object Detect objects in an image using Google Cloud Vision API
37+
logo Detect logos in an image using Google Cloud Vision API
38+
property Detect image proerties in an image using Google Cloud Vision API
39+
safe-search Detect adult content in an image using Google Cloud Vision API
40+
text Detect text in an image using Google Cloud Vision API
41+
crop-hints Detect crop hints in an image using Google Cloud Vision API
42+
document-text Detect document text in an image using Google Cloud Vision API
43+
pdf Detect text in a PDF/TIFF using Google Cloud Vision API
44+
web Detect web entities in an image using Google Cloud Vision API
45+
web-geo Detect web entities in an image with geo metadata using
46+
Google Cloud Vision API
4647
```
4748
7. Run `php vision.php COMMAND --help` to print information about the usage of each command.
4849

vision/src/detect_object.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
// [START vision_localize_object]
18+
// [START vision_localize_objects]
1919
namespace Google\Cloud\Samples\Vision;
2020

2121
use Google\Cloud\Vision\V1\ImageAnnotatorClient;
@@ -46,4 +46,4 @@ function detect_object($path)
4646

4747
$imageAnnotator->close();
4848
}
49-
// [END vision_localize_object]
49+
// [END vision_localize_objects]

vision/src/detect_object_gcs.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
// [START vision_localize_object_gcs]
18+
// [START vision_localize_objects_gcs]
1919
namespace Google\Cloud\Samples\Vision;
2020

2121
use Google\Cloud\Vision\V1\ImageAnnotatorClient;
@@ -45,4 +45,4 @@ function detect_object_gcs($path)
4545

4646
$imageAnnotator->close();
4747
}
48-
// [END vision_localize_object_gcs]
48+
// [END vision_localize_objects_gcs]

0 commit comments

Comments
 (0)