ocr-document-classification
Advanced tools
Comparing version 1.1.6 to 1.1.7
@@ -66,4 +66,7 @@ "use strict"; | ||
}; | ||
async function loadMuPDF() { | ||
return await import("mupdf"); | ||
} | ||
async function convertPDFtoImages(pdfPath) { | ||
const mupdf = await import("mupdf"); | ||
const mupdf = await loadMuPDF(); | ||
const pdf = new mupdf.Document(pdfPath); | ||
@@ -70,0 +73,0 @@ const pageCount = pdf.countPages(); |
{ | ||
"name": "ocr-document-classification", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"description": "Document classification using tesseract.js and string-similarity-js.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
15413
311