X-Git-Url: http://git.tomasm.cz/imago.git/blobdiff_plain/3f247835cf0314b09b329cb54132d6e529065fd1..45b6aba3bbf3aea1bacad077387ae77a1deb1a3c:/imago_pack/gridf.py?ds=inline diff --git a/imago_pack/gridf.py b/imago_pack/gridf.py index dfb1e86..fc64772 100644 --- a/imago_pack/gridf.py +++ b/imago_pack/gridf.py @@ -30,7 +30,9 @@ def job_4(x, y, w, z, im_l, v1, v2, h1, h2, dv, dh, size): h2 = (h2[0] + z * dh, h2[1] + z) return (distance(im_l, get_grid([v1, v2], [h1, h2], size), size)) -def find(lines, size, l1, l2, bounds, hough, show_all, do_something): +def find(lines, size, l1, l2, bounds, hough, show_all, do_something, logger): + logger("finding the grid") + l1 = line_from_angl_dist(l1, size) l2 = line_from_angl_dist(l2, size) v1 = V(*l1[0]) - V(*l1[1])