image-interestingness
v1.0.0
Published
image-interestingness calculates a score for an image that includes the image's saturation and detail.
Downloads
3
Maintainers
Readme
image-interestingness
image-interestingness calculates a score for an image that includes the image's saturation and detail. It is based on Jonas Wanger's smartcrop.js.
Usage
var ImageInterestingness = require('image-interestingness');
var interestingness = new ImageInterestingness();
var result = interestingness.analyzeFile('./test.png');
//= {detail: ..., saturation: ..., total: ...}