LEARN OPENCV in 3 HOURS with Python | Including 3x Example Projects (2020)

///LEARN OPENCV in 3 HOURS with Python | Including 3x Example Projects (2020)

LEARN OPENCV in 3 HOURS with Python | Including 3x Example Projects (2020)

FavoriteLoadingAdd to favorites

In this video we are going learn everything required to get started with OpenCV in Python. We will be using Python since it is one of the most popular programming languages. And it has opened numerous job opportunities in various sectors. We will start from the installation process right up to creating exciting projects such as detecting colors , shapes humans and even vehicle number plates. So If you are a beginner don’t worry this course is for you. We will skip all the boring theory stuff and focus on the practical implementation. So you can get the computer vision skill set you have always wanted in your CV. By the end of the course you will become familiar with the core principle of opencv and apply different techniques to solve real world problems using computer vision.

Code & Text Based Version:

Want to Learn Web Development ? Subscribe to my other channel:

Facing any Errors or want to discuss more?
✔️ Join my Discord

Follow Me:
Instagram :
Facebook:
Website:
Github:
Thingiverse:

###########################################
Learn Python in 2 Hours:
###########################################

Like — Comment — Share

#OpenCV
#Python
#ComputerVision

Useful Links:
DC Motors + Wheels + Chassis:
DC Motors + Wheels:
Arduino UNO:
Motor Driver:
Battery:
Recommend Webcam for Computer Vision:
Budget Webcam:
Cheap Drone for OpenCV:
Raspberry Pi 4 Best Starter Kit:
Raspberry Pi Recommended Battery:
Raspberry Pi Camera:
Raspberry Pi Wide Lens:
More powerful Raspberry Pi alternative:

More Project Tutorials:
Optical Mark Recognition (OMR):
Digits Classification/Recognition Using CNN:
Traffic Signs Classification:
Custom Object Detection:
Curved Lane Detection:

Time Stamps:
00:00 Intro
2:17 Introduction to Images
4:37 Installations
9:09 Chapter 1
17:01 Chapter 2
27:31 Chapter 3
34:12 Chapter 4
44:59 Chapter 5
50:04 Chapter 6
56:14 Chapter 7
1:15:37 Chapter8
1:40:31 Chapter 9
1:46:03 Project 1
2:15:45 Project 2
2:56:34 Project 3

Download Links:
PyCharm Community edition:
Python: 3.7.6:

source

By |2021-01-01T11:36:40+00:00January 1st, 2021|Python Video Tutorials|45 Comments

