/mask_recognizer_2000

An app that checks whether you are wearing a mask or not

Primary LanguagePythonApache License 2.0Apache-2.0

Mask Recognizer 2000 😷

An app that checks whether you are wearing a mask or not. Made with OpenCV and Tkinter. This is a competitive work for V Международная очно-заочная научно-практическая конференция обучающихся «МИР МОИХ ИССЛЕДОВАНИЙ».

How does it work?

The script tries to find the nose and mouth on your face. If he couldn't find them, you wear a mask. Pretty simple, huh?

Installation

Python 3.7+

$ git clone https://github.com/raitonoberu/mask_recognizer_2000
$ cd mask_recognizer_2000
$ pip install -r requirements.txt
$ python app.py

Packaging

$ pip install pyinstaller
$ pyinstaller app.spec

A ~60 MB .exe file will be generated in dist folder. It doesn't contain a data folder, so use them together.