mirror of
https://github.com/artegoser/image-pluser-webui.git
synced 2025-02-22 20:23:15 +03:00
feat: sharpen method
This commit is contained in:
parent
45916cd320
commit
8d9f2a8a17
3 changed files with 21 additions and 10 deletions
|
@ -7,3 +7,8 @@ def canny_edge(file_name):
|
|||
image = image.convert("L")
|
||||
|
||||
return image.filter(ImageFilter.FIND_EDGES)
|
||||
|
||||
|
||||
def sharpen(file_name):
|
||||
image = Image.open(file_name)
|
||||
return image.filter(ImageFilter.SHARPEN)
|
||||
|
|
Loading…
Add table
Reference in a new issue