-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Multi-Image TIFF files currently break the downscaling part of our workflow for Eynollah line extraction. Multiple files are generated and this confuses the upscale amount calculating in compute_upscale_amount.py causing it to throw an assert over the lines.
width = original_tif_image.width / downsized_jpg_image.width
height = original_tif_image.height / downsized_jpg_image.height
assert math.isclose(width, height, abs_tol=0.1), f"Upscale amount (width={width}, height={height}) is not the same in both dimensions"
A good example of this are images found in the book anon_R11260_wellcome_4_generalhistoryair1692.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working