In this video we will learn how to detect shapes of objects by finding their contours. Contours are basically outline that bound the shape or form of an object. So we will be detecting multiple shapes and how many corners points each shape has along with its area .
Code & Text Based Version:
Links:
Recommend Webcam for Computer Vision:
Budget Webcam:
Video Links :
OpenCV Python Tutorial Playlist:
How to install Opencv in Python:
Real time color Detection:
5 Must Know OpencCV Functions:
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
Hi thank you for this , I have a quick question , why i have (invalid syntax) in( ; 0xFF) The last line
How to get the summation of areas of more than one object ?
exactly what i was looking for thank you a million! subbed
Can you show us sir on how to compute the weight based on an image? Thanks
Great one.
Damn you sound like Stevo from Jackass!
thanks for the video btw 😀
Thanx so much 💔💔
I want to draw contour around my eye pupil only how to do it
Superb tutorial! Can you do a tutorial that can measure a height of a person using open cv ? Kind regards
Everything is clear now. Thanks 🙂
If you are using python 3.4 you probably will have a message like this: "contours, hierarchy = cv2.findContours(img, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_NONE)
ValueError: too many values to unpack". Try this way : _,contours, _ = cv2.findContours(img, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_NONE)
Hey, can i have question for you on priv? 😀
Thank you so much for the clear explanation. I am currently working on a project,This will definitely help me.
Thank you very much@@
I have a question about your video.
I wanna detect shapes of objects from video files.
so I add the code that below. But it doesn't work. what is the problem?
cap = cv2.VideoCapture('../2.mp4')
while True:
success, img = cap.read()
Thank you very much sir👍
Where code
thank you so much Murtaza's
Nice tutorial !!