image thresholding with cv2.THRESH_OTSU