-
-
Notifications
You must be signed in to change notification settings - Fork 847
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementation in Rasp Pi #53
Comments
Mam, it's Interesting I have done a similar project but never thought of Implementing it in Rasp Pi |
Okay good luck! |
@sahebsunny Are you still working on it? |
mam sorry for the delayed response |
Okay no problem. You can check on other issues meanwhile. :) |
Good day, I and my workmate have decided to play with this project myself and we happened to find a working solution with the Raspberry Pi. However, I am working on replicating the result with my own Raspberry Pi because I only remember a part of the solution as I was working on the bugs. Edit: Since the beginning of April, we did not know that this was a solution that people were searching for till the day that I typed this comment. To briefly explain what we have done, we installed a version of numpy that happened to work with the entire algorithm. Sadly, this is where I do not have specific information on the problem. But after solving this problem, we moved on to edit a few lines of code in the file "hdf5_format.py" based on the error readings we got while trying to run the algorithm. As I said earlier, I'm still working on replicating my results, and I will try to get back here as soon as I can. Edit: I do not wish to officially say that I'd like to take over this problem, but if I manage to find the solution, I will request permission to add my solution to this repository. |
you just need to install separate libraries on the raspi. In addition to that, you need a picamera implementation. Setting up mkvirtualenv on the pi is a pain. pip install "picamera[array]" import picamera by: This is on a really old build though. Something like 8-9 months ago(you didn't have the heroku app then iirc) |
So we've modified the requirements file to look like this From what we tested, the program works well with the above mentioned versions of numpy (a newer version) and scipy (an older version). It is recommended to manually install the above mentioned versions of openCV (4.5.0 works as well) and TensorFlow, which we managed to accomplish through qengineering.eu My assumption regarding the manual installation is that a direct approach with python leads to the installation of outdated files. |
Hi, i am trying to run this project on Raspberry pi 32 bit buster OS. Was able to install all the libraries with help of suggestions above, thanks to Allisthenics. Executing train_mask_detector.py , i am seeing below error. Appreciate your help. (cv) pi@raspberrypi:~/Downloads/Face-Mask-Detection $ python3 train_mask_detector.py --dataset dataset |
Please create a go-to-code folder comprising the necessary codes to detect masks using Rasp Pi.
The text was updated successfully, but these errors were encountered: