The image guessing game.


Description Display an arbitrary number of images generated from Lorem Picsum. Pick a single random image to be the correct answer. Use Google Vision Api Label Detection to display descriptions of the images and allow the user to try their hand at matching the description to the image.


Create your own api key:

create a service account

https://console.cloud.google.com/apis/credentials

Create a service account Key

Click Create Credentials then Service Key Account This should start downloading a json file which is your service key account.

To run this locally:

Set up your loval environment

  1. virtualenv env; source env/bin/activate; pip install -r requirements.txt

Let google know where you key is held.

  1. export GOOGLE_APPLICATION_CREDENTIALS=key.json

Run the app!

  1. python main.py