pyaesthetics.spacebaseddecompositionΒΆ

This module contains functions to compute the number of independent areas in an image.

Created on Sat Apr 21 09:40:45 2018 Last edited on Fri Aug 2 12:49:23 2024

@author: giulio

Functions

get_areas

Detects and returns areas in an image based on contours.

text2image_ratio

This function evaluates the text-to-image ratio, as well as the total area occupied by both image and text.