Removing contours from an image using Python and OpenCV – PyImageSearch