Replies: 2 comments 1 reply
-
pypdf is a library to assemble, extract text, images, merge pages...What you are looking for is a pdf generator to create your pages (such as fpdf2) |
Beta Was this translation helpful? Give feedback.
1 reply
-
pypdf can do the job of assemblu. the only point is to first generate the page from your text 🙂 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hai,
Actually, I am trying to convert a scanned pdf or non-searchable pdf to searchable pdf by using
pytesseract
. But I am getting error while adding the page toPdfWriter
.Can someone please help me how can I fix the error. Below is the sample code and I am using
fitz
to get image of each page.this is the error I am getting
Thanking you in advance.
Beta Was this translation helpful? Give feedback.
All reactions