In this video on OpenCV Python Tutorial For Beginners, I am going to show How to Find contours and draw contours using OpenCV in Python.
We will see what contours are. we will Learn to find contours, draw contours, we will see these functions : cv2.findContours(), cv2.drawContours().
The function retrieves contours from the binary image. The contours are a useful tool for shape analysis and object detection and recognition.
Gist of code I used in this video (Find and Draw Contours Tutorial ) –
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!
Nguồn: https://runte4mayor.com
Xem thêm bài viết khác: https://runte4mayor.com/du-lich/
Xem thêm Bài Viết:
- Rụng tim với Hot Girl du lịch tại Cồn Thới Sơn ▶ DU LỊCH KHÁM PHÁ MIỀN TÂY
- CÙNG REVIEW KHÁCH SẠN 2* GIÁ RẺ NHẤT ĐÀ LẠT ? HOTEL ANH DAO DALAT | TRAVEL DALAT VIETNAM
- Du lịch Bali thì đi đâu, ăn gì? – trải nghiệm Bali của đôi vợ chồng son
- Vissai Saigon Hotel – Ho Chi Minh City Hotels, Vietnam
- Ghế xếp Naturehike
Can anybody help me?
contours, hierarchy = cv2.findContours(thresh, cv2.RETR_TREE, cv2.CHAIN_APPROX_NONE)
cv2.error: OpenCV(4.2.0) C:projectsopencv-pythonopencvmodulesimgprocsrccontours.cpp:197: error: (-210:Unsupported format or combination of formats) [Start]FindContours supports only CV_8UC1 images when mode != CV_RETR_FLOODFILL otherwise supports CV_32SC1 images only in function 'cvStartFindContours_Impl'
In this line: contours,hierachy = cv2.findContours(thres,cv2.RETR_TREE,cv2.CHAIN_APPROX_NONE). I have a probem ValueError: too many values to unpack (expected 2). Anybody can help me to solve this problem 🙁 Thanks anyway.
where is the explanation for the arguments in cv2.findcontour()?
do you guys know where i can get that sample video (vtest.avi)? please help
thanks bro…….
Thank you for video, but i have error in imgrey line
I am from Brazil and the subtitles on your videos helps a lot to understand what you are saying
Thanks for the Wonderful tutorial!
Hi, thanks for the videos, really useful. However total number of conturs is 10 (the thresh val has to be higher than 127, eg 150, otherwise the green object is made as a background)
Thanks for your important video SIr. But why the Green object is not rounded by lines? please have a look,
So why didn't it detect the contour on the green part of the logo object?
thank you so much
Our technology is built with you in mind. You can have your own artificial intelligence technology with TonkaBI. Together, we will build you a custom solution fitted around your company and industry with the most advanced learning, which will continue to scale and develop on its own with time.
https://www.tonkabi.com/
I made an object detection model, now I want to draw a rectangle around the object, can I do it using cv2
Sir is your throat not well?
Great content mean opencv is really a powerful library of python …… It makes image recognition soo simple
Nice. I want to be a programmer like you. I'm from India and I'm 16.