image-interestingness

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i image-interestingness

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • beaugunderson