Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-23-2024, 10:49 PM
Xavier Xavier is offline Pdf looks crap when OCRd - help! Windows XP Pdf looks crap when OCRd - help! Office 2016
Advanced Beginner
Pdf looks crap when OCRd - help!
 
Join Date: Jul 2023
Posts: 67
Xavier is on a distinguished road
Default Pdf looks crap when OCRd - help!

I've been working on a very large project and part of it involves converting some court documents into editable Word Documents (RTF files).

I've seen and read "Cleaning up Text Pasted from Websites, E-mails, PDFs etc"
https://www.msofficeforums.com/word/...-pdfs-etc.html but found that hasn't helped.

I've never had problems like this in OCR-ing PDFs ever. If someone can take a look at the attached and point me in the direction of somewhere that explains how I can try and automate the process a bit to clean up the Word Docs I would be really grateful.



I've attached the Word Docs as .docx files, but the ones I am working with are RTF files. Unfortunately the file uploader doesn't allow for these files to be uploaded.

I've tried removing column and section breaks and selecting everything and pressing Control + Spacebar, which are tricks I've been taught in the past. But it is still looking like the dog's breakfast in my Word Doc.
Attached Files
File Type: docx Chamberlain 2nd Inquest for forum.docx (91.7 KB, 6 views)
File Type: pdf Chamberlain 2nd Inquest test for forum.pdf (226.7 KB, 10 views)
Reply With Quote
  #2  
Old 10-23-2024, 11:30 PM
macropod's Avatar
macropod macropod is offline Pdf looks crap when OCRd - help! Windows 10 Pdf looks crap when OCRd - help! Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,381
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Why are you OCRing the PDF when you can open it in Word? After all, the text is all there. You could even just copy/paste the text from the PDF into Word.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 10-23-2024, 11:39 PM
Xavier Xavier is offline Pdf looks crap when OCRd - help! Windows XP Pdf looks crap when OCRd - help! Office 2016
Advanced Beginner
Pdf looks crap when OCRd - help!
 
Join Date: Jul 2023
Posts: 67
Xavier is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Why are you OCRing the PDF when you can open it in Word? After all, the text is all there. You could even just copy/paste the text from the PDF into Word.
No, the text is there but most of it is only as an image, not as a text PDF.
The small snippet of the document had some of it as text, but the entire document is more complicated.

You can't copy and paste all the text from the PDF. I wish I could.

If there was a way I could send you more I would, but the forum only allows small parts of the document to be uploaded.
Reply With Quote
  #4  
Old 10-24-2024, 12:32 AM
macropod's Avatar
macropod macropod is offline Pdf looks crap when OCRd - help! Windows 10 Pdf looks crap when OCRd - help! Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,381
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

The PDF you posted already has the text, though, suggesting it's already been subject to an OCR process and the result seems to be better than what you're getting.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 10-24-2024, 08:23 AM
Charles Kenyon Charles Kenyon is offline Pdf looks crap when OCRd - help! Windows 11 Pdf looks crap when OCRd - help! Office 2021
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,474
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

OCR is an imperfect process, although it has certainly improved over the years. It still REQUIRES human proofreading, especially for court documents.

It also very much depends on the quality of the original scan. The more stray marks, the more anomalies in the text.

There are different OCR engines out there. Try different ones. Word does not have an internal OCR engine.
Reply With Quote
  #6  
Old 10-24-2024, 03:33 PM
Xavier Xavier is offline Pdf looks crap when OCRd - help! Windows XP Pdf looks crap when OCRd - help! Office 2016
Advanced Beginner
Pdf looks crap when OCRd - help!
 
Join Date: Jul 2023
Posts: 67
Xavier is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
The PDF you posted already has the text, though, suggesting it's already been subject to an OCR process and the result seems to be better than what you're getting.
Yeah, unfortunately it isn't representative of the entire document, and much of it is just treated as images, so isn't easily OCR'd.
Reply With Quote
  #7  
Old 10-24-2024, 05:00 PM
macropod's Avatar
macropod macropod is offline Pdf looks crap when OCRd - help! Windows 10 Pdf looks crap when OCRd - help! Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,381
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Do you have a link to the full document?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Other Forums: Access Forums

All times are GMT -7. The time now is 02:09 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft