Learn Before
Concept
Sharpness (Pillow)
ImageEnhance.Sharpness() returns an object of the Sharpness class when giving an image as an argument. enhance() can then be called on this object to return the enhanced image. Sharpness controls the clarity of an image, especially with edges. A factor of 0.0 returns a blurry image.
sharpnessobj = ImageEnhance.Sharpness(image) newimage = sharpnessobj.enhance(factor)
0
1
Updated 2021-08-07
Tags
Python Programming Language
Data Science