I want to process uploaded photos using PIL and define some βsoftβ image metrics, for example:
- Is the image contrasting or boring?
- color or monochrome
- bright or dark?
- Is the image warm or cold (relative to light temperature)?
- is there a dominant shade?
metrics should be measured in a rating style, for example. colorful ++++ for a very vivid photo, colorful + for a pretty monochrome image.
I already noticed the PIL ImageStat Module, which calculates some interesting values ββfor my indicators, for example. RMS histograms, etc. However, this module is rather poorly documented, so I'm looking for more specific algorithms for determining these indicators.
source share