Palpitate - Server and research source for estimating heart rate from video and audio.
- 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
Get the docker quickstart terminal
./run_server.sh. The first time you do this, the docker image for the server should be pulled from dockerHub.
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
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.