We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined
Hello,
There does not seem to be any instructions on how to use this beyond installation only. I have the tried the following:
Code
const pathToPdf = __dirname + "/pdf/file.pdf"; const PdfOcr = require('pdf-ocr'); const opts = { scanFirstPageOnly: true }; PdfOcr(pathToPdf, opts, (res, err) => { console.log(res); console.log(err); });
Console
undefined undefined
am I missing something? Thanks
The text was updated successfully, but these errors were encountered:
I know it's been a long while with no response, but for those who may still be wondering:
const opts = { scanFirstPageOnly: true }; const pdf = PdfOcr('./name.pdf', opts, ()=>console.log("Starting…")) pdf.on('complete', data => console.log(data)) pdf.on('error', error => console.log(error))
Sorry, something went wrong.
No branches or pull requests
Hello,
There does not seem to be any instructions on how to use this beyond installation only.
I have the tried the following:
Code
Console
am I missing something?
Thanks
The text was updated successfully, but these errors were encountered: