X-Git-Url: http://git.tomasm.cz/imago.git/blobdiff_plain/f6002686fef1bd826f3a1777998416b93d909d56..b91b0e43b25e64b3516b9156ca42e7309665628b:/imago.py diff --git a/imago.py b/imago.py index 1e5166c..fcba0a4 100755 --- a/imago.py +++ b/imago.py @@ -63,8 +63,9 @@ def main(): #TODO ask user to try again return 1 else: - lines = linef.find_lines(image, show_all, do_something, verbose) - grid = gridf.find(lines, image.size, None, None) + 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)