This is a simple web server, that does the following
- Track the data from the movement of the mouse, and shows it in the browser
- When left clicking, takes a picture with the webcame that stores in the [<STATIC_FOLDER>/images/] folder, and stores the position of the mouse and the data source of the image in a sql database.
First you need to provide a .env file in the root path of the project with the following values:
SERVER_PORT SERVER_HOST STATIC_FOLDER TEMPLATE_FOLDER ELAPSED_TIME (For time between each mouse event tracked)
chmod +=x ./setup.sh
./setup.sh
Then you can navigate in the browser to see the mouse tracker and list the pictures in the taken position
Python 3.12