Skip to content

ideamans/node-sharp-iqa

Repository files navigation

Image quality assessment utility for sharp.

  • MSE .mse
  • PSNR .psnr

Future

  • SSIM

Sample

Use exported SharpIQA.sharp because different sharp version maybe get segmentation fault.

const SharpIQA = require('sharp-iqa')

(async() {
  const psnr = await SharpIQA.psnr(SharpIQA.sharp('path/image1.png'), SharpIQA.sharp('path/image2.png'))
  console.log(psnr)
})()

About

Image quality assessment utility for sharp.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •