Created
March 18, 2016 21:12
-
-
Save JustinBeckwith/60aea974d177265f9e99 to your computer and use it in GitHub Desktop.
Google Cloud Vision API with Node.js example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gcloud = require('gcloud')({ | |
projectId: 'my-project', | |
keyFilename: 'keyfile.json' | |
}); | |
var vision = gcloud.vision(); | |
vision.detectText('./image.jpg', function(err, text) { | |
if (text.length > 0) { | |
console.log('We found text on this image...'); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment