No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data_analysis
palpitateDockerBuild
server
static
templates
test_utilities
video_analysis
.gitignore
.travis.yml
README.md
app.py
heart_rate_client.py
heart_rate_server.py
run_server.sh
run_tests.sh

README.md

Palpitate - Server and research source for estimating heart rate from video and audio.

Build Status

Repo Structure

  1. data_analysis: For Machine learning experiments and data preparation.
  • video_analysis: For Analysing video of people's faces.

  • server: For the flask server which hosts the video processing and applies the neural network models in real time.

  • palpitateDockerBuild: Scripts for building the docker image the server is run with. Also used for Jenkins testing.

Running the Server

  1. Get the docker quickstart terminal

  2. Run ./run_server.sh. The first time you do this, the docker image for the server should be pulled from dockerHub.

  3. Wait for apporximately 6 minutes, the models for the video and and audio analysis are being made and compiled. When the log prints 'worker started' several times, the server is ready to be used

  4. To access the page, use the IP adress of the docker daemon on your computer, and access port 5000

Re-running the server

If the server crashes for some reason. use ctrl-c to cancel the process, use docker ps to find the process for the server and then run docker rm -f <processID>. This makes sure the broken server is removed from the port.