npm.io
1.2.0 • Published 3 years ago

inspector-bokeh

Licence
—
Version
1.2.0
Deps
2
Size
36 kB
Vulns
0
Weekly
0
Stars
48

Inspector Bokeh

Experimental JavaScript library to measure blur in images.

Prerequisites

Run with Node.js

  1. Make sure Cairo is installed in your system, the canvas module requires this. How to install node-canvas.
  2. npm install
  3. node measure_blur.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.