Skip to content

OsamaALHajj/FaceMaskAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Real-Time Face Mask Detection

This project opens your camera and detects face masks in real time using OpenCV.


Example Output

  • Red box → indicates mask status
  • Text shows category + confidence
  • Supports multiple faces in one frame

Future Improvements

  • Add YOLOv8 version
  • Export to ONNX for faster inference
  • Build GUI using PyQt
  • Add mobile version using TensorFlow Lite

Dataset

The model was trained using the Face Mask Detection Dataset from Kaggle:
https://www.kaggle.com/datasets/andrewmvd/face-mask-detection?utm_source=chatgpt.com&select=images


📦 Dataset After Training

You can download the processed dataset/model after training from this link: https://drive.google.com/file/d/1jPrlJy5mcRDvlyf5DDY-JdyVfDzjT6xw/view?usp=sharing


License

This project is open-source and free to use.


Author

Developed by Osama Mohammed AlHajj
GitHub: https://github.com/OsamaALHajj

🎭 FaceMaskAI

AI-Powered Face Mask Detection using PyTorch & Faster R-CNN


📥 Total Downloads

About

An AI project using PyTorch and OpenCV with the Faster R-CNN model to detect people wearing or not wearing masks in images and videos. It analyzes faces, classifies the category (with_mask, without_mask, mask_worn_incorrectly), and visually displays the results.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages