OpenCV Python Tutorial #8 - Face and Eye Detection
HTML-код
- Опубликовано: 22 май 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 RUclips 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!
Hi TIm-Well Done!! Yes please on the Haar-cascade training tutorial. Excellent summary. Thanks Tim!
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!
please continue! keep up the constant uploads!
Would love to see the next video! Great series Tim!
Please continue this series. This was superb for beginners in CV with basic knowledge of python. Thank You.
Would love to train my own Haar classifier. Especially for license plate recognition. Thanks for the awesome training.
Hi Tim, your OpenCV tutorials are really interesting! Please make videos 9 and 10! :)
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 😊.
Hi Tim, you have did a great job, you have explained it very clear.. Good job and ThanksTim!
Great video 👌 as all of your videos are and WE NEED MORE VIDEOS like training for faces and may be objects
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!
Tim , thanks a lot for your opencv vídeos . Great Job!!.
Thanks, Tim. Great work!
I would love a tutorial about creating your own classifiers!
That's Amazing Tim, waiting for next video!!
Thank you Tim, very cool
thank you tim for this great video and this series.
Keep this series going!
We need more of this, Tim.
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.
Very good explanation!
More please! Love the content!
we love you bro. we need to learn how to create our own classifiers. waiting for that video aggressively
Awesome! Please keep doing open cv tutorials
Please more OpenCV, I really like this course
More videos would be amazing!
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!
verey good videos man! please go ahead and do more!
great tutorial... hope there would be more videos for training our own model
I Like the way you explain it👍
This was great!
Hi Tim, really enjoy your videos. Would you consider a tutorial on facial recognition?
Cool. A lot of knowledge
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 videos , you gained a subscriber
Would love to see the 9th and 10th video of this series!
Yup, please do, Tim. Thank you!
just finished the series. Need more videos lol.
NOOOO!!! where is the video to train our own Cascade Classifier!? You have to make it! you explained everything so well
Awesome 👍
More opencv tutorials!
love from india
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??
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.
Really cool video, :D
More on Haar Cascade Classifier from Scratch please!! Thanks.
Thank you Bro :)
excellent video please do more video
Thanks!
this is a great playlist👌
Glad you think so!
@@TechWithTim looking forward to your future playlist
Love from Greece
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
Can you make more openCV videos please?
I really love ur explaination!
Love this series! Please make more
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?
Yes it would like to know how to train my own classifier !
i do want to see more on Haar Cascade Classifier and more videos in this series
Would you try other things for detection?
For example take the pool game, where you need to find more of the same ball
TIM is on TIME😂
Great.....
More please :)
waiting for the next viodes in the series :)
It actually works😄 "here"
yes do the next part
more open cv tutorials please
Please add more videos about opencv 🙏
need more OpenCv videos
please make a video on how to train the classifier:)...thanku so much for teaching me opencv
Tim, more opencv content please
Nice
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
Hi Tim
We are waiting for next video that u said about it
can u explain about the object feature extraction using euclidean distance
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 .
I know this is an old series but would love to see a follow up on training a model.
Please make the video on Haar Cascade Training.
Hoping a positive response from your side.
Thank you❤
please make a tutorial on how to train your own haar cascade classifier
It's interesting, but can you make the same tutorial with not a pretrained classifier? Or at least with an idea how to do that?
Please make a video about training our own classifier !!!
Plz make for us more videos
I'd like to see how to train a haar classifier!
Could you please do more videos on OpenCV:))?
uuhh I would like to see how to train our own classifiers!
Question: on line 15 you wrote "y:y+w". Shouldn't it be: "y:y+h" ?
I really enjoyed the series. I am just entering Computer Vision now. Your way of teach is very easy to understand. Congratulations and thank you!
Yes , u r right!
Hi can you also tackle about PPE detection aws rekog using a video file
Please make another video on this.
Can you make video on how to create text recognition program with python please?
More Please