1.0.0 • Published 8 years ago

image-interestingness v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

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: ...}