Activating Google Cloud Vision API in LUNA
Image analysis in LUNA makes use of Google's Cloud Vision API. To allow this to work you need to have a Google account, create a project and enable billing, activate the API in google's cloud services and then generate a JSON key (.json file) that will be used to authorize LUNA to work directly with the Vision API. Once you have this file loaded on your LUNA server, you will need to run the LUNA Installer.
Step-by-step guide
- Once you have a Google account follow these instructions to generate your JSON key for Vision API. (This will require a service account.)
- When you have the JSON file, place it on the server where LUNA is installed and record the full path to the file.
- Run the LUNA Installer and choose Upgrade/Reconfigure. (Make sure you stop your LUNA tomcat service during the install)
- When you get to the LUNA Configuration screen, Enter the path to the .json file at the where indicated.
- When you get to the LUNA Configuration screen, Enter the path to the .json file at the where indicated.
- That's it, you will now be able to use the Vision API when adding images in the LUNA Uploader.
Make sure you have enabled the Google Cloud Vision API
Related articles