diff --git a/kraken/pageseg.py b/kraken/pageseg.py index c29742620..12fe28d02 100644 --- a/kraken/pageseg.py +++ b/kraken/pageseg.py @@ -25,8 +25,7 @@ import numpy as np import PIL -from scipy.ndimage.filters import (gaussian_filter, maximum_filter, - uniform_filter) +from scipy.ndimage import gaussian_filter, maximum_filter, uniform_filter from kraken.containers import BBoxLine, Segmentation from kraken.lib import morph, sl