Skip to content

Commit cb712df

Browse files
committed
Major refactoring of code to match format used by Spanner and Video.
1 parent e6db9b0 commit cb712df

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+1300
-3675
lines changed
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ Vision API from PHP.
2020
4. **Install dependencies** via [Composer](http://getcomposer.org/doc/00-intro.md).
2121
Run `php composer.phar install` (if composer is installed locally) or `composer install`
2222
(if composer is installed globally).
23-
5. Run `php vision.php`. The following commands are available:
23+
5. For a basic demonstration of the Cloud Vision API, run `php quickstart.php`.
24+
6. Run `php vision.php`. The following commands are available:
2425
```
2526
face Detect faces in an image using Google Cloud Vision API
2627
help Displays help for a command
@@ -31,8 +32,11 @@ Vision API from PHP.
3132
property Detect image proerties in an image using Google Cloud Vision API
3233
safe-search Detect adult content in an image using Google Cloud Vision API
3334
text Detect text in an image using Google Cloud Vision API
35+
crop-hints Detect crop hints in an image using Google Cloud Vision API
36+
document-text Detect document text in an image using Google Cloud Vision API
37+
web Detect web entities in an image using Google Cloud Vision API
3438
```
35-
6. Run `php vision.php COMMAND --help` to print information about the usage of each command.
39+
7. Run `php vision.php COMMAND --help` to print information about the usage of each command.
3640

3741
## Contributing changes
3842

vision/api/composer.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

vision/api/src/DetectCropHintsCommand.php

Lines changed: 0 additions & 71 deletions
This file was deleted.

vision/api/src/DetectDocumentTextCommand.php

Lines changed: 0 additions & 71 deletions
This file was deleted.

vision/api/src/DetectFaceCommand.php

Lines changed: 0 additions & 117 deletions
This file was deleted.

vision/api/src/DetectImagePropertyCommand.php

Lines changed: 0 additions & 71 deletions
This file was deleted.

0 commit comments

Comments
 (0)