sunzi-image-fuzzy

Experimental library to measure blur in images

Usage no npm install needed!

<script type="module">
  import sunziImageFuzzy from 'https://cdn.skypack.dev/sunzi-image-fuzzy';
</script>

README

Inspector Bokeh

Experimental JavaScript library to measure blur in images. See this blog post for more info.

Prerequisites

Run with Node.js

  1. 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
  2. npm install
  3. node measure_blur_node.js path/to/image/file.jpg

Prepare and run browser demo - under construction

  1. npm install
  2. browserify measure_blur_browserify.js > measure_blur_browser.js
  3. Open demo.html in your browser.