Answers for "increase contrast of grayscale image python"

3

python image to grayscale

from PIL import Image
img = Image.open("image.jpg")
img.convert("L").save("result.jpg")
Posted by: Guest on March-18-2021
1

increase contrast cv2

# Enhance image
image_enhanced = cv2.equalizeHist(image)
Posted by: Guest on February-29-2020

Python Answers by Framework

Browse Popular Code Answers by Language