Contour Detection Python Code Run