Face Recognition With Raspberry Pi + OpenCV + Python

preview_player
Показать описание
Subscribe For More!

Teach your Pi to spot human faces, train it to know your face and run code so that it will successfully identify you when it sees you. Then use your face to control the GPIO!

Make sure to use the Previous Raspberry Pi 'Buster' OS with this Guide.

Related Information

I will show you exactly how to have your Raspberry Pi credit card sized computer be able to spot human faces, how to train it to know your face and run code so that it will successfully identify you when it sees you. Then I'll take it another step and show you how you can use your face to control a servo attached to the Raspberry Pi. Open Source Software and Raspberry Pi go together hand in hand. Two excellent examples of this are OpenCV which provides a huge free resource to solve real-time computer vision problems and the Python Face Recognition Package which computes bounding boxes around a face in real-time. With it working we can do so many things with this now. Simply to start can now jump into the folders with the Python code and alter some lines of code so that every time a known face is seen it will send out signals via the GPIO pin of the Raspberry Pi. These GPIO pins can be used to control an almost endless amount of sensors and mechanisms. In this video I will get a servo to rotate when the Raspberry Pi system sees my face. If it sees someone else face or nobody's face it will not activate the servo. Huge thanks go to the Open-CV and Facial Recognition Package teams that work on the amazing machine learning software that we have running on the Raspberry Pi. Both are really good Open Source software. Also a huge thank you to Caroline Dunn whose created the amazing software that makes these two systems work so well together. There is just so much potential with this software to take projects to amazing places.

Core Electronics is located in the heart of Newcastle, Australia. We're powered by makers, for makers. Drop by if you are looking for:

0:00 Intro
0:10 OpenCV and Face Recognition Package Overview
0:33 Video Overview
0:54 What You Will Need
1:30 Set Up and Training The Model
4:30 Its Working!
4:50 Experimentation with Facial Detection
5:18 Where to Now? (Face Controlled Servo)
6:08 Demonstration
6:38 Acknowledgments
7:02 Outro
Рекомендации по теме
Комментарии
Автор

That was one of the best information instructional videos pertaining to The raspberry PI I have ever seen. You nailed it mate.
Is there any potential towards object recognition?
If so please make a video

dgb
Автор

Cool stuff, this was my disertation project! Face Recognition with Pan & Tilt tracking using two servo motors! :D Tip: use traditional machine learning like Histogram of Orianted Gradient or Haarcascade instead of Deep Neural Nets because they are soooo much faster! Also a good thing to look at is a PID controller. Cheers!

wierzba
Автор

Awesome, great tutorial. I now have this running on my Pi4, MacBookAir and iMac.. Easy to follow and all links etc. provided. Thanks again. 10/10

stevenhillman
Автор

Great tutorial and the article comment section was so informative and helpful when I had issues. Can't wait for more awesome videos from you Tim!

quintonvehon
Автор

My robot projects are about to get creepier. I love it.

iankantian
Автор

Thank you so much for making these videos. They deserve so many views. You're awesome!

alexiscruz
Автор

People that live outside of the city need a version of this that can detect wildlife; bears, cougars, & alligators so they know if it is safe to open their door, doubly true if they have small kids or dogs that want to play in the yard & not be eaten.

Famine
Автор

I am very new and how different it is from bookworm? Also Picamera is no longer available now it is libcamera do you have a tutorial with libcamera. ALso is it possible to avoid pip since we have to create venv . Thanks a lot for your help.

Razibulsumon
Автор

Thanks mate I
it was one of the best info
Lot of your vids has helped me
Keep it up 👍👍

BlizzOd
Автор

This a major help for me ... great tutorial .. One question though .. is there a way to unlearn a face .. so the systme does not recognise it any more

Karne
Автор

Wow this is a great and very smooth tutorial!!!
Do you have both object and face detection with audio output???

samcjsanchez
Автор

Awesome project, Thanks for the steps to install open cv libraries.

amarnathv
Автор

How can i use regular usbwebcam for this?

gapguy
Автор

the best tutorial in its field :)
I have one problem only, that is my devices doesn't support picamera, it support picamera instead, so that VideoStream method is not working

wessambasil
Автор

Timmy, are you still assisting individuals with questions or if they run into a problem with your video?

Jiggafreejay
Автор

hai! Nice video, Can you tell me what Is the accuracy like and how many I can train? As I had a few face recognition project experiences there is very little accuracy and i have tried using various libraries like face recognition using python in my raspberry pi.

xavierrichards
Автор

Hey Timmy,
Thanks a lot the video is great.
We are actually looking how to close the servo motor back after it opens .
Can you please help us out.?

Thank you!

chakrikaanoushapinisetty
Автор

Is it the same with using the high quality camera?

marqofthedwyne
Автор

I had done this using arduino in 2020 . I had use led bulb instead of servo motor

afrojkhan
Автор

very good project bro, do you think I can use a usb webcam, as a camera instead of the raspberry one???

ShavoTako
welcome to shbcf.ru