OpenCV tutorial for beginners | FULL COURSE in 3 hours with Python

Поділитися
Вставка
  • Опубліковано 28 сер 2024

КОМЕНТАРІ • 122

  • @ComputerVisionEngineer
    @ComputerVisionEngineer  11 місяців тому +5

    Did you enjoy this video? Try my premium courses! 😃🙌😊
    ● Hands-On Computer Vision in the Cloud: Building an AWS-based Real Time Number Plate Recognition System bit.ly/3RXrE1Y
    ● End-To-End Computer Vision: Build and Deploy a Video Summarization API bit.ly/3tyQX0M
    ● Computer Vision on Edge: Real Time Number Plate Recognition on an Edge Device bit.ly/4dYodA7
    ● Machine Learning Entrepreneur: How to start your entrepreneurial journey as a freelancer and content creator bit.ly/4bFLeaC
    Learn to create AI-based prototypes in the Computer Vision School! www.computervision.school 😃🚀🎓

  • @alexanderokak5112
    @alexanderokak5112 Місяць тому +2

    Hey Felipe, I cannot thank you enough for this video. I have been diligently studying it for days as I hope to be a computer vision engineer next year (coming from an electrical + mechanical engineering background). Your clarity and the care you put into your videos is phenomenal and the enthusiasm you have for computer vision engineering is contagious! Keep up the amazing work.

  • @anibalsancheznuma3133
    @anibalsancheznuma3133 4 місяці тому +4

    I am brand new to OpenCV...you are such a great instructor. Thanks a lot.

  • @itaydagan7459
    @itaydagan7459 5 місяців тому +3

    You have the best computer vision channel in youtube, i love your contents and you are the best teacher!! thanks a lot Fellipe!

  • @PCD1387
    @PCD1387 8 місяців тому +3

    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...

    • @ComputerVisionEngineer
      @ComputerVisionEngineer  8 місяців тому

      Thank you!! So happy you enjoy the content and find it helpful! 😃🙌

  • @tonatiuhmendoza6765
    @tonatiuhmendoza6765 7 місяців тому +5

    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!

  • @chikwendumcdonald1581
    @chikwendumcdonald1581 11 днів тому

    So much in just 3hr, thanks so much.
    I couldn't believe how easy it was to accomplish the face anonymizer, I did encounter a problem though.
    I made two sample videos for testing the anonymizer both in different formats ".webm" and ".mp4" respectively, whilst they always gave a correct output (the video with the face blurred), the one with the ".webm" format always exited with an error.
    It's clear that the issue stems from some sort of incompatibility with the format but I'm curios exactly what it is, once again thanks Felipe 😁😁😁👍👍👍

  • @anuradha3868
    @anuradha3868 6 місяців тому +2

    This is the best tutorial I've even seen thankyou so much. ❤

  • @ghostwanted5510
    @ghostwanted5510 3 місяці тому

    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.

  • @AngeloCarlotto
    @AngeloCarlotto 3 місяці тому

    Buddy, just thanks you very much for this content. I am starting with python and cv2 and was lost on all my erros and didn’t know why. Here is Angelo, Brazilian, living in Toronto. Cheers

  • @arlcun
    @arlcun Місяць тому

    thank you so much for this introductive course! really straighforward and easy to understand.
    your accent make you seem so happy

  • @WelcomeToMyLife888
    @WelcomeToMyLife888 Рік тому +1

    One of the best tutorials about OpenCV I've seen! Keep up the good work brother!

  • @elyalotfali5791
    @elyalotfali5791 4 місяці тому

    These course deserves millions of views

  • @kanishkawijayananda6957
    @kanishkawijayananda6957 9 місяців тому +1

    great work thank you. one of the best teacher I ever seen. thank you again and again

    • @ComputerVisionEngineer
      @ComputerVisionEngineer  9 місяців тому

      Thank you for your kind words. I am glad you enjoyed the video! 😃🙌

  • @kaustubhmangalam4294
    @kaustubhmangalam4294 5 місяців тому

    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!👌🤘

  • @shwetabhat9981
    @shwetabhat9981 Рік тому +2

    You are just amazing !! Thank you so much for all the efforts 🙂

  • @user-be7cb6cn9y
    @user-be7cb6cn9y Рік тому +1

    Hello, Fellipe! Thank you very much for your great work 🙏 it is awesome

  • @behrangsis7898
    @behrangsis7898 7 місяців тому +1

    Thanks for sharing your OpenCV knowledge

  • @GozdeKarakaya-f8s
    @GozdeKarakaya-f8s Місяць тому

    The video is very good and I like it very much

  • @sreekartammana
    @sreekartammana Рік тому +1

    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🙌🏻

    • @ComputerVisionEngineer
      @ComputerVisionEngineer  Рік тому

      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! 💪🔥

  • @juansalazar828
    @juansalazar828 2 місяці тому

    Thank you for your explanation, all the topics were clear, I followed and tried all the codes with my own images and videos. Only 1 video wasn't being read by the program for the face anonymization project. Maybe the quality of the video or the number of frames changed but I tried and couldn't make it.

  • @cyb0rg14
    @cyb0rg14 Рік тому +1

    Yo! Looks like I found my OpenCV mentor 😉

  • @IsfhanAhmed
    @IsfhanAhmed Рік тому +2

    awesome man love your energy

    • @ComputerVisionEngineer
      @ComputerVisionEngineer  Рік тому +1

      Hey Isfhan, I am glad you enjoyed it! 😃 Energy is what software development and engineering is all about! 💪🔥⚡

  • @mahendrarajput2870
    @mahendrarajput2870 5 днів тому

    Nice course sir

  • @Padmaprabhan2004
    @Padmaprabhan2004 Рік тому +1

    Thank you very much ! This is an amazing tutorial !!!

  • @forlanbeckham1504
    @forlanbeckham1504 9 місяців тому +1

    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.

  • @publishyou
    @publishyou 7 місяців тому

    Thank you very much for the extensive tutorial! So simply explained. Maybe you can also do a tutorial like this one on YOLO. 🙂

    • @ComputerVisionEngineer
      @ComputerVisionEngineer  7 місяців тому

      You are welcome! Do you mean with ultralytics yolov8? Or other versions of Yolo?

  • @jonnythrive
    @jonnythrive 10 місяців тому +1

    Thanks for the videos! They're very helpful!

  • @sizeli7120
    @sizeli7120 11 місяців тому +1

    Very helpful and inspiring!

  • @numanijax939
    @numanijax939 Рік тому +1

    Amazing sir ✨ thanks for such amazing tutorial ✨

  • @abhirupmukherjee7780
    @abhirupmukherjee7780 5 місяців тому

    Thank you sir , this tutorial helped me lot 😊

  • @jokem7897
    @jokem7897 5 місяців тому

    Thank you for the tutorial, it so well organized, there are other tutorials but way too long and scattered.

  • @joshua7442
    @joshua7442 Місяць тому

    when I hover over the image, I could not see any values in VScode editor , any fix?

  • @princekhunt1
    @princekhunt1 16 днів тому

    Must watch

  • @rickware4793
    @rickware4793 Рік тому +1

    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!

    • @ComputerVisionEngineer
      @ComputerVisionEngineer  Рік тому

      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. 🙌

    • @swagatbaruah522
      @swagatbaruah522 Рік тому

      @@ComputerVisionEngineer which visualization library are u using sir?

    • @cyb0rg14
      @cyb0rg14 Рік тому

      It's the library opencv uses by default and that is matplotlib (I think)

  • @user-xn5xc2wf9p
    @user-xn5xc2wf9p 6 місяців тому

    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 .

  • @satypk8664
    @satypk8664 7 місяців тому

    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 .

  • @Tan_cannon
    @Tan_cannon 9 місяців тому +1

    sir how are you getting that x and y coordinates of your cursor under the image window 🤔

    • @ComputerVisionEngineer
      @ComputerVisionEngineer  9 місяців тому

      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. 🙌

    • @Tan_cannon
      @Tan_cannon 9 місяців тому +2

      @@ComputerVisionEngineer may be mine is windows 😐, anybody else having the problem

  • @ttaylor9916
    @ttaylor9916 18 днів тому

    Where are images in git?

  • @burongkiu
    @burongkiu Рік тому

    Best my man

  • @KhangaiEnkhbat-yg9vl
    @KhangaiEnkhbat-yg9vl 26 днів тому

    can i do this in Visual Studio Code?

  • @DerinMalik
    @DerinMalik 4 місяці тому

    thanks

  • @DerinMalik
    @DerinMalik 3 місяці тому

    I started to love you

  • @user-hw3kt5ln6t
    @user-hw3kt5ln6t 6 місяців тому

    cool video)

  • @hendihart5195
    @hendihart5195 11 місяців тому

    You should add this to your playlist bro, idk if you made such videos

  • @JSIIC
    @JSIIC 10 місяців тому

    Great tutorial! How could I get the image windows to show the RGB values? I am using windows 11 and pycharm...

    • @ComputerVisionEngineer
      @ComputerVisionEngineer  10 місяців тому

      It is not shown with imshow?

    • @JSIIC
      @JSIIC 10 місяців тому

      No... does it have to do with what is the default app that is opening these image/video windows?@@ComputerVisionEngineer

  • @digvijaysingh1285
    @digvijaysingh1285 Рік тому

    Thank you sir😊

  • @Intellectualmind4
    @Intellectualmind4 Рік тому

    Best brother best.

  • @RakeshSalian
    @RakeshSalian 10 місяців тому

    Hello Fellipe, would it be possible to provide info/video on setting up Python, OpenCV, Mediapipe on a MacBook M2?

    • @ComputerVisionEngineer
      @ComputerVisionEngineer  10 місяців тому

      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 UA-cam about how to set it up on a Mac. Have you searched for it? 🙌

    • @RakeshSalian
      @RakeshSalian 10 місяців тому

      @@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.

  • @F_F_CH
    @F_F_CH 5 місяців тому

    Ciao Filippo, how to enable cursor position on image below the window? I use windows, and i can see only the picture(lesson 3)

    • @ComputerVisionEngineer
      @ComputerVisionEngineer  5 місяців тому +1

      Hi, cursor position may not be available in windows using cv2 imshow, try to visualize the image using matplotlib instead.

    • @F_F_CH
      @F_F_CH 5 місяців тому

      Thank you!

  • @user-xn5xc2wf9p
    @user-xn5xc2wf9p 9 місяців тому

    thank you soooooooooooooo much

  • @waleedgamal
    @waleedgamal 9 місяців тому

    Is this course important for the process of car crash detection project?

    • @ComputerVisionEngineer
      @ComputerVisionEngineer  9 місяців тому

      Opencv is a very important skill to work in computer vision project. 🙌

  • @KhangaiEnkhbat-yg9vl
    @KhangaiEnkhbat-yg9vl 26 днів тому

    does anybody know what platform is he using to do this?

  • @namehere630
    @namehere630 Місяць тому

    Hi, I wish the premium course was more affordable. $99 is a bit much for students - which are most probably your main audience. I would really like to take it but don't have the means.

    • @ComputerVisionEngineer
      @ComputerVisionEngineer  Місяць тому +1

      The courses are available to all the Patreon supporters in the Computer Vision Expert tier. 😃🙌

  • @ApexArtistX
    @ApexArtistX 10 місяців тому

    best tutorial.. next video DXCAM screen capture and a bot to play flappy bird game, not create ,, play it (automation)

    • @ComputerVisionEngineer
      @ComputerVisionEngineer  10 місяців тому

      A bot to play flappy bird with computer vision would be awesome! I will look into it. 🙌

  • @phamduyaaaa
    @phamduyaaaa 8 місяців тому

    I think choosing a specialization is a big problem. How can I do that?

    • @ComputerVisionEngineer
      @ComputerVisionEngineer  8 місяців тому

      Hi, do you mean a specialization in computer vision?

    • @phamduyaaaa
      @phamduyaaaa 8 місяців тому

      ​@@ComputerVisionEngineer Sure, but I am taking care of job opportunities in the future.

  • @hatimkhan8339
    @hatimkhan8339 11 місяців тому

    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.

    • @ComputerVisionEngineer
      @ComputerVisionEngineer  11 місяців тому +1

      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

  • @OleBSrhus
    @OleBSrhus 8 місяців тому

    Takk!

  • @kamrangul2876
    @kamrangul2876 Рік тому

    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

    • @ComputerVisionEngineer
      @ComputerVisionEngineer  Рік тому

      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! 😃💪

    • @kamrangul2876
      @kamrangul2876 Рік тому

      @@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

    • @ComputerVisionEngineer
      @ComputerVisionEngineer  Рік тому +1

      @@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.

    • @kamrangul2876
      @kamrangul2876 Рік тому

      @@ComputerVisionEngineer do u have videos on thresholding topic

    • @ComputerVisionEngineer
      @ComputerVisionEngineer  Рік тому

      Yes, a lesson of this course is about thresholding.

  • @smartjackasswisdom1467
    @smartjackasswisdom1467 Рік тому

    Can we do this from Vscode or do we need Pycharm?

    • @ComputerVisionEngineer
      @ComputerVisionEngineer  Рік тому

      Yeah, sure, as long as you can run Python you can use Vscode or any other IDE. 💪

  • @northingenn
    @northingenn 5 місяців тому +1

    mastika mastika

  • @saitnyeinnaingsait4550
    @saitnyeinnaingsait4550 10 місяців тому

    can i detect other fruits ?

  • @poseydon_27
    @poseydon_27 8 місяців тому

    RAHMAT

  • @khandareshubham5199
    @khandareshubham5199 11 місяців тому

    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