deleted unused code
[imago.git] / imago.py
index 1e5166c..fcba0a4 100755 (executable)
--- 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)