Skip to content

Commit

Permalink
Samples for batch PDF and image annotation. (#347)
Browse files Browse the repository at this point in the history
* Added the two samples for pdf annotation

* Added the sample for image batch annotation

* Fixed coding style after running eslint

* Several changes made based on Justin's comments.

* Separated the samples and tests per Justin's comments.

* Using const instead of let

* Changed the description of the tests.

* Replaced tabs with spaces

* Update samples/vision_async_batch_annotate_images_beta.js

Co-Authored-By: happyhuman <happyhuman@users.noreply.github.com>

* Update samples/vision_batch_annotate_files_beta.js

Co-Authored-By: happyhuman <happyhuman@users.noreply.github.com>

* Update samples/vision_batch_annotate_files_beta.js

Co-Authored-By: happyhuman <happyhuman@users.noreply.github.com>

* Update samples/vision_async_batch_annotate_images_beta.js

Co-Authored-By: happyhuman <happyhuman@users.noreply.github.com>

* Update samples/vision_async_batch_annotate_images_beta.js

Co-Authored-By: happyhuman <happyhuman@users.noreply.github.com>

* Renamed the files per Justin's suggestions.

* Edited README file

* Fixed the issue with renaming.

* Dashes instead of underscores

* Corrected the file names in test files.
  • Loading branch information
happyhuman authored Mar 20, 2019
1 parent 8b7a8c3 commit fa7aef0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/google-cloud-vision/samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ Examples:
node detect.js pdf my-bucket my-pdf.pdf
node detect.js localize-objects ./resources/duck_and_truck.jpg
node detect.js localize-objects-gcs gs://bucket/bucketImage.png
node batch_annotate_files.js my-pdf.pdf
node batch_annotate_files_gcs.js my-pdf.pdf
node async_batch_annotate_images.js gs://bucket/bucketImage.png gs://bucket/out
For more information, see https://cloud.google.com/vision/docs
```
Expand Down

0 comments on commit fa7aef0

Please sign in to comment.