OpenCV tutorial for beginners | FULL COURSE in 3 hours with Python
2024 ж. 16 Мам.
47 201 Рет қаралды
Welcome to this 3 hours course on OpenCV with Python. This course is ideal for beginners in OpenCV and computer vision!
Enjoy!
Code: github.com/computervisioneng/...
00:00 Intro
00:57 Lesson 1: What are images?
09:29 Lesson 2: Input / Output
28:12 Lesson 3: Basic operations
38:57 Lesson 4: Colorspaces
51:39 Lesson 5: Blurring
1:06:56 Lesson 6: Threshold
1:22:13 Lesson 7: Edge detection
1:31:31 Lesson 8: Drawing
1:45:17 Lesson 9: Contours
2:01:24 *Bonus lesson*
2:09:30 Project 1: Color detection
2:28:48 Project 2: Face anonymizer
3:10:32 Outro
#computervision #opencv #computervisioncourse #opencvcourse #machinelearning #python
Did you enjoy this video? Try my premium courses! 😃🙌😊 ● End-To-End Computer Vision: Build and Deploy a Video Summarization API bit.ly/3tyQX0M ● Hands-On Computer Vision in the Cloud: Building an AWS-based Real Time Number Plate Recognition System bit.ly/3RXrE1Y ● Machine Learning Entrepreneur: How to start your entrepreneurial journey as a freelancer and content creator bit.ly/4bFLeaC All my premium courses are available to the Computer Vision Experts in my Patreon. 😉 www.patreon.com/ComputerVisionEngineer
Thanks for sharing your OpenCV knowledge
I am brand new to OpenCV...you are such a great instructor. Thanks a lot.
Thank you for this tutorial and for taking the time to explain I do agree when you say that sometimes you can use a few lines using powerful functions. So simple it's genius!
One of the best tutorials about OpenCV I've seen! Keep up the good work brother!
😊Thank you. I am happy you enjoyed it! 😃
Hello, Fellipe! Thank you very much for your great work 🙏 it is awesome
😃Thank you! Glad you like it. 😊🙌
First of all, thank you very much for your wonderful work in sharing your knowledge... I confess that I'm a beginner and I've never programmed in my life, I'm suffering a lot, but I see that with each step I learn a little, I still have a lot of doubts, but that's ok, I'm absorbing the knowledge and who knows, I'll improve, but I'm extremely grateful, very thank you great master.
You are just amazing !! Thank you so much for all the efforts 🙂
😃 You are welcome, Shweta! 🙌
Thank you sir , this tutorial helped me lot 😊
This is the best tutorial I've even seen thankyou so much. ❤
You are welcome! Glad you enjoyed it! 😃🙌
You have the best computer vision channel in youtube, i love your contents and you are the best teacher!! thanks a lot Fellipe!
Thank you for your support! 😃🙌
Thank you very much ! This is an amazing tutorial !!!
You are very welcome!! 😃🙌
great work thank you. one of the best teacher I ever seen. thank you again and again
Thank you for your kind words. I am glad you enjoyed the video! 😃🙌
These course deserves millions of views
Thanks for the videos! They're very helpful!
You are welcome!
Very helpful and inspiring!
Thank you! Glad you enjoyed it! 😃💪
Hello sir! I want to express my sincere gratitude for your teaching and conviction in explaining these concepts. Thank You sir, looking forward to learning more and upskill. Subscribed!👌🤘
awesome man love your energy
Hey Isfhan, I am glad you enjoyed it! 😃 Energy is what software development and engineering is all about! 💪🔥⚡
Amazing sir ✨ thanks for such amazing tutorial ✨
You are welcome, Numan! I am glad you enjoyed it! 😃💪
I was suffering to learn computer vision from last 2 months after that I found your videos . And up to now according to my opinion you are the best teacher of computer vision . I also take many paid courses but they are also not able to add that much value how much you add . Thank you very much . God bless you sir...
Thank you!! So happy you enjoy the content and find it helpful! 😃🙌
thanks
At 24:06 if we are directly taking while True: , then how it will consider ret as boolean as we haven't initialized it yet .
Thank you very much for the extensive tutorial! So simply explained. Maybe you can also do a tutorial like this one on YOLO. 🙂
You are welcome! Do you mean with ultralytics yolov8? Or other versions of Yolo?
Best my man
Thank you so much for your support! 😊🙌
My brain: jump to bonus lesson 💀 Ahh I knew it'll definitely be great tutorial, as you said "75% of CV problems are solved using opencv" and now you've given a clean tutorial of it. Thank you so much🙌🏻
Hey Sreekar, I am so happy you enjoyed it! 😃 Yeah, simple image processing techniques based on OpenCV are way more powerful than we usually think! 💪🔥
Thank you sir😊
My pleasure! I am happy you enjoyed it, Digvijay! 😃🙌
Make a video of deep fake detection using the face forensics++ dataset(image and video) if possible. And how to deploy this model and integrate into a website or mobile app.
Yo! Looks like I found my OpenCV mentor 😉
😃💪
Thank you for the tutorial, it so well organized, there are other tutorials but way too long and scattered.
Hello, Felipe. I noticed that when you hover over the images, with the mouse pointer, used in your examples, you get the screen the X,Y coordinates and RGB values at the bottom of the image window for the pixel depending on where the cursor is placed on the image. How is this achieved? Excellent tutorial by the way, thanks!
Hey, thank you! That is a built in feature of the visualization library I was using. If you execute the same code as I did in the video you should be able to see it too. 🙌
@@ComputerVisionEngineer which visualization library are u using sir?
It's the library opencv uses by default and that is matplotlib (I think)
cool video)
thank you soooooooooooooo much
You are welcomeeee! 😃🙌
Hi master ....in half of tutorial video ...when you are teaching color detection ..and after you use util library ..this library don't work for me ..I need replacement solution ...thank you .
Great tutorial! How could I get the image windows to show the RGB values? I am using windows 11 and pycharm...
It is not shown with imshow?
No... does it have to do with what is the default app that is opening these image/video windows?@@ComputerVisionEngineer
Hello Fellipe, would it be possible to provide info/video on setting up Python, OpenCV, Mediapipe on a MacBook M2?
Oh I am a Linux user, not sure if I can make a video about that. But I am sure there are other videos on KZhead about how to set it up on a Mac. Have you searched for it? 🙌
@@ComputerVisionEngineer Thanks for your reply. Yes I tried searching, but unable to find any which shows setting up on new Mac M2. I recently bought and struggling to do installation. I did install Python, OpenCV but mediapipe is where I got stuck.
You should add this to your playlist bro, idk if you made such videos
Sure, which playlist are you referring to?
Best brother best.
Hey Dipesh, thank you for your support! 😃💪
Really great content for learning OpenCV. Thank you so much so such. I have a querry about XY cordinates and their RGB info below the visualizing window. Actually, I am unable to see on my window. If you can help it ll be highly appreciated.
Try to use matplotlib, as described here: stackoverflow.com/questions/59710972/cant-i-check-the-entire-or-specific-pixel-value-of-the-image-array-in-cv2-imsho
Ciao Filippo, how to enable cursor position on image below the window? I use windows, and i can see only the picture(lesson 3)
Hi, cursor position may not be available in windows using cv2 imshow, try to visualize the image using matplotlib instead.
Thank you!
sir how are you getting that x and y coordinates of your cursor under the image window 🤔
It is the default output when using cv2.imshow. Don't you see it too? If not, maybe it is because I am using Linux. 🙌
@@ComputerVisionEngineer may be mine is windows 😐, anybody else having the problem
Takk!
Thank you for your support! 😃🙌💪
I started to love you
Is this course important for the process of car crash detection project?
Opencv is a very important skill to work in computer vision project. 🙌
Can we do this from Vscode or do we need Pycharm?
Yeah, sure, as long as you can run Python you can use Vscode or any other IDE. 💪
I am ur big fan sir. Could you please suggest me which method I have to apply for" detection of pinholes(very tiny holes) in aluminum foil" I am absolute beginner please guide me
Hey Kamran, thank you for your support! 🙂 It all depends on your data and the requirements of your project, but from the top of my mind I can think in two different approaches: if pinholes are from a different color than the aluminium around them you could try with color detection; if pinholes are 'big enough' and 'distinct enough' from everything around them and everything else in the frames, you could try with an object detector based on something like yolov8. But again, it all depends on the data and your specific requirements. Let me know how it goes! 😃💪
@@ComputerVisionEngineer thanks dear sir . basically I want to do real time(video processing) detection and counting of pinholes in aluminum foil(my semester project).the mechanical structure contains roller that will fold and unfold the foil and between the rollers there be will a dark chamber because the pinholes are very tiny (and some are large too) so I want to make the tiny holes visible by passing light through it in a dark chamber . When the holes spots became visible in the dark chamber camera will take an image. I think I should process only black and white images not colourful. Should I also apply some filter or only yolo V8 is sufficient . Thanks again
@@kamrangul2876 passing light through the foil to highlight the pinholes is a very good idea! A threshold may help you to get the pinholes once they are highlighted.
@@ComputerVisionEngineer do u have videos on thresholding topic
Yes, a lesson of this course is about thresholding.
best tutorial.. next video DXCAM screen capture and a bot to play flappy bird game, not create ,, play it (automation)
A bot to play flappy bird with computer vision would be awesome! I will look into it. 🙌
I think choosing a specialization is a big problem. How can I do that?
Hi, do you mean a specialization in computer vision?
@@ComputerVisionEngineer Sure, but I am taking care of job opportunities in the future.
can i detect other fruits ?
Sure! 🙌 🍏🍊🍓
mastika mastika
RAHMAT
Thank you. 🙂
cv2.error: OpenCV(4.8.0) /io/opencv/modules/imgproc/src/shapedescr.cpp:315: error: (-215:Assertion failed) npoints >= 0 && (depth == CV_32F || depth == CV_32S) in function 'contourArea' solution pls