Shape detection using opencv
first we use contours to get boundaries of different shapes in the image. then we use polyapproxDP function to get total no. of edges of the contours for all shapes. then label-out different shapes based onn their no. of edges