In this tutorial, you’ll learn how to:
-
Read images with Image.open
-
Perform basic image manipulation operations
1 - Crop
2 - Scale
3 - Flip
4 - Rotate
5 - Luminosity
6 - Contrast
7 - Colorize
8 - Filtering (Blur)
9 - Sharpening
10- Unsharp Mask
11- Edge detection (Sobel operator)
from PIL import Image, ImageDraw, ImageEnhance
from math import floor, sin, cos, pi, sqrt