From 4caf4ec1e1b69e8141fc734165c517baadc89427 Mon Sep 17 00:00:00 2001 From: Jackyu <455501914@qq.com> Date: Thu, 19 Oct 2017 09:46:41 +0800 Subject: [PATCH] Update finemapping.py remove codes of scikit-image --- hyperlpr/finemapping.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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