mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 18:40:16 +02:00
Crop strategy accuracy
- Download the MSRA Salient Object Database (101MB).
- Extract each image and its median human-labelled salient region.
- Generate a test report of percentage deviance of top and left edges for each crop strategy, plus a naive centre gravity crop as "control".
git clone https://github.com/lovell/sharp.git
cd sharp/test/saliency
./download.sh
node report.js
python -m SimpleHTTPServer
The test report will then be available at http://localhost:8000/report.html