https://github.com/lambiengcode/mask-detection-python
mask detection using tensorflow and opencv
https://github.com/lambiengcode/mask-detection-python
machine-learning mask-detection python3
Last synced: 5 days ago
JSON representation
mask detection using tensorflow and opencv
- Host: GitHub
- URL: https://github.com/lambiengcode/mask-detection-python
- Owner: lambiengcode
- Created: 2020-12-03T16:07:53.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-04-02T16:59:37.000Z (almost 3 years ago)
- Last Synced: 2026-02-06T14:22:51.512Z (about 1 month ago)
- Topics: machine-learning, mask-detection, python3
- Language: Python
- Homepage: https://t.me/lambiengcode
- Size: 19 MB
- Stars: 10
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mask_detection_python
This is a mask detection application using Python and OpenCV. The application uses a Deep Learning model to detect whether a person is wearing a mask or not. The model is trained using a dataset of images of people wearing and not wearing masks.
## Getting Started
To get started with this application, follow these steps:
Clone the repository:
```bash
git clone https://github.com/lambiengcode/mask_detection_python.git
```
Install the required dependencies:
```bash
pip install -r requirements.txt
```
Run the application:
```bash
python detect_mask_video.py
```
## Usage
The application will use your default camera to capture frames and detect if a person is wearing a mask or not. The application will draw a rectangle around the face and indicate if a mask is detected or not.
## Contributing
Contributions are welcome and appreciated. To contribute to this project, follow these steps:
1. Fork the repository
2. Create a new branch: git checkout -b feature/my-feature
3. Make your changes and commit them: git commit -am 'Add new feature'
4. Push your changes to your fork: git push origin feature/my-feature
5. Submit a pull request
## License
This project is licensed under the MIT License. See the LICENSE file for more information.
##Acknowledgments
This project was inspired by the need to detect mask-wearing during the COVID-19 pandemic. The deep learning model used in this project was trained using the [Face Mask Detection](https://github.com/lambiengcode/mask_detection_python) dataset.