proxyscripts/compare_images_pixels.py
henriquenakashima feb3ca36e6 Test scripts
2023-07-10 14:25:48 -04:00

8 lines
267 B
Python

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)))