Move import to top
Use skimage otsu if possible