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...'); } });