Pattern recognition - part 3 (biggest contour of cropped image is now recognized)