I'm trying to use Google Cloud Vision API, but facing some issues. Let me explain the steps I took and then the issue I'm facing. I'm running this code in Windows 10.
- Download and install "GoogleCloudSDKInstaller".
- gcloud auth application-default login to activate my login credential
- Used this code to run the face detector, for the image in my local system.
- cd into the folder where image exists
Then run the following code:
python detect_face.py "image.jpg"
But I'm getting this error:
raise EnvironmentError('Project was not passed and could not be ' OSError: Project was not passed and could not be determined from the environment.
Can anyone please tell me why I'm getting this issue?