How to discover known objects in OpenCV?

I am trying to draw shapes in a window in real time. The shapes are similar to a bunch, rectangle, circle, half or circle, and the ā€œZā€ on the screen using yellow. Size and shape may not match the original image. But the program knows all the original forms. Because they are predetermined. I want to know how I can determine the correct shape. as an example,

enter image description here

Is there any way to do this? can a template be used for this? Please help me with this.

+5
source share
1 answer

You can use various methods to detect each shape. Check them out:

+2

All Articles