Count the number of times you touch your face and change your habits.
Made using JavaScript and implemented using face-api.js and handtrack.js which are implemented on top of tensorflow.js.
- Clone the project using :
git clone https://github.com/joshua-noronha13/Count-Face-Touches.git
- Make sure python is installed and run :
python -m SimpleHTTPServer
- Open the application on localhost:8000
Here is a demo of the code in action, still a work in progress.
- A few drawbacks need to be addressed, the code detects touches by checking individual images. So the number of touches depends on when the images are checked. So one long touch could be classified as multiple touches.
- To fix this a model would need to be trained (probably an LSTM), video data for the same would be needed, any help in this space is appreciated