def showLines(img, lines, color=(255, 0, 0), thickness=5):
    line_img = np.zeros(img.shape, dtype=np.uint8)
    if (lines is not None):
        for (x1, y1, x2, y2) in lines:
            cv.line(line_img, (x1, y1), (x2, y2), color, thickness)
    return line_img
def showLines(img, lines, color=(255, 0, 0), thickness=5):
    line_img = np.zeros(img.shape, dtype=np.uint8)
    if (lines is not None):
        for (x1, y1, x2, y2) in lines:
            cv.line(line_img, (x1, y1), (x2, y2), color, thickness)
    return line_img