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):