Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jithinolickal/face-mask-detection

AI face mask detection with machine learning and python
https://github.com/jithinolickal/face-mask-detection

ai face-detection face-mask-detection image-processing machine-learning opencv python sklearn

Last synced: 14 days ago
JSON representation

AI face mask detection with machine learning and python

Awesome Lists containing this project

README

        

### Install necessary packages
```
pip install -r tests/unit_tests/requirements.txt
```

## STEPS

### 1. Generate training data
1. Run `generate_data.py` 2 times (with mask and without mask) - Make sure to rename the file each time
```
pythin generate_data.py
```
2. Provide the number of image data frame that needs to be captured
3. Make sure you have two `.npy` files after running this file (with mask and without mask)

### 2. Testing it live
1. Run
```
python face_mask_detection.py
```