pyaesthetics.linesdetection.analyse_lines¶
- pyaesthetics.linesdetection.analyse_lines(image)¶
Analyze an image to determine the ratio of the total length of straight lines to the total length of curved lines.
- Parameters:
image (numpy.ndarray) – The image to analyze, in RGB format.
- Returns:
The ratio of total straight line length to total curved line length. Returns NaN if division by zero occurs.
- Return type:
float