I have to identify several polygon like shapes.Sometime, shapes have small carves.Anyway, I can extract shape very clearly using shareholding and find contours.
The problem is how to detect a shape exactly that I want? and How to get it's orientation(angle referenced to pre-defined axis)?
Give me your ideas,related links and sample codes. I'm using OpenCV 3.1.0 on Python 2.7.5
Shape may be like this(this has 2 carves,sometime no carves):