Extracting with OCR
1.7 · Lesson

Extracting with OCR

In the last lesson, we classified the dataset: 44% digital text, 40% scanned with OCR, and 16% image-only. PyMuPDF handles the first two categories, but the image-only files return nothing.

In this lesson, we'll run fresh OCR on page images to recover text from those files, and compare what happens when we re-OCR files that already have a text layer.