Detection of a specific shape in an image

I want to create an algorithm in order to detect the following shape (in the blue region) in videos or images:

I have no dataset from the corresponding object so I thought that if I define it geometrically, I could use traditional image processing techniques with OpenCV (such as edge detection)to identify it.

Is there more efficient or easier way ?

Topic opencv computer-vision machine-learning

Category Data Science


The classic solution to your question is called Hough Transform, a feature extraction method focusing on shapes. More specific, if you know that you always look for circles, you can use Circle Hough Transform.

This link shows you how to apply it in Python and C.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.