New Tool Radar

AI PDF

How to Check the ISBN and Its Check Digit on a Scanned Book PDF

Check the ISBN OCR reads from a scanned book PDF and verify its check digit before you catalogue the book.

Schematic illustration of an ISBN check: run OCR on the copyright page, read the ISBN, and verify the check digit.

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

See all