Почему не удаётся извлечь текст из PDF (отсканированные PDF)
Главное
- Отсканированные PDF — это изображения без текстовых данных
- Возможность выделить текст подскажет, какой это тип
- При необходимости используйте OCR (распознавание текста)
You tried to extract text from a PDF but nothing came out. In that case the PDF is very likely an "image PDF". Extract Text from PDF extracts text from PDFs that hold text as text. It cannot extract from a PDF made by simply scanning paper.
Two kinds of PDF
- Text PDF: the writing is stored as text. You can select, copy and search it. PDFs exported from Word and saved web pages are usually this kind.
- Image PDF: each whole page is a single image. It looks like text but is actually just a picture. PDFs scanned from paper and PDFs made from photos are this kind.
Как определить
- Open the PDF in another app or a browser.
- Try dragging over the writing to select it.
- If you can select it, it is a text PDF. If not, it is an image PDF.
- Whether a search (Ctrl+F or Command+F) finds words in the text is also a guide.
To get text out of an image PDF
Use text recognition (OCR), a technology that reads text in images and turns it into text data. This site also has a text recognition (OCR) tool.
Steps (using OCR)
- Turn the image PDF into images with "PDF to Image".
- Use the "Text Recognition (OCR)" tool to read the text from the images.
- Check the text it read and copy the parts you need.
OCR results are not perfect. Compare them with the original text for errors.
Where image PDFs commonly arise
- Paper documents read with a scanner
- Documents photographed with a phone and made into a PDF
- A PDF lightened with the "Compress" tool (pages become images)
Common stumbling blocks
- Only some pages cannot be extracted: only those pages may be images.
- Only a little text comes out: part of the writing may be an image.
- It cannot be extracted after compression: compression turns pages into images. Use the PDF from before compression.
Frequently asked questions
Can OCR extract everything?
Accuracy depends on how clear the image is. Handwriting and small text produce more errors.
Does an image PDF look different?
It looks almost the same. The difference is whether it can be handled as text.
Итог
When nothing comes out, it is an image PDF. Reading the text in the images with OCR solves it.
Использовать «Извлечь текст из PDF» (бесплатно)Инструменты, которые хорошо сочетаются с этим
- PDF в изображения: Сохраните каждую страницу PDF как изображение JPEG или PNG.
- Извлечь или удалить страницы PDF: Оставьте только нужные страницы или удалите ненужные.
- Сжать PDF: Уменьшите PDF до выбранного размера для ограничений загрузки.
Если это руководство помогло, небольшие чаевые будут очень ценны.
Отправить чаевые (¥300)Отправить подарок (список желаний Amazon)Другие руководства по этому инструменту
- Как скопировать и извлечь текст из PDF
- Как скопировать текст из PDF в Word или заметки
- Что делать, если извлечённый из PDF текст нечитаем
- Советы по использованию текста из PDF для учёбы и отчётов
- Добавлять ли маркеры страниц? Выбор между включением и выключением
- Как извлечь текст из PDF, не отправляя файл никуда