Hi! How are you?
Hope you are wearing your mask during current pandemic.
To help you with that task here is an app that uses webcam to detect real-time if you are wearing it. Check it under: https://github.com/partyka1/mask-off ! It requires basic python knowledge and a webcam.
Cheers stay safe!