X-Git-Url: http://git.tomasm.cz/imago.git/blobdiff_plain/145417a1698105ca84eeb57c650181f8777667e5..d7381505234afcfa32b97fcb2fc30a8b01618601:/linef.py?ds=sidebyside diff --git a/linef.py b/linef.py index f46d92c..1dd35d4 100755 --- a/linef.py +++ b/linef.py @@ -100,13 +100,7 @@ def find_lines(image, show_all, do_something, verbose): if show_all: do_something(im_c, "hough x lines") - image_g = image.copy() - draw = ImageDraw.Draw(image_g) - for line in [l for s in lines for l in s]: - draw.line(line_from_angl_dist(line, image.size), fill=(120, 255, 120)) - if show_all: - do_something(image_g, "the grid") - + return lines def combine(image1, image2):