blurdetector
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

Blur Detector

npm module for inspector-bokeh

Installation

npm i blurdetector
yarn add blurdetector

Usage

support image src:

import blurDetector, { fileToBase64 } from 'blurdetector';

const onFileChange = async (e) => {
  // Support String base64/Buffer image
  const result = await blurDetector(fileToBase64(e.target.files[0]));
  console.table({ result })
};

Package Sidebar

Install

npm i blurdetector

Weekly Downloads

1

Version

2.0.0

License

MIT

Unpacked Size

147 kB

Total Files

16

Last publish

Collaborators

  • luthfikhan