diff --git a/asciiartist/__init__.py b/asciiartist/__init__.py index 86eb75f..765bd60 100644 --- a/asciiartist/__init__.py +++ b/asciiartist/__init__.py @@ -147,7 +147,8 @@ def _get_edges( .resize((int(nx//weight+.5), int(ny//weight+.5)), Image.NEAREST), dtype=np.uint8) - edges = feature.canny(img, sigma=sigma) + edges = feature.canny(img, sigma=sigma) \ + [3:-3,3:-3] # Remove border (scikit-image bug) edges = np.array( Image.fromarray(edges) .resize((nx, ny), Image.NEAREST) diff --git a/pyproject.toml b/pyproject.toml index 808db98..9dfec97 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ authors = ["Julia "] license = "MIT" packages = [ - { include = "asciitrace" } + { include = "asciiartist" } ] include = [