Experimental JavaScript library to measure blur in images. See this blog post for more info.
- Make sure Cairo is installed in your system, the canvas module requires this. How to install node-canvas.
- On OS X with Homebrew:
brew install pkg-config cairo pango libpng jpeg giflib
- On OS X with Homebrew:
npm install
node measure_blur_node.js path/to/image/file.jpg
npm install
browserify measure_blur_browserify.js > measure_blur_browser.js
- Open
demo.html
in your browser.