Giter Site home page Giter Site logo

face_mask_detection's Introduction

face_mask_detection's People

Contributors

carolinedunn avatar

Stargazers

Muhammad Rafi Yudhistira avatar Vaibhav Yadav avatar Guo-Cheng Lee avatar Hari Prasanth avatar Shiro Jatau avatar  avatar Marshal Miller avatar Miguel Connor avatar Evhenii Rvachov avatar Đỗ Hiền avatar Ikram BEN ABDEL OUAHAB avatar  avatar  avatar Zhuxian Mei avatar Noor Bhatia avatar Luigino De Togni avatar HuZhiwei avatar Rokib Hasan avatar George Delaportas (ViR4X) avatar Rafael Alcantara avatar  avatar

Watchers

James Cloos avatar  avatar

face_mask_detection's Issues

Error with python3 "decode"

I've followed this project of yours. Facing error in the end.

Traceback (most recent call last):
File "detect_mask_picam.py", line 95, in
maskNet = load_model(args["model"])
File "/usr/local/lib/python3.7/dist-packages/tensorflow_core/python/keras/saving/save.py", line 146, in load_model
return hdf5_format.load_model_from_hdf5(filepath, custom_objects, compile)
File "/usr/local/lib/python3.7/dist-packages/tensorflow_core/python/keras/saving/hdf5_format.py", line 166, in load_model_from_hdf5
model_config = json.loads(model_config.decode('utf-8'))
AttributeError: 'str' object has no attribute 'decode'

Can you please provide a solution?
Error

Where did face-dectector/res10_300x300_ssd_iter_140000.caffemodel come from?

Thank you for the demo. It was fun to setup.
As I was studying the files, I found the pre-trained model for face detection, but could not figure out where it came from. Looking for that file on the net, I found several places where it and the associated deploy.prototxt were added to various github projects and even a reference to OpenCV. But I could not find the source anywhere.
If you have some time, I would love to learn where this came from and how you learned about this model.
Thanks, Al

ValueError: Empty training data.

Hello Mrs Carolinedunn,
Thank you for providing an amazing resource on face mask detection.
but I am getting the following error when I am calling the train_mask_detector. The folders have been arranged in the same order as the one provided in the Github repository.
Pls provide me with the solution to rectify the error
Thanking you,

raise ValueError('Empty training data.')
ValueError: Empty training data.

SavedModel file does not exist!

I am getting this error on executing python3 detect_mask_webcam.py
OSError: SavedModel file does not exist at: /home/pi/Documents/face_mask_detection/mask_detector.model/{saved_model.pbtxt|saved_model.pb}

Although there is a mask_detector.model in the directory referred above

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.