Test scripts
This commit is contained in:
parent
0e30e652dd
commit
feb3ca36e6
2 changed files with 58 additions and 0 deletions
8
compare_images_pixels.py
Normal file
8
compare_images_pixels.py
Normal 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)))
|
||||
Loading…
Add table
Add a link
Reference in a new issue