Get started with jscanify CDN
MIT licensed
JScanify: JS OCR library for text extraction from images, PDFs.
Tags:- js
- scanner
- document-scanner
Stable version
Copied!
How to start using jscanify CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with jscanify CDN - cdnhub.io</title>
<script src="https://cdn.cdnhub.io/jscanify/1.2.0/jscanify.js"></script>
</head>
<body>
<button id="scan-button">Scan QR Code</button>
<script>
const scanButton = document.getElementById('scan-button');
const jscanify = new jscanify.JScanify();
scanButton.addEventListener('click', () => {
jscanify.scan((result) => {
console.log('Scan result:', result);
}, (error) => {
console.error('Scan error:', error);
});
});
</script>
</body>
</html>
Copied!
Copied!