diff --git a/hyperlpr/finemapping.py b/hyperlpr/finemapping.py index 20955a1..bf3b454 100644 --- a/hyperlpr/finemapping.py +++ b/hyperlpr/finemapping.py @@ -2,8 +2,7 @@ import cv2 import numpy as np -from skimage.filters import (threshold_otsu, threshold_niblack, - threshold_sauvola) + import niblack_thresholding as nt import deskew @@ -128,4 +127,4 @@ def findContoursAndDrawBoundingBox2(image_rgb): image,M= deskew.fastDeskew(image) - return image \ No newline at end of file + return image