Samsung Labs Gaze Tracking Application Backend for the focus calculation android app.
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
Recommended: Create a python virtual env for the project before proceeding with the following steps
pip install -r requirements.txt
python app.py
Your server should now start running on http://0.0.0.0:8080/
-
Download the gcloud sdk
-
gcloud init
-
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
-
gcloud app deploy