Use your web camera to monitor yourself in front of the computer, and play a warning sound when you touch your face
Use Teachable Machine to train a model to recognize 2 classes of images:
just sitting in front of camera
touching your face
Export the model.
Open index.html in a browser, upload the model files