-
Install docker
-
Download project
$ git clone ... $ cd ... -
Start container
$ docker-compose up -
Test back-end with a
POSTrequest to$ <YOUR_DOCKER_IP>/api/v1/submitand include a base64 encoded image as payload with parameter
image.
-
Validation
- Received string is base64-image string
- Add JSON web token authentication
- New
\authenticateendpoint
- New
-
Create clean docker image and upload
-
Make algorithm robust
- Detect whether image is suitable or not. (imageTropical.json gives several results for blue, but it is not a whiteboard)
- Did not work with .gif image (do we need that?)
Delete .pyc files with:
find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf