OpenCV Python Tutorial #8 - Face and Eye Detection
Vložit
- čas přidán 26. 07. 2024
- Welcome to this OpenCV Python tutorial! In this video, I'll be showing you how to do a live face and eye detection and tracking in Python using OpenCV. The code for the face/eye detection is very straightforward, and we'll be using Haar Cascade.
💻 AlgoExpert is the coding interview prep platform that I used to ace my Microsoft and Shopify interviews. Check it out and get a discount on the platform using the code "techwithtim" algoexpert.io/techwithtim
📄 Relevant Documentation: opencv-python-tutroals.readth...
📄 StackOverflow Post: stackoverflow.com/questions/2...
📝 Code For This Series: github.com/techwithtim/OpenCV...
🔍 Playlist: • OpenCV Python Tutorials
⭐️ Timestamps ⭐️
00:00 | Introduction & Overview
00:53 | Haar Cascade explanation
02:43 | Loading Haar Cascade Classifiers
03:52 | Face Detection
11:43 | Eye Detection
15:12 | Finished Code/Demo
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
💰 Courses & Merch 💰
💻 The Fundamentals of Programming w/ Python: tech-with-tim.teachable.com/p...
👕 Merchandise: teespring.com/stores/tech-wit...
🔗 Social Medias 🔗
📸 Instagram: / tech_with_tim
📱 Twitter: / techwithtimm
⭐ Discord: / discord
📝 LinkedIn: / tim-ruscica-82631b179
🌎 Website: techwithtim.net
📂 GitHub: github.com/techwithtim
🔊 Podcast: anchor.fm/tech-with-tim
🎬 My CZcams Gear 🎬
🎥 Main Camera (EOS Canon 90D): amzn.to/3cY23y9
🎥 Secondary Camera (Panasonic Lumix G7): amzn.to/3fl2iEV
📹 Main Lens (EFS 24mm f/2.8): amzn.to/2Yuol5r
🕹 Tripod: amzn.to/3hpSprv
🎤 Main Microphone (Rode NT1): amzn.to/2HrZxXc
🎤 Secondary Microphone (Synco Wireless Lapel System): amzn.to/3e07Swl
🎤 Third Microphone (Rode NTG4+): amzn.to/3oi0v8Z
☀️ Lights: amzn.to/2ApeiXr
⌨ Keyboard (Daskeyboard 4Q): amzn.to/2YpN5vm
🖱 Mouse (Logitech MX Master): amzn.to/2HsmRDN
📸 Webcam (Logitech 1080p Pro): amzn.to/2B2IXcQ
📢 Speaker (Beats Pill): amzn.to/2XYc5ef
🎧 Headphones (Bose Quiet Comfort 35): amzn.to/2MWbl3e
🌞 Lamp (BenQ E-reading Lamp): amzn.to/3e0UCr8
🌞 Secondary Lamp (BenQ Screenbar Plus): amzn.to/30Dtafi
💻 Monitor (BenQ EX2780Q): amzn.to/2HsmUPZ
💻 Monitor (LG Ultrawide 34WN750): amzn.to/3dSD7tS
🎙 Mic Boom Arm (Rode PSA 1): amzn.to/30EZw9m
🎚 Audio Interface (Focusrite Scarlet 4i4): amzn.to/2TjXsih
💸 Donations 💸
💵 One-Time Donations: www.paypal.com/donate?hosted_...
💰 Patreon: / techwithtim
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
⭐️ Tags ⭐️
- Face detection in OpenCV
- Haar Cascade OpenCV
- Python
- Computer vision
- Cameras and video capture
- Eye detection
⭐️ Hashtags ⭐️
#OpenCV #Python #FaceDetection
I’m a simple man. I see a TechWithTim video, I click it AND like it.
Am I gonna need to rewatch it again to use it properly? Probably. Am I interested in just learning more and listening anyways to expand my tech knowledge? Absolutely.
Pls make the other video's
More openCV videos would be amazing. Thanks Tim!!
+100
we do need more
can u plz tell me what is the name haar cascade XML file for noses??
Yes Tim more please. Training our own classifier would be extremely helpful
can u plz tell me what is the name haar cascade XML file for noses??
How about the once like hand written digets?
I have finished all video tutorials you have done until now and they're awesome. The way you explain is great and precise. I wish you can continue with this topic in future videos. Thanks a lot.
I HAVE BEEN SEARCH ALL DAY FOR SOMEONE TO EXPLAIN THIS CODE AND YOU'R THE ONLY ONE WHO REALLY EXPLAIN IT , THANK YOU SO MUCH FOR SHARING THIS VIDEO WITH US!!!
Yes Tim, I would like more of face tracking. Even hand tracking or possibly body movement tracking. I will be using it for my blender animations. You Have a very clear way of explaining these things. Hopefully all is well with you, and I hope to see more of this soon. Have a great one!
Tim , you make my day, your videos always bring me so many things helpful to me, and PLEASE keep doing this opencv series, i would love to spend time i have to dive into your lessons. :))))
Thank you so much for your tutorials Tim! I'm doing a school project using openCV and this has been very helpful
legit first time i stuch through a coding tutorial cuz he explains it so naturally and makes it rlly easy to understand. thx!
The playlist has good content, can't wait for the training of your Haar cascade classifier
Awesome tutorial series Tim! Many thanks for the effort!
Hi TIm-Well Done!! Yes please on the Haar-cascade training tutorial. Excellent summary. Thanks Tim!
Dear Tim bro,
I live in Bangladesh 🇧🇩. I am an electrical engineer. And I make transformers at our factory.
Take love from Bangladesh 🇧🇩 bro. You are really awesome. You are our inspiration. I always eagerly wait everyday for your new videos.
Pls make thousands of videos 😊.
please continue! keep up the constant uploads!
Would love to see the next video! Great series Tim!
Hi Tim, you have did a great job, you have explained it very clear.. Good job and ThanksTim!
Would love to train my own Haar classifier. Especially for license plate recognition. Thanks for the awesome training.
Tim , thanks a lot for your opencv vídeos . Great Job!!.
Please continue this series. This was superb for beginners in CV with basic knowledge of python. Thank You.
Great video 👌 as all of your videos are and WE NEED MORE VIDEOS like training for faces and may be objects
Thanks, Tim. Great work!
That's Amazing Tim, waiting for next video!!
Yes please do the haar cascade creation video! So we can apply what you taught more easily to our own applications! Or maybe use some tensorflow? Btw love what you’re doing!
Hi Tim, your OpenCV tutorials are really interesting! Please make videos 9 and 10! :)
thank you tim for this great video and this series.
we love you bro. we need to learn how to create our own classifiers. waiting for that video aggressively
Keep this series going!
Hi Tim. 2 suggestions for opencv:
1. code for multiple object detection in a live video
2. code for distance between 2 object in a live video
Please consider doing a tutorial for this.
Thank you Tim, very cool
More please! Love the content!
Very good explanation!
We need more of this, Tim.
I would love a tutorial about creating your own classifiers!
Please more OpenCV, I really like this course
Awesome! Please keep doing open cv tutorials
This was great!
verey good videos man! please go ahead and do more!
More videos would be amazing!
great tutorial... hope there would be more videos for training our own model
I Like the way you explain it👍
great videos , you gained a subscriber
I think you misspelled at line 15, y+w -> y+h.
Yep, the reason why it seemed to work ok is a face is kind of close to a square.
Great video!!! I've followed along on both of your chatbot/voice assistant tutorials, I'm wondering how to build a chatbot with image recognition. That would be great if you would make a tutorial on it!
love from india
Cool. A lot of knowledge
Thanks!
Yup, please do, Tim. Thank you!
NOOOO!!! where is the video to train our own Cascade Classifier!? You have to make it! you explained everything so well
Thank you so much
Thanks for this video series. A ninth or tenth video would be nice. One about computer vision using convolutional neural network would be nicer still. Got to learn a lot from these tutorials and reading about the algorithms that are used.
can u plz tell me what is the name haar cascade XML file for noses??
Thank you Bro :)
Awesome 👍
just finished the series. Need more videos lol.
Would love to see the 9th and 10th video of this series!
Hi Tim, really enjoy your videos. Would you consider a tutorial on facial recognition?
Really cool video, :D
excellent video please do more video
More opencv tutorials!
Love from Greece
More on Haar Cascade Classifier from Scratch please!! Thanks.
Hi Tim. Thanks for that video. Could you make video how to actually train the classifier. And maybe how to make it working with Raspberry Pi.
Can you make more openCV videos please?
I really love ur explaination!
Great.....
this is a great playlist👌
Glad you think so!
@@TechWithTim looking forward to your future playlist
Yes it would like to know how to train my own classifier !
Tim please make some more vidoes with this module along with some advanced project ideas using open cv..........please that would be helpful a lot
It actually works😄 "here"
i do want to see more on Haar Cascade Classifier and more videos in this series
yes do the next part
waiting for the next viodes in the series :)
more open cv tutorials please
TIM is on TIME😂
Great video series!
Where you've used x+w, y+h, ex+ew and ey+eh to use width and height to calculate the rectangle corners opposite the location coordinates x, y, ex and ey, shouldn't you have used x+w-1, y+h-1, ex+ew-1 and ey+eh-1 to draw rectangles _on_ the edge of the matched area? Alternatively, use x-1, y-1, ex-1 and ey-1 to draw _around_ the matched area.
They're small differences that aren't important for a quick demonstration but might be important for more critical work.
Hey could you explain why this is better than x+w and y+h?
More please :)
need more OpenCv videos
Nice
Please add more videos about opencv 🙏
Hi Tim
We are waiting for next video that u said about it
I am a year late to the party, but I sure would like more videos in this series. Anything realy. Computer vision is so in demands .
please make a video on how to train the classifier:)...thanku so much for teaching me opencv
Tim, more opencv content please
Would you try other things for detection?
For example take the pool game, where you need to find more of the same ball
uuhh I would like to see how to train our own classifiers!
can u explain about the object feature extraction using euclidean distance
Please make a video about training our own classifier !!!
please make a tutorial on how to train your own haar cascade classifier
Plz make for us more videos
We need more 😢😢😢😢😢
More pleassseeeee
Could you please do more videos on OpenCV:))?
I know this is an old series but would love to see a follow up on training a model.
I'd like to see how to train a haar classifier!
Please make the video on Haar Cascade Training.
Hoping a positive response from your side.
Thank you❤
More Please
please make the next video of this series please
I don't know if this was mentioned, but you need to install
*OpenCV-contrib-python module*
For me, regular OpenCV didn't come with the algorithms described in the video
Thank youu! I was wondering why i didn't see any suggestions when I was writing my code
Please make another video on this.
Plz we want more open cv vidéos
Hi can you also tackle about PPE detection aws rekog using a video file