スキャンしたPDFを比べたいとき
- 文字を読み取る
- 文字を保存
- 別のツールで比べる
スキャンしたPDFは、中身が画像のため、2つのPDFの違いを比べる(差分チェック) では比べられません。「文字が見つかりませんでした。スキャンしたPDFは比べられません。」と表示されます。それでも比べたいときの手順です。
なぜ比べられないか
このツールは、PDFに含まれる文字データを比べます。スキャンしたPDFは、写真のように画像として保存されているため、比べる文字がありません。
方法1:OCRで文字にしてから比べる
- 画像・PDFの文字を読み取る(OCR)ツールで、2つのPDFをそれぞれ文字にします。
- 文字を、テキストとして保存します。
- 文字データの比較ツールで、2つのテキストを比べます。
読み取りまちがいがあると、違いとして出てしまう点に注意します。
方法2:元のデータで比べる
スキャン前の、Wordなどの元データが残っている場合は、そこからPDFを作り直して比べると、正確です。
方法3:目視で比べる
重要な箇所が少ない場合は、2つのPDFを並べて、目で確認します。
- 画面を2つに分けて表示する
- ページごとに、見比べる
- 数字や日付から先に見る
OCRで比べるときのコツ
- 同じ条件でスキャンする(明るさ、解像度、向き)
- 傾きを直してから読み取る
- 読み取った文字は、まちがいを直してから比べる
向いている場面
- 紙の書類を、2回スキャンして比べる
- 受け取ったスキャンと、手元のデータを比べる
例
取引先から届いた契約書のスキャンを、手元のPDFと比べたかった。OCRで文字にしてから、テキストで比べた。
つまずきやすい点
- OCRの誤読が、差分として出る:誤読を直してから比べる。
- ページ順が違う:ページを入れ替えてから比べる。
よくある質問
画像の差分は比べられますか?
このツールは、文字だけです。画像の差分は、目で確認します。
まとめ
スキャンのPDFは、OCRで文字にしてから比べる。難しければ、目視で確認しましょう。
2つのPDFの違いを比べる(差分チェック)を使う(無料)あわせて使えるツール
- PDFから文字を抜き出す:PDFの文字を取り出して、コピーまたは保存できます。
- PDFを結合:複数のPDFを、順番を決めて1つのPDFにまとめます。
- 画像・PDFの文字を読み取る(OCR):画像やスキャンPDFの文字を、文字データにします。
同じツールの、ほかの解説
When You Want to Compare Scanned PDFs
- Read the text
- Save the text
- Compare the text
A scanned PDF is made of images, so Compare Two PDFs (Find Differences) cannot compare it. It shows "No text was found. Scanned PDFs cannot be compared." Here is what to do if you still want to compare.
Why it cannot be compared
This tool compares the text data contained in a PDF. A scanned PDF is stored as images like a photo, so there is no text to compare.
Method 1: turn into text with OCR, then compare
- With the tool that reads text from images and PDFs (OCR), turn each of the two PDFs into text.
- Save the text as plain text.
- Compare the two texts with a text comparison tool.
Note that reading mistakes show up as differences.
Method 2: compare original data
If the original data from before scanning, such as Word, remains, recreating the PDF from it and comparing is accurate.
Method 3: compare by eye
If there are few important places, put the two PDFs side by side and check by eye.
- Show the screen split in two
- Compare page by page
- Look at numbers and dates first
Tips when comparing via OCR
- Scan under the same conditions (brightness, resolution, orientation)
- Correct tilt before reading
- Fix reading mistakes before comparing
Good for
- Scanning a paper document twice and comparing
- Comparing a received scan with your own data
Example
Wanted to compare a scan of a contract from a business partner with the PDF on hand. Turned them into text with OCR and compared the texts.
Common stumbling blocks
- OCR misreadings appear as differences: fix them before comparing.
- Page order differs: reorder the pages before comparing.
Frequently asked questions
Can image differences be compared?
This tool handles text only. Check image differences by eye.
Summary
Turn scanned PDFs into text with OCR and then compare. If hard, check by eye.
Use "Compare Two PDFs (Find Differences)" (free)Tools that go well with this
- Extract Text from PDF: Pull the text out of a PDF to copy or save.
- Merge PDFs: Combine several PDF files into one, in the order you choose.
- Read Text from Images and PDFs (OCR): Turn text in images and scanned PDFs into text.