{"id":19462626,"url":"https://github.com/webrtchacks/facetouchmonitor","last_synced_at":"2025-04-25T08:31:20.443Z","repository":{"id":66144811,"uuid":"248394014","full_name":"webrtcHacks/facetouchmonitor","owner":"webrtcHacks","description":"monitor how often you touch your face with WebRTC and tensorflow.js","archived":false,"fork":false,"pushed_at":"2020-10-09T17:43:38.000Z","size":28,"stargazers_count":72,"open_issues_count":1,"forks_count":15,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-03T19:01:36.810Z","etag":null,"topics":["bodypix","tensorflow","tfjs"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webrtcHacks.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-03-19T02:39:14.000Z","updated_at":"2024-10-31T13:10:47.000Z","dependencies_parsed_at":"2023-02-21T16:45:21.885Z","dependency_job_id":null,"html_url":"https://github.com/webrtcHacks/facetouchmonitor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webrtcHacks%2Ffacetouchmonitor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webrtcHacks%2Ffacetouchmonitor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webrtcHacks%2Ffacetouchmonitor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webrtcHacks%2Ffacetouchmonitor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webrtcHacks","download_url":"https://codeload.github.com/webrtcHacks/facetouchmonitor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250782064,"owners_count":21486382,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bodypix","tensorflow","tfjs"],"created_at":"2024-11-10T18:04:18.388Z","updated_at":"2025-04-25T08:31:20.196Z","avatar_url":"https://github.com/webrtcHacks.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FaceTouchMonitor.com\n\nA website that monitors when you touch your face. \n\nIn addition to washing your hands often, the [CDC](https://www.cdc.gov/coronavirus/2019-ncov/prepare/prevention.html) recommends that you avoid touching your eyes, nose, and mouth with unwashed hands. This can be hard to do without a reminder.\n\nThis project uses the [BodyPix](https://github.com/tensorflow/tfjs-models/tree/master/body-pix) project from [tensorflow.js](https://www.tensorflow.org/js/) to detect hands and faces.\nWhen a hand intersects with the face it is considered a touch.\nSet beep alerts or get a browser notification when you do. \nThe reminders can you train yourself to stop accidental face touching. \n\nNo information is shared externally - no images are transmitted and all ML processing is done locally in the browser.\n\nTry it at https://facetouchmonitor.com.\nRead about it at https://webrtchacks.com/\n\n## Demo video\nIt only takes seconds to [try yourself](https://facetouchmonitor.com).\n\n[![Alt text](https://img.youtube.com/vi/V4ogsQJPu0U/0.jpg)](https://www.youtube.com/watch?v=V4ogsQJPu0U)\n\n## Usage Notes (and to do list)\n\n### Browsers and Devices\n* Browser support - tensorflow.js works best on Chrome and has been tested in the new Edge and Firefox. I haven't been able to make it work with Safari. \n* It will work on faster mobile devices, but the page is not responsive\n\n### Detection\n* The detection method is relatively crude - it has no depth perception, so a hand in front of your face will set it off. \n* A face is considered anything with one eye and a nose (according to its detection)\n* It usually does not detect as well if you are very close to the camera. \n* It is not optimized to handle multiple people\n\n### CPU Utilization\n* BodyPix can be CPU intensive on some devices - it will not work well on slower devices\n* If the FPS drops below 5 FPS, try using the _Fastest_ setting\n* It works best if you can keep the browser tab in the foreground so background throttling is not invoked\n\n### Pull Request ♥ \n\nThe CSS fixes from [dharmadeveloper108](https://github.com/dharmadeveloper108) are much appreciated!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebrtchacks%2Ffacetouchmonitor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebrtchacks%2Ffacetouchmonitor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebrtchacks%2Ffacetouchmonitor/lists"}