java - sort images by how detailed they are -
i'm looking java package allow me sort images how detailed are. create service scan images , filter out non-interesting images. i'm aware there no absolute way of doing make best effort.
thanks!
use opencv
quite powerful library play images.
here sample algorithm you.
convert image rgb grayscale image. sum color of image pixel pixel// there sum() method automatically sums. divide result numpixel(=height*width)//there may methods mean() standard deviation of pixels// if stddev > thresh "interesting image"
Comments
Post a Comment