paxtek.blogg.se

Install fritzing on raspberry pi 3
Install fritzing on raspberry pi 3





Gmail = GMail( "your-gmail-app-password") The receiver however can be any account email you want to notify. You need to use your gmail account and generate app password. To use email notification to send alert if unknown face is trying to unlock the door.To start entering password using keypad instead using face, you need to press " * " to prompt keypad passcode. Just replace " passcode = " to your secret combination. You can replace the password to your liking. Obama_face_encoding = face_recognition.face_encodings(obama_image) Obama_image = face_recognition.load_image_file( "faces/obama.jpg") You can add as many faces you like but noted that it will take longer to load when started. Also replace the name "obama" to the name of that face name. In faceRecog.py code, replace the "faces/obama.jpg" to your image path. jpg file of the face, rename the image file for easy access. Use snap.py in faces folder from repository snap photo of your face or people who can unlock the door.Change the fields listed below for your own usage: Okay now, it's coding time!Ĭlone this repository into your pi. To power up Raspberry Pi, just use micro USB type-c with supply 5V (Do not supply more than 5V). Don't forget to connect webcam to pi USB port.

install fritzing on raspberry pi 3

You will need HDMI cable to connect the monitor screen. Image generated using Fritzing software įor servo and keypad, the connection is as above. Follow this steps written by Adrian Rosebrock to shorten the dlib installation time a bit. I lost a lot of time just waiting instead of writing code.

install fritzing on raspberry pi 3

Note: Some of the dependencies required a lot of time to install especially dlib.

install fritzing on raspberry pi 3

  • gmail (optional) to send email of face snapshot if unknown face tries to unlock.
  • USB webcam ( i prefer webcam instead of pi cam)įirst, you need all the packages listed below installed on your pi # using python 3.
  • Easy to understand and very helpful documentation. This library called face_recognition by Adam Geitgey. Face recognition may be difficult for me since i am not really into AI, ML and all that stuff. but i take it anyway considering he is a student but on one condition - he needs to be there to help and learn as much as possible. I was so busy all weekdays and trying to get good rest on that day. Wait what bro? tomorrow? I know i can make it possible but tomorrow sure is a lot of hard work man. "Can i have it tomorrow? Need to present on Monday la bro."

    install fritzing on raspberry pi 3

    So last week, i got a last minute request from a student to create a working mock-up for face detection door lock. I am not a pro developer so bare with me! As long it is working, i declare success. As usual, my post usually for beginners easy to understand and for me to learn as well.







    Install fritzing on raspberry pi 3