def houghFilter(frame, distance_resolution=2, angle_resolution=(np.pi / 180), min_n_intersections=50, min_line_size=30, max_line_gap=5):
    '\n    Params:\n        frame\n        distance_resolution:    distance resolution of accumulator in pixels, larger ==> less precision\n        angle_resolution:   angle of accumulator in radians, larger ==> less precision\n        min_n_intersections: minimum number of intersections\n        min_line_size:  minimum length of line in pixels\n        max_line_gap:   maximum distance in pixels between disconnected lines\n    '
    placeholder = np.array([])
    hough = cv.HoughLinesP(frame, distance_resolution, angle_resolution, min_n_intersections, placeholder, min_line_size, max_line_gap)
    return hough
Params:
    frame
    distance_resolution:    distance resolution of accumulator in pixels, larger ==> less precision
    angle_resolution:   angle of accumulator in radians, larger ==> less precision
    min_n_intersections: minimum number of intersections
    min_line_size:  minimum length of line in pixels
    max_line_gap:   maximum distance in pixels between disconnected lines
def houghFilter(frame, distance_resolution=2, angle_resolution=(np.pi / 180), min_n_intersections=50, min_line_size=30, max_line_gap=5):
    '\n    Params:\n        frame\n        distance_resolution:    distance resolution of accumulator in pixels, larger ==> less precision\n        angle_resolution:   angle of accumulator in radians, larger ==> less precision\n        min_n_intersections: minimum number of intersections\n        min_line_size:  minimum length of line in pixels\n        max_line_gap:   maximum distance in pixels between disconnected lines\n    '
    placeholder = np.array([])
    hough = cv.HoughLinesP(frame, distance_resolution, angle_resolution, min_n_intersections, placeholder, min_line_size, max_line_gap)
    return hough