pyaesthetics.linesdetection.get_straight_lines

pyaesthetics.linesdetection.get_straight_lines(image, plot=False)

Detect straight lines in an image using the Hough Line Transform.

Parameters:
  • image (numpy.ndarray) – The image to analyze, in RGB format.

  • plot (bool, optional) – Whether to plot the image with detected lines or not (default is False).

Returns:

Detected straight lines.

Return type:

list of numpy.ndarray or None