X-Git-Url: http://git.tomasm.cz/imago.git/blobdiff_plain/10466a9c920f1d67bf85d85af671bcb8e5fbd533..1e473b2725c875b2d4e6e69530a95eec2f3a901e:/imago.py diff --git a/imago.py b/imago.py index 3fa4f6b..fcba0a4 100755 --- a/imago.py +++ b/imago.py @@ -63,8 +63,9 @@ def main(): #TODO ask user to try again return 1 else: - lines, l1, l2, bounds, hough = linef.find_lines(image, show_all, do_something, verbose) - grid, lines = gridf.find(lines, image.size, l1, l2, bounds, hough, do_something) + lines, l1, l2, bounds, hough, im_h = linef.find_lines(image, show_all, do_something, verbose) + grid, lines = gridf.find(lines, image.size, l1, l2, bounds, hough, + do_something, im_h) if show_all: im_g = image.copy() draw = ImageDraw.Draw(im_g)