pyaesthetics.symmetry.get_symmetry¶
- pyaesthetics.symmetry.get_symmetry(img, minStd, minSize, plot=False)¶
Returns the degree of symmetry (0-100) between the left and right side of an image.
- Parameters:
img (numpy.ndarray) – Image to analyze.
minStd (int) – Std deviation threshold for splitting.
minSize (int) – Size threshold for splitting, in pixels.
plot (bool) – Whether to plot the QuadTree decomposition of each half.
- Returns:
Degree of vertical symmetry between 0 and 1.
- Return type:
float