A VIN is 17 characters with a check digit in position 9, so a misread VIN can be caught the same way as a misread ISBN: if the check digit fails, the number is wrong. OCR often confuses I with 1 and O with 0 in VINs, though a real VIN never holds I, O or Q. This guide checks one VIN.
Prerequisites
A scanned vehicle document and an OCR tool. Vehicle documents carry personal data, so work on a private copy.
Steps
1. Run OCR on the document
Run OCR on the document and save the text. Expected result: the VIN becomes selectable text.
2. Read the 17-character VIN
Read the VIN from the OCR text. Expected result: the VIN reads 1HGCM82633A004352.
3. Check for forbidden letters
Check the VIN for the letters I, O and Q. Expected result: none of the three letters appears.
4. Compare with the printed document
Compare the VIN with the printed document character by character. Expected result: the VIN matches the printed document.
Practice check: fictional scanned vehicle registration, VIN check
The table below is fictional practice material. It lists the VIN check.
| Item | Value |
|---|---|
| VIN | 1HGCM82633A004352 |
| Length | 17 characters |
| Forbidden letters | None present |
| Check digit position | Position 9 |
Expected result. the VIN reads 1HGCM82633A004352, it holds 17 characters with no forbidden letters, and it matches the printed document.
Limits
- A VIN that passes the character checks can still belong to a different vehicle, so compare it with the plate and the registration document as well.
- 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.
