Shape Detection using Python and OpenCV

Published: 10 October 2021
on channel: KostasT
2,360
43

#OpenCV #Python #ShapeDetection

A simple program to detect geometrical shapes in image or video using Python and OpenCV.
1. Convert image/video to grayscale
2. Apply Gaussian Blur to gray image/video
3. Find threshold from blurred image/video
4. Find all contours in image/video
5. Use shape detector function (Calculate contour perimeter and
approximation of polygonal curve).


On this page of the site you can watch the video online Shape Detection using Python and OpenCV with a duration of hours minute second in good quality, which was uploaded by the user KostasT 10 October 2021, share the link with friends and acquaintances, this video has already been watched 2,360 times on youtube and it was liked by 43 viewers. Enjoy your viewing!