Skip to content
This repository has been archived by the owner on Aug 5, 2019. It is now read-only.

breezykermo/hue-hug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ClaireCut Server

Run

  1. Install docker

  2. Download project

     $ git clone ...
     $ cd ...
    
  3. Start container

     $ docker-compose up
    
  4. Test back-end with a POST request to

     $ <YOUR_DOCKER_IP>/api/v1/submit
    

    and include a base64 encoded image as payload with parameter image.

Future Tasks

  1. Validation

    • Received string is base64-image string
    • Add JSON web token authentication
      • New \authenticate endpoint
  2. Create clean docker image and upload

  3. 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?)

Tipps

Delete .pyc files with:

find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf

About

Hug for Hue.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages