napi-typescript-tesseract
not on npm now (comming soon), but u can localy link.
- clone project
- cd napi-typescript-tesseract
yarn link
- go to your project
yarn link napi-typescript-tesseract
Usage
get text
; const tesseract = ;tesseract; const image = `/image.png`;console; tesseract;console;tesseract;
get searchable pdf (multipage)
const tesseract = ;tesseract;const pdfRenderer = outputBase: "test_pdf_multi";const image = `/image.png`;tesseract;const image2 = `/image.png`;tesseract;pdfRenderer;tesseract;