The goal of this project is to adjust difficulty of learning based off of facial expressions.
Our program looks at the facial expressions of the client, sends that image to the server every second, and our model find out whether the face looks happy, sad, or nuetral.Then, our server sends that back to the client.
This is the end to where we got in our implementation, but the goal would be to change the difficulty of the problems on the website for the students based on their mood over time.
We believe our project is scalable and modular, and has great potential.
Dependencies
Flask==3.0.2
opencv_python==4.9.0.80
Pillow==10.2.0
torch==2.2.2
torchvision==0.17.2
Python==3.11.5
Open Terminal in Catapult directory and run the following commands
- export FLASK_APP=moodio.py
- flask run --port 5001
- Finally, connect to host with client.
Make sure to have a working webcam. set up video tutorial
Source: https://www.geeksforgeeks.org/how-to-send-a-json-object-to-a-server-using-javascript/
