

In this video on OpenCV Python Tutorial For Beginners, I am going to show How to do Object Detection and Object Tracking Using HSV Color Space. So we will be Implementing color and shape-based object detection and tracking using hue-saturation-value (HSV) color model. For Choosing the correct upper and lower HSV boundaries for color detection with`cv::inRange` (OpenCV) we will use trackbar.
Gist of code I used in this video (Python | Simple object tracking with OpenCV ) –
OpenCV is an image processing library created by Intel and later supported by Willow Garage and now maintained by Itseez. opencv is available on Mac, Windows, Linux. Works in C, C++, and Python.
it is Open Source and free. opencv is easy to use and install.
Starting with an overview of what the course will be covering, we move on to discussing morphological operations and practically learn how they work on images. We will then learn contrast enhancement using equalization and contrast limiting. Finally we will learn 3 methods to subtract the background from the video and implement them using OpenCV.
At the end of this course, you will have a firm grasp of Computer Vision techniques using OpenCV libraries. This course will be your gateway to the world of data science.
Feel the real power of Python and programming! The course offers you a unique approach of learning how to code by solving real world problems.
#ProgrammingKnowledge #ComputerVision #OpenCV
★★★Top Online Courses From ProgrammingKnowledge ★★★
Python Programming Course ➡️ ⚫️
Java Programming Course ➡️ ⚫️
Bash Shell Scripting Course ➡️ ⚫️
Linux Command Line Tutorials ➡️ ⚫️
C Programming Course ➡️ ⚫️
C++ Programming Course ➡️ ⚫️
PHP Programming Course ➡️ ⚫️
Android Development Course ➡️ ⚫️
C# Programming Course ➡️ ⚫️
JavaFx Programming Course ➡️ ⚫️
NodeJs Programming Course ➡️ ⚫️
Jenkins Course For Developers and DevOps ➡️ ⚫️
Scala Programming Tutorial Course ➡️ ⚫️
Bootstrap Responsive Web Design Tutorial ➡️ ⚫️
MongoDB Tutorial Course ➡️ ⚫️
QT C++ GUI Tutorial For Beginners ➡️
★★★ Online Courses to learn ★★★
Get 2 FREE Months of Unlimited Classes from skillshare –
Data Science – |
Machine Learning – |
Artificial Intelligence – |
MERN Stack E-Degree Program – |
DevOps E-degree – |
Data Analytics with R – |
AWS Certification Training – |
Projects in Java – |
Machine Learning With TensorFlow – |
Angular 8 – Complete Essential Guide –
Kotlin Android Development Masterclass –
Learn iOS Programming Building Advance Projects –
★★★ Follow ★★★
My Website –
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
source
I loved this video. Thank you very much!
Why did you read the image every iteration, Is this like, not good for your hard drive ?
what is mask?
can you send the image? plz
so informative lesson, appreciated
Hello, Great video! Can this method be used to track a small black object (7.5cm radius) over a white background going at 75mph(33.5m/s) over a 10 meter frame length captured by the camera? Do you think it would be able to track such a fast small object?
Wow, it was a excelent video. I'm going to follow your videos. I have a beginner question: how python IDE are you using?? Thank you.
Thanks bro.,…
I'm getting a
TypeError: Expected Ptr<cv::UMat> for argument '%s'
–> res= cv.bitwise_and(frame,frame,mask=mask)
Pls resolve it
Amazing sir!!!
Great tutorial
how can you draw rectangle around the object?
Hi, our school lab is trying to develop a simple tool to help our vision impair students to recognize the color from testing results. Can you help us? Thx!
Hi, Thanks for posting this OpenCV videos. Here I have a doubt why should we use hsv image to mask, why can't we do same on normal bgr (original) image. is there any disadvantage. I wrote same code to mask on original bgr image and working fine (I used same image example you have used). Do we get any problem when I use some other image which has more different colours. Please reply.
Bravo… many thanks for amazing tutorials ..
why the tracking window is open with a big frame compared to others frame??????
This code does not work for me.
great one. please we need a practical video on fruits detection. thank you
I am getting this error (line 14, in <module>
hsv = cv2.cvtColor(frame, cv2.COLOR_BGR2HSV) # convert color to HSV
cv2.error: OpenCV(4.1.1) C:projectsopencv-pythonopencvmodulesimgprocsrccolor.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'
any help guys I tried fixing it
This was my first time to work with OpenCV. Thank you so much.
How would you use this and then have the camera only look at a specific location and tag it when it sees the color you are looking for. I want to put a box on the screen and then whenever the color flys by it I want to have a counter tick off and have that go continuously.
i learn a lot from you , thanks for all the work that you done
what does line 5 mean?
I loved your tutorial, you are explaining perfect, liked your example. Keep it up.
wow that's perfect body
Why do we need two same source as frame
Love the way you produce python.
Hi, this video and series really helped me with a project that made my robot track and move towards a pink blob or shape. You are an amazing teacher because before this tutorial I did not know anything about OpenCV and with your help I made something super cool happen so thank you 🙂
nice work. I try to detect blue circle from real-time webcam and mark circle border on that blue target, I want to develop this in javascript and opencv.js, but HoughCircles not working for videos but it is working on an image, please guide we with this any example.
wow, this is actually the first time i've seen these really handy integrated highgui trackbar features. that's super handy for my image processing prototyping!
These videos have gotten me up and running quickly with OpenCV. Thank you!!
is it possible to compare the brightness/whiteness of an object in an image(white object with green background) Thank you in advance 😀 I really really need your help.
Great work
!
thank you
please when will be the next video
How do I do face detection using open cv with mp4 vids?
Yogesh is back!
This is great! I can really use this method for a project I’m working on right now. Thank you!
Brilliant 🙏🏻