1.0.0 • Published 8 years ago
image-interestingness v1.0.0
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: ...}
1.0.0
8 years ago