- do_something(im_c, "first hough x lines")
-
- lines = hough1.all_lines(im_c)
- intersections = intersections_from_angl_dist(lines)
- draw = ImageDraw.Draw(image)
- for (x, y) in intersections:
- draw.point((x + image.size[0] / 2, y + image.size[1] / 2), fill=(120, 255, 120))
-
- print(len(intersections))
-
- do_something(image, "the grid")