이 프로그램에서는 베개 라이브러리를 사용하여 이미지의 가장자리를 찾습니다. ImageFilter 클래스의 FIND_EDGES 함수는 이미지의 가장자리를 찾는 데 도움이 됩니다.
원본 이미지

알고리즘
Step 1: Import Image and ImageFilter from Pillow. Step 2: Open the image. Step 3: Call the filter function and specify the find_edges function. Step 4: Display the output.
예시 코드
from PIL import Image, ImageFilter
im = Image.open('testimage.jpg')
im = im.filter(ImageFilter.FIND_EDGES)
im.show() 출력
