| Post Reply | RetroFed Forum Forum Index » Paperless office; document/image processing 📷🮕🖥🖻📠🗄🖼📥🧾 |
| Author | Message | ||
|---|---|---|---|
|
freedomPusher
sopuli.xyz
freedomPusher@sopuli.xyz Joined: 2021-03-06 |
Suppose you have a scanned document. Scans are flawed, ugly, bulky, and sometimes contain sensitive info. How do you produce a clean vector PDF from that? In the FOSS world, we have #Tesseract to OCR the PDF. This just generates the text for searchability but retains the ugliness and bulk. It would be crazy painful to extract the text and then use LaTeX to manually reconstruct the layout. Windows has a tool named ABBYY FineReader Pro Edition. It performs the OCR, then it also finds text and images and puts numbered rectangles around them. It finds a matching font, style, and weight for the text and gives users a chance to delete rectangles at will before constructing a new vector PDF. I took the scan of a 1-page letter and dithered it to bitonal using FOSS, yielding 43k. Then processed with ABBYY, which produced a much cleaner vector PDF weighing in at 12kb. Most importantly, ABBYY makes it easy to omit sensitive blocks like names, addresses, and signatures, or overwrite them with “REDACTED”. Is there anything like this in the FOSS world? I suppose not, but please correct me if I’m wrong. I would love it if a tool could take an OCRd PDF and produce a LaTeX doc where every object would simply amount to a Potential use cases:
UpdateFOSS libraries apparently already exist. |
||
| 4 Original | |||
| Post Reply |
Back to top |