Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Commit

Permalink
Version bump to 0.13.0 (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukesneeringer authored Nov 28, 2017
1 parent 80f2978 commit 22ee5c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
14 changes: 1 addition & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,21 +69,9 @@ const vision = require('@google-cloud/vision');
// Creates a client
const client = new vision.ImageAnnotatorClient();

// The name of the image file to annotate
const fileName = './resources/wakeupcat.jpg';

// Prepare the request object
const request = {
image: {
source: {
filename: fileName,
},
},
};

// Performs label detection on the image file
client
.labelDetection(request)
.labelDetection('./resources/wakeupcat.jpg')
.then(results => {
const labels = results[0].labelAnnotations;

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@google-cloud/vision",
"description": "Google Cloud Vision API client for Node.js",
"version": "0.12.0",
"version": "0.13.0",
"license": "Apache-2.0",
"author": "Google Inc",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion samples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"dependencies": {
"@google-cloud/storage": "1.4.0",
"@google-cloud/vision": "0.12.0",
"@google-cloud/vision": "0.13.0",
"async": "2.5.0",
"natural": "0.5.4",
"redis": "2.8.0",
Expand Down

0 comments on commit 22ee5c8

Please sign in to comment.