This is a study project for Google Cloud Vision API
Create a project with the Google Cloud Console, and enable the Vision API.
Set up your environment with Application Default Credentials. For example, from the Cloud Console, you might create a service account, download its json credentials file, then set the appropriate environment variable:
-
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/your-project-credentials.json (Mac)
-
set GOOGLE_APPLICATION_CREDENTIALS=/path/to/your-project-credentials.json (Win)