Here are the steps to run the google vision API -
- Install Google Vision API -
npm install --save @google-cloud/vision
- Set enivroenment variable for Google creds -
set GOOGLE_APPLICATION_CREDENTIALS=path_to_credentials.json
- Save all your images to 'images' folder
- Execute the index.js file -
node index.js