Skip to content

Commit

Permalink
Merge pull request #577 from stweil/update_import
Browse files Browse the repository at this point in the history
Update deprecated import statement for scipy filters
  • Loading branch information
mittagessen authored Mar 26, 2024
2 parents 463ca9e + 9187dbb commit 3da6ddb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kraken/pageseg.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3da6ddb

Please sign in to comment.