Test scripts

This commit is contained in:
henriquenakashima 2023-07-10 14:25:48 -04:00
parent 0e30e652dd
commit feb3ca36e6
2 changed files with 58 additions and 0 deletions

8
compare_images_pixels.py Normal file
View file

@ -0,0 +1,8 @@
from PIL import Image, ImageCms
from crop_card import BASE_DIR
with Image.open(BASE_DIR / 'sheets' / 'sheet001.jpg') as im:
print(im.getpixel((5151, 9996)))
with Image.open(BASE_DIR / 'sheets' / 'sheet003_corrected.jpg') as im:
print(im.getpixel((5151, 9996)))