im trying use opencv to draw the contours of digit in image. But it doesn\'t work for me. Below my code:
im = cv2.imread(\'1742.jpg\') # Convert to grayscale