GithubHelp home page GithubHelp logo

achen353 / face-mask-detector Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 11.0 77.42 MB

Proper Mask Wearing Detection and Alarm System based on Deep Learning and trained using Tensorflow/Keras

License: MIT License

CSS 33.92% Python 66.08%
covid-19 deep-learning face-mask-detection keras-tensorflow mask-detection

face-mask-detector's Introduction

👋   Hi! My name is Andrew.

Here's are some facts about me:

  • 💡   I'm a software engineer working in the San Francisco Bay Area.
  • 🎓   I graduated from Georgia Tech specializing in machine learning. Happy to connect with aspiring/current Yellow Jackets interested in the tech industry!
  • 🌱   I'm all up for building robust and cost-efficient ML models and delivering trustworthy AI solutions to production.
  • ⛹️‍♂️   In my free time, I enjoy working out, playing basketball and learning new things.
  • ✉️   Feel free to reach out to me on LinkedIn.

🛠   Tech Stack

Python  SQL  Java  C  JavaScript  HTML  CSS  Git  GitHub  PyCharm 

NumPy  Scipy  Pandas  Scikit-learn  OpenCv  NLTK  Spacy  Transformers  PyTorch  Tensorflow  Keras 

Django  MongoDB  FastAPI  Docker  Kubernetes  Google Cloud Platform  Tableau 

face-mask-detector's People

Contributors

achen353 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

face-mask-detector's Issues

Could not read the Face detection model

Hey when I run the code in 'detect_mask_video', I receive this error:

cv2.error: OpenCV(4.5.5) D:\a\opencv-python\opencv-python\opencv\modules\dnn\src\caffe\caffe_io.cpp:1126: error: (-2:Unspecified error) FAILED: fs.is_open(). Can't open "./face_detector_model/deploy.prototxt" in function 'cv::dnn::ReadProtoFromTextFile'

My installed libraries are:

Tensorflow~=2.7.0
matplotlib~=3.4.1
numpy~=1.19.5
scikit-learn~=0.24.1
opencv-python-headless~=4.5.5.62
dash~=1.18.1
textwrap3~=0.9.2
gunicorn~=20.0.4

Is this happening because my libraries aren't the same versions?

Project doesnt work

I tried this project and looks like its not tested. Are the requirements.txt having all needed libraries?

(fm1) pi@raspberrypi:/Downloads/achen353/src $ python detect_mask_images.py -i example_images/pic1.jpg
python: can't open file 'detect_mask_images.py': [Errno 2] No such file or directory
(fm1) pi@raspberrypi:
/Downloads/achen353/src $ python detect_mask_image.py -i example_images/pic1.jpg
RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd
Traceback (most recent call last):
File "detect_mask_image.py", line 6, in
import cv2
File "/home/pi/.virtualenvs/fm1/lib/python3.7/site-packages/cv2/init.py", line 8, in
from .cv2 import *
ImportError: numpy.core.multiarray failed to import

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.