45 Comments

  1. Murtaza's Workshop - Robotics and AI January 1, 2021 at 11:36 am - Reply

    So what TUTORIALS AND PROJECTS would you like to see next ? Comment bellow and I will create the ideas with the highest votes. And thank you for all the love and support.

  2. Ravi Teja January 1, 2021 at 11:36 am - Reply

    projct 1: facemask detection, project 2: social distance monitoring, project 3: intruder detection system, if you can make these project than that would be very help full, by the way YOU ARE A GREAT TEACHER !! JUST AMAZING KEEP IT UP SIR.

  3. Bilal Ünüvar January 1, 2021 at 11:36 am - Reply

    here we go

  4. abdul muthalib January 1, 2021 at 11:36 am - Reply

    Alhamdulillah i find your channel. Good explanation. Keep the good work.

  5. MALLADI SAI TEJA January 1, 2021 at 11:36 am - Reply

    Excellent and very practical tutorial.

  6. krissh6563 January 1, 2021 at 11:36 am - Reply

    Sir, which screen recorder and editing software do you use? Please must reply

  7. Niraj Jayswal January 1, 2021 at 11:36 am - Reply

    i am unable to get the functions imread,imshow,waitkey in cv2….how to fix that problem? plz anyone

  8. PythonPandaEngineer Civil Structural January 1, 2021 at 11:36 am - Reply

    FEEDBACK: CHAPTER 6: Joining Imges: I could make it work the basic example nor the function, the custom function you did for yourself but hardly understable, there ither ways to join images, you can even use tiktok or video editor to do that , surely is good to know it but the hard work to reach there may b no worth

  9. Just Azik January 1, 2021 at 11:36 am - Reply

    chapter 5 very bad video, i dont understant.

  10. PythonPandaEngineer Civil Structural January 1, 2021 at 11:36 am - Reply

    at chapter 2: import cv2

    #img = cv2.imread("Resources/testimage.png")

    img = cv2.imread("sichuan7.jpg")

    #converting into a gray image

    imgGray = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY)

    imgBlur =cv2.GaussianBlur(imgGray,(7,7),0)

    cv2.imshow("Gray Image",imgGray)

    cv2.imshow("Blur Image",imgBlur)

    cv2.waitKey(0)

  11. PythonPandaEngineer Civil Structural January 1, 2021 at 11:36 am - Reply

    done chapter 1, I m using python console instead, it still works well

  12. Neil Austen January 1, 2021 at 11:36 am - Reply

    HI Confess to being a newbie to Python and IT in general. I already had open CV and pycharm on my Rasp Pi before starting your video. I got to 10.30 when you referred to an image from a file you previously had installed. Question – where is this "Resources" folder located and is it just filled with .png files.
    So far your video looks pretty good and I am hoping to be able to follow it to the end. Best wishes

  13. Tri Nguyen January 1, 2021 at 11:36 am - Reply

    Guys. Remember to check if your camera is ON. Most laptop disable it by default. I spent a whole day looking for solution on stackoverflow in vain and realized how stupid I was when I discovered it was turned off. Hope this will save some of your time.

  14. ConvertToRGB January 1, 2021 at 11:36 am - Reply

    I don't know why, but function cv2.imshow("Output",img) doesn't work 🙁
    I'm windows user.

    There is error " the function is not implemented" and I don't know how to fix it.

    upd.
    I find solution. If you a windows user and have same problem, this can help you:
    Go to file/settings/Project[your_project_name]/Project Interpreter and add "opencv-contrib-python" package.

  15. S Nandhini nvrzMsywqH January 1, 2021 at 11:36 am - Reply

    project 1:
    File "C:UsersibuttOneDriveDesktopOpenCVwarp.py", line 36, in findColor

    x,y = getContours(mask)

    TypeError: cannot unpack non-iterable NoneType object

    any idea how to resolve it? please help me

  16. Ameer7050 January 1, 2021 at 11:36 am - Reply

    When I try to import cv2 is says:

    Traceback (most recent call last):
    File "C:UsersameerAppDataLocalProgramsPythonPython39libsite-packagesnumpy__init__.py", line 305, in <module>
    _win_os_check()
    File "C:UsersameerAppDataLocalProgramsPythonPython39libsite-packagesnumpy__init__.py", line 302, in _win_os_check
    raise RuntimeError(msg.format(__file__)) from None
    RuntimeError: The current Numpy installation ('C:\Users\ameer\AppData\Local\Programs\Python\Python39\lib\site-packages\numpy\__init__.py') fails to pass a sanity check due to a bug in the windows runtime. See this issue for more information: https://tinyurl.com/y3dm3h86
    Traceback (most recent call last):
    File "C:UsersameerPycharmProjectspythonProject1main.py", line 1, in <module>
    import cv2
    File "C:UsersameerAppDataLocalProgramsPythonPython39libsite-packagescv2__init__.py", line 5, in <module>
    from .cv2 import *
    ImportError: numpy.core.multiarray failed to import

    Edit: Never mind I solved it by downgrading numpy to 1.19.3

  17. S S Goh January 1, 2021 at 11:36 am - Reply

    You make opencv so easy to understand. You video is very easy to follow and understand. Thank you

  18. 黒猫 January 1, 2021 at 11:36 am - Reply

    Nice video

    I will also introduce my video

    Horse detection

    https://youtu.be/W0ATfRtgxTg

  19. Floow. January 1, 2021 at 11:36 am - Reply

    Give me the link to the card.jpg

  20. Xu Gen January 1, 2021 at 11:36 am - Reply

    I love u girl

  21. Andrew Revinsky January 1, 2021 at 11:36 am - Reply

    Hi. Thanks for the video. One question, however, bugs me. Two actually. Why in the name of all saints do you neglect your PEP8 warnings and do not resort to pretty-print your code? This is so annoying. Another thing, NO comments in the code. Like, the chapter about colored pens. Array of HSL colors – and you communicate their color names out loud, and never – as comments in code. Why? No functions are documented. Why?

  22. amit kumar January 1, 2021 at 11:36 am - Reply

    stack images code ?

  23. mehdi daoud January 1, 2021 at 11:36 am - Reply

    hello, i need help. from where can i get the code of stacking

  24. Hareesh January 1, 2021 at 11:36 am - Reply

    I have a problem importing cv2

  25. Emil Botezatu January 1, 2021 at 11:36 am - Reply

    It's Christmas but I am watching this because I'm an alone loser. Anyway, Merry Christmas.

  26. Yong Ju January 1, 2021 at 11:36 am - Reply

    very good

  27. Aryan Agarwal January 1, 2021 at 11:36 am - Reply

    contours, hierarchy = cv2.findContours(img, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_NONE)

    ValueError: too many values to unpack (expected 2)

    Anyone facing this issue in contours and shapes chapter?

  28. Hui kanG January 1, 2021 at 11:36 am - Reply

    Hi Mr Murtaza, thank you for your tutorial. It helps to clear my doubt in face detection. But I have a problem following your project 1 (face detection). My webcam video show was mirrored video. How can I flip it? It doesn't work with cv2.flip.
    Hope to see your reply. Thank you very much.

  29. ItsOliDude January 1, 2021 at 11:36 am - Reply

    In Chapter 8, Is there a reason you are applying a blur?

  30. Kartikey Singh January 1, 2021 at 11:36 am - Reply

    Awesome video man, enjoyed every second of it

  31. 黃文香 January 1, 2021 at 11:36 am - Reply

    Thanks a lot.

  32. This is Sri Lanka January 1, 2021 at 11:36 am - Reply

    ❤🔥

  33. Blender and Unity Tips and tricks January 1, 2021 at 11:36 am - Reply

    what is the use of making a blurry image for practical purposes?

  34. siang leng January 1, 2021 at 11:36 am - Reply

    how to get the resources photo and video sample ?

  35. ryankay sokes January 1, 2021 at 11:36 am - Reply

    I just want to say this is extremely useful, thanks for giving the time to make this.https://oscrack.com/gilisoft-audio-toolbox-suite/

  36. pkron96 January 1, 2021 at 11:36 am - Reply

    Done all in 1 day, but that was hard 🙂 also figured how to do face detection using webcam, just by using your tutorial. Great work ! thanks a lot

  37. Hai Meth January 1, 2021 at 11:36 am - Reply

    wich version of opencv u use ?

  38. Gabriel Asafe January 1, 2021 at 11:36 am - Reply

    If you try compile and a message "'import cv2' fails because numpy.core.multiarray fails to import" show up, try to use the combination opencv_python==4.0.0.21 and numpy==1.14.5 works. now mine is working

  39. Mu Nga January 1, 2021 at 11:36 am - Reply

    Fantastic.

  40. mehmet can January 1, 2021 at 11:36 am - Reply

    In chapter 7 color detection was done manually. Are there any methods that allow us to do it automatically ?

  41. Ben jammin January 1, 2021 at 11:36 am - Reply

    where did test_video.mp4 come from? why wouldn't u include that….

  42. Shanthan Kumar Padisala January 1, 2021 at 11:36 am - Reply

    Somehow that brightness adjusting feature discussed at 16:50 is not working for me. Is anyone facing the same issue?? I am using my laptop's default webcam for this.

  43. Fauzi Hazim January 1, 2021 at 11:36 am - Reply

    how to make lena.png?

  44. EXTC -Kuwalekar Gauri January 1, 2021 at 11:36 am - Reply

    Sir i am getting an error saying that imshow is not defined

  45. Gobindo Sarkar January 1, 2021 at 11:36 am - Reply

    I can`t remember all code!

Leave A Comment

*