I\'ve written a code like this to detect the shapes present in a png image. I get correct output for detecting a square and rectangle but for other shapes like Trapezium, rh