Second Advanced Numerical Methods Project: Hear Beat Rate
These instructions will install the development environment into your local machine.
- Clone the repository
$ git clone https://github.com/lobo/mna-tp1.git
- Install Python3 and pip3
A. Install packages
B. Update the
$ brew install python3
PATH
variable to use the Homebrew's python packages$ echo 'export PATH="/usr/local/opt/python/libexec/bin:$PATH" # Use Homebrew python' >> ~/.bash_profile $ source ~/.bash_profile
$ sudo apt-get install python3.6 python3-pip
IMPORTANT: First of all, create a folder in the root of this project called recolected_info
.
There are four different ways of using this application. These are listed below:
- To run the basic usage of this program, run:
python3 main.py [path_to_video]
. The output will be inserted inrecolected_info
. - To have a more exact representation, run:
python3 main.py [path_to_video] --filter true
. The output will be inserted inrecolected_info
. - To run the time window analyzer, run:
python3 ./time_window_analizer.py [path_to_video]
. The output will be displayed on the terminal. - To run the window size analyzer, run:
python3 ./window_size_analizer.py [path_to_video]
. The output will be displayed on the terminal.