- Create service account, and create keys
- Download keys
- export as global var
export GOOGLE_APPLICATION_CREDENTIALS="/d/vertex-ai/vision-api/crested-sunup-415409-954d16add813.json"
Install google cloud
pip install --upgrade google-api-python-client
pip install --upgrade google-cloud
pip install --upgrade google-cloud-vision
Export env var, so the script can detect the service account credentials
export GOOGLE_APPLICATION_CREDENTIALS="/d/vertex-ai/vision-api/crested-sunup-415409-954d16add813.json"