hough transform in C
[imago.git] / imago.py
index 1e5166c..3fa4f6b 100755 (executable)
--- a/imago.py
+++ b/imago.py
@@ -63,8 +63,8 @@ def main():
             #TODO ask user to try again
             return 1
     else:
             #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 = linef.find_lines(image, show_all, do_something, verbose)
+        grid, lines = gridf.find(lines, image.size, l1, l2, bounds, hough, do_something)
         if show_all:
             im_g = image.copy()
             draw = ImageDraw.Draw(im_g)
         if show_all:
             im_g = image.copy()
             draw = ImageDraw.Draw(im_g)