a program used open cv for detecting simple shapes from an image