News for hackers. Stuff that matters.
Re:Smartcrop.js (2014) by slavik81 on Wednesday January 20, 2016 @06:08AM (#10937272)
The readme contains the most important thing missing from the blog post:

Algorithm Overview

1. Find edges using laplace

2. Find regions with a color like skin

3. Find regions high in saturation

4. Generate a set of candidate crops using a sliding window

5. Rank them using an importance function to focus the detail in the center and avoid it in the edges.

6. Output the candidate crop with the highest rank

There are no comments on this comment yet.