Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.18 KB

README.md

File metadata and controls

49 lines (31 loc) · 1.18 KB

GazeTracking

Samsung Labs Gaze Tracking Application Backend for the focus calculation android app.

Getting Started

This application uses Dlib. You need to install some system level dependencies to use dlib before running the application.

  • Windows

    You can follow this tutorial to see instructions on getting Dlib on windows.

  • MacOS

    brew install cmake
  • Linux

    sudo apt-get install build-essential cmake
    sudo apt-get install libopenblas-dev liblapack-dev

Installling Python Dependencies

Recommended: Create a python virtual env for the project before proceeding with the following steps

pip install -r requirements.txt

Starting the server

python app.py

Your server should now start running on http://0.0.0.0:8080/

Deploying to Google Cloud App Engine

  1. Download the gcloud sdk

  2. gcloud init

  3. If you're deploying the app for the first time you need to increase the default build timeout - gcloud config set app/cloud_build_timeout 1500

  4. gcloud app deploy