```bash
$ git clone https://github.com/Sai-Adarsh/facial-stress-using-thermal-image.git
$ cd facial-stress-using-thermal-image
$ pip install -r requirements.txt
```
```bash
project\thermalai\predictor\predict.py
tutorial-2-image-classifier\predict.py
tutorial-2-image-classifier\train.py
```
```bash
# Linux
$ source ./venv/bin/activate
# Windows
$ cd venv/Scripts/
$ activate
```
Place your thermal dataset in the training_data and testing_data folders.
```bash
$ cd tutorial-2-image-classifier
$ python train.py
```
```bash
$ cd tutorial-2-image-classifier
$ python predict.py sample.jpg (any extension works)
```
```bash
$ cd project\thermalai
$ python manage.py runserver
```
Open a new CMD terminal (Ensure that Raspbian OS is installed on the Raspberry Pi).
```bash
$ cd project\thermalai\thermalai
# Add the desired host and its ports to the ALLOWED_HOSTS section of settings.py
$ cd project\thermalai
$ python manage.py runserver
$ cd RaspberryPi
# Windows
$ runthisstress.sh
# Linux
$ ./runthisstress.sh
```