An ISBN carries its own check digit, so a misread ISBN can be caught without the original book: if the check digit fails, the number is wrong. This guide reads the ISBN from one scanned book and verifies the check digit.
Prerequisites
A scanned book PDF and an OCR tool. Note the ISBN-13 format: 13 digits, with the last digit as the check digit.
Steps
1. Run OCR on the copyright page
Run OCR on the copyright page and save the text. Expected result: the ISBN becomes selectable text.
2. Read the ISBN from the OCR text
Read the 13-digit ISBN from the OCR text. Expected result: the ISBN reads 978-1-4028-9462-6.
3. Verify the check digit
Multiply the first 12 digits alternately by 1 and 3, add them, and check the result against the 13th digit. Expected result: the check digit verifies, so the ISBN is internally consistent.
4. Compare with the printed page
Compare the ISBN with the printed copyright page. Expected result: the ISBN matches the printed page digit for digit.
Practice check: fictional book copyright page, ISBN 978-1-4028-9462-6
The table below is fictional practice material. It lists the ISBN check.
| Item | Value |
|---|---|
| ISBN | 978-1-4028-9462-6 |
| Digits | 13 |
| Check digit | 6 |
| Check result | Verifies |
Expected result. the ISBN reads 978-1-4028-9462-6, its check digit verifies, and it matches the printed copyright page.
Limits
- A check digit that verifies only proves the number is internally consistent; a different book with a valid ISBN still needs the title checked too.
- UNTESTED – no OCR tool or AI tool was run; all results above are expected results. The practice file is fictional.
Sources
- Adobe Acrobat, Extract key data from scanned PDFs with OCR – Try to select a word first; OCR adds text you can search, select, copy and extract; tables can flatten, so compare totals with the original page. Checked 2026-11-29.
- Tesseract OCR Documentation, output formats – Tesseract supports plain text, searchable PDF, hOCR, TSV, ALTO and PAGE output; –psm sets the page segmentation mode. Checked 2026-11-29.
