/mousetracker-solution

A mouse tracker from the web to listen to the click event

Primary LanguagePython

Mouse tracker web server

This is a simple web server, that does the following

  1. Track the data from the movement of the mouse, and shows it in the browser
  2. 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.

How to run it

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

Requirements

Python 3.12