Skip to content

jason-curtis/dont-touch-your-face

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Don't touch your face!!

What is this??

Inspired by the COVID-19 outbreak. The CDC recommends that you avoid touching your eyes, nose or mouth to prevent contracting the disease.

Don't Touch Your Face runs in your browser and detects when you touch your face, and makes an annoying noise to stop you so that you won't contract COVID-19.

screenshot

How to use it

Visit donttouchyourface.net. Accept the camera permissions, then keep that tab open and go about your business. The tab will constantly check for things that look like hands, overlapping things that look like faces.

note: when the tab is in the background, the refresh rate is lower so it won't be as fast to catch you. This is to prevent hogging too much of your system resources

How it works

Don't Touch Your Face uses deep learning with the tensorflow.js library and two libraries that have been built on top of it.

Huge props to handtrack.js which is used to track hands, and face-api.js which is used to find your face.

Isn't this creepy?

Your camera data stays on your computer and your computer does all of the computation locally. We're not sending the video anywhere or collecting it.

Is it perfect?

nope. Sometimes there are false negatives and sometimes there are false positives.

Tell me more

I wrote this in an evening in under 200 lines of code. What a cool world we live in.

About

Don't touch your face! Prevent COVID-19 transmission.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages