Front-end design | Output after uploading |
---|---|
![]() |
![]() |
Both the facial expression recognition and action-detetion weights have to be downloaded at first. To do this, cd
into the respective directories and execute the download_weights.sh
file using :
./download_weights.sh
If you do not have the permission, run : chmod +x download_weights.sh
Install requirements by running pip install requirements.txt
python runtim.py image_name/video_name
(or)
python runtime.py
In the second case, you'll be asked to enter the name of the image/video.
python realime.py
Inside the frontend directory, run :
npm install
to install all the node modules.
To start the front-end React application, run :
npm start
inside the frontend directory and
python app.py
to run the flask application.