This will only work assuming you have python installed on your computer. (These are instructions for a Windows computer)
To use the web application, you will be required to run a few commands to install the necessary packages in your terminal, as well as downloading the app.py and cnn_weights.pth files.
To install the necessary packages, you simply need to copy and paste the text from requirements.txt, excluding the first line, to your terminal, which can be either Powershell or Command Prompt.
After installing the necessary packages and downloading the aforementioned files, you will need to move those downloaded files to your C:\Users\<your-username-here> directory for ease of use.
Now, open a new terminal session, which will open to the aforementioned directory, and run:
This will run a flask server with our pre-trained model available on it to perform the necessary probability calculations for the web application.
To use this tool, simply click the Upload Image Here! button, choose a file with a human face, preferably zoomed in on the face and somewhat square, click Ok, then see the result. You can try it with as many images as you want by using the Replace file button.
Once you are done using the web application, simply close the flask server by navigating to the terminal window and pressing the [CTRL] and [C] keys simultaneously.
Hope you enjoyed using our tool!