Skip to content

Commit ab0b2b8

Browse files
authored
fixed contrast being too hard
1 parent 1f77386 commit ab0b2b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/image_processing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Opens an image, converts to grayscale and increases contrast
44
def open_image(file):
55
img = Image.open(file).convert('L')
6-
img = ImageEnhance.Contrast(img).enhance(3)
6+
img = ImageEnhance.Contrast(img).enhance(1.5)
77
return img
88

99
# Calculate height value to maintain the original aspect ratio

0 commit comments

Comments
 (0)