

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
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.
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.
here we go
Alhamdulillah i find your channel. Good explanation. Keep the good work.
Excellent and very practical tutorial.
Sir, which screen recorder and editing software do you use? Please must reply
i am unable to get the functions imread,imshow,waitkey in cv2….how to fix that problem? plz anyone
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
chapter 5 very bad video, i dont understant.
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)
done chapter 1, I m using python console instead, it still works well
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
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.
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.
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
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
You make opencv so easy to understand. You video is very easy to follow and understand. Thank you
Nice video
I will also introduce my video
Horse detection
https://youtu.be/W0ATfRtgxTg
Give me the link to the card.jpg
I love u girl
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?
stack images code ?
hello, i need help. from where can i get the code of stacking
I have a problem importing cv2
It's Christmas but I am watching this because I'm an alone loser. Anyway, Merry Christmas.
very good
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?
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.
In Chapter 8, Is there a reason you are applying a blur?
Awesome video man, enjoyed every second of it
Thanks a lot.
❤🔥
what is the use of making a blurry image for practical purposes?
how to get the resources photo and video sample ?
I just want to say this is extremely useful, thanks for giving the time to make this.https://oscrack.com/gilisoft-audio-toolbox-suite/
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
wich version of opencv u use ?
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
Fantastic.
In chapter 7 color detection was done manually. Are there any methods that allow us to do it automatically ?
where did test_video.mp4 come from? why wouldn't u include that….
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.
how to make lena.png?
Sir i am getting an error saying that imshow is not defined
I can`t remember all code!