Image Manipulation
A brief description of both is given below.
The Python Imaging Library, or PILfor short, is one of the core libraries for image manipulation in Python. Unfortunately,its development has stagnated, with its last release in 2009.
Luckily for you, there’s an actively-developed fork of PIL called – it’s easier to install, runs onall major operating systems, and supports Python 3.
After that, it’s straightforward:
There are more examples of the Pillow library in thePillow tutorial.
Open Source Computer Vision
Open Source Computer Vision, more commonly known as OpenCV, is a more advancedimage manipulation and processing software than PIL. It has been implementedin several languages and is widely used.
NumPy can be downloaded from the Python Package Index(PyPI):
There are more Python-implemented examples of OpenCV in this collection oftutorials.