Full-Field UK Vehicle Registration (V5C Logbook) OCR
Test for free with image upload! Accurately extract all structured data—including VIN, Make, Model, and the critical 11-digit Document Reference Number—from folded V5C logbooks.

The Challenge: Multi-Page Layouts and Perspective Distortion
The UK V5C Logbook is a notoriously difficult document for automated data extraction. As a large, multi-page folded document, users almost never scan it flat. Instead, they take smartphone photos at extreme angles, causing severe perspective distortion. Furthermore, identifying the critical 11-digit Document Reference Number (essential for verifying if a vehicle is stolen, scrapped, or written off) amidst colored backgrounds and heavy formatting text often causes legacy OCR tools to fail. Learn more about our advanced perspective correction capabilities on our Vehicle Registration OCR product page.
Semantic Parsing & Warp Correction
StructOCR is specifically engineered to handle the chaotic nature of user-uploaded V5C photos. Our visual grounding models automatically deskew and flatten warped images. We utilize semantic Key-Value mapping to reliably locate the VIN and the Document Reference Number, completely bypassing the complex page layout. These specific UK data points are dynamically captured into our flexible `localized.generic.unmapped_fields` object, ensuring no data is left behind. Discover how this fits into broader UK automotive workflows in our Vehicle Registration Solutions guide.
Live Demo: Vehicle Registration OCR
No registration required. Upload a file to test the extraction.
Drop files here or click to browse
JPG · PNG · WebP · up to 500 files · max 4.5 MB each
Core Industry Applications
Digital Insurance Marketplaces
Accelerate online quoting by instantly pulling exact vehicle details and specifications directly from V5C uploads, eliminating manual user entry drop-off.
Used Car Platforms & DVLA Checks
Automate background API checks against DVLA databases by accurately extracting the 11-digit Document Reference Number.
Fleet & Lease Management
Digitize paper logbooks in bulk. Validate all vehicle specifications and registration histories securely and instantly.
Automated Toll & Parking Systems
Streamline municipal parking permits and toll enforcement by automatically extracting and verifying vehicle registration dimensions and emission classes.
Technical Specs
- Perspective Correction: AI-driven image flattening to correct severe angles common in smartphone photos of large documents.
- Dynamic Fallback Schema: Automatically extracts V5C-specific numbers into the `unmapped_fields` node.
- Format Support: Processes JPG, PNG, and WebP images up to 4.5MB.
- Free Testing: Start immediately with our interactive free image upload test in the dashboard.
Key Features
- Universal Fields: Extracts VIN, Plate, Make, Model, Year, and Color into standardized English nodes.
- Critical References: Reliable extraction of the 11-digit Document Reference Number for DVLA validation.
- Robust against Lighting: Ignores shadows and glares across the multi-colored V5C pages.
Integration & API Documentation
Easily integrate our full-field OCR API. For full technical details, visit our Developer API Documentation.
import requests
import base64
# 📸 Test for free with your own image upload: https://structocr.com/developers/vehicle-registration-ocr
with open("uk_v5c_logbook.jpg", "rb") as image_file:
base64_image = base64.b64encode(image_file.read()).decode('utf-8')
url = "https://api.structocr.com/v1/vehicle-registration"
headers = {
"x-api-key": "YOUR_API_KEY",
"Content-Type": "application/json"
}
payload = {
"img": base64_image
}
response = requests.post(url, headers=headers, json=payload)
result = response.json()
if result.get('success'):
data = result.get('data', {})
std = data.get('standardized', {})
print("✅ Standardized VIN:", std.get('vin'))
print("✅ Standardized Plate:", std.get('plate', {}).get('formatted'))
# UK specific fields are captured in the generic fallback
loc = data.get('localized', {})
if 'generic' in loc and loc['generic'].get('unmapped_fields'):
unmapped = loc['generic']['unmapped_fields']
print("✅ Document Ref No:", unmapped.get('document_reference_number'))Standardized + Generic JSON Output
Our API delivers a structured JSON response, separating universal vehicle specs from UK-specific reference numbers.
{
"success": true,
"data": {
"document": {
"country_code": "GB",
"document_type": "VEHICLE_REGISTRATION",
"confidence_score": 0.97
},
"standardized": {
"vin": "SALLSAAJ7EA123456",
"plate": {
"number": "AB12CDE",
"formatted": "AB12 CDE"
},
"make_normalized": "Land Rover",
"year": 2018
},
"localized": {
"generic": {
"unmapped_fields": {
"document_reference_number": "1234 5678 901",
"tax_class": "Diesel Car"
}
}
}
}
}Frequently Asked Questions
How can I test the API before committing?
You can perform a free image upload test directly from our API documentation page or dashboard. Simply upload a sample V5C photo to see the JSON output instantly.
Can the API handle photos taken at a harsh angle?
Yes. Because the V5C is large, users often photograph it from an angle. Our perspective correction layer flattens the image before extraction occurs.
Where can I find the Document Reference Number in the payload?
Unique fields like the Document Reference Number are automatically sorted into the `localized.generic.unmapped_fields` object.
Explore More Vehicle-registration Solutions
Global Vehicle Registration OCR API
Our flagship API for parsing complex global vehicle documents. Unified extraction for over 150+ countries with dynamic localization.
Full-Field USA DMV Vehicle Registration & Title OCR
Test our USA DMV vehicle registration OCR API with a free image upload. Extract full fields including VIN, Title Number, and Make across all 50 fragmented state formats.
Used Car Dealer Marketplaces Workflow Automation
Automate vehicle inventory onboarding and seller verification. Instantly extract and cross-reference VINs from registration documents for used car portals.
Full-Field Vietnam Vehicle Registration (Cavet) OCR
Test our Vietnam Giấy đăng ký xe OCR API with a free image upload. Extract full fields including owner name, address, engine number, and VIN from Vietnamese vehicle registrations.
Auto Insurance Underwriting Workflow Automation
Accelerate digital auto insurance policies with our vehicle registration OCR. Instantly extract Make, Model, and VIN from user smartphone uploads for fast quoting.
Automotive Parts & Aftermarket Workflow Automation
Revolutionize the automotive aftermarket. Scan vehicle registrations to instantly identify exact engine codes and recommend highly compatible auto parts.
Full-Field Brazil Vehicle Registration (CRLV / CRLV-e) OCR
Test our Brazilian CRLV OCR API with a free image upload. Overcome moiré patterns from screenshots and extract full fields including VIN and Renavam.
Car Rental Digital Checkout Workflow Automation
Streamline the car rental checkout process. Scan customer vehicle registration or rental fleet documents instantly using our enterprise OCR API.
Full-Field Egypt Vehicle Registration (Vehicle License (رخصة مركبة)) OCR
Test our Egyptian Vehicle License OCR API with a free image upload. Extract full fields including complex Arabic script and VIN from degraded physical cards.
Fleet Onboarding Automation Workflow Automation
Automate commercial fleet onboarding with our OCR API. Instantly digitize vehicle registration documents and validate heavy vehicle compliance metrics.
Full-Field France Vehicle Registration (Carte Grise) OCR
Test our French Carte Grise OCR API with a free image upload. Extract full fields including EU standard alphanumeric codes (J.1, P.6) and VIN from Certificat d'immatriculation.
Technical Comparisons & Integrations
Explore platform integrations and competitive analysis
Add Driver's License OCR using Cursor in 5 Minutes
Step-by-step guide to integrating the StructOCR Driver's License scanner API using the Cursor AI code editor. Build car rental and mobility onboarding flows rapidly.
Add HIN OCR using Cursor in 5 Minutes
Step-by-step guide to integrating the StructOCR HIN (Hull Identification Number) scanner API using the Cursor AI code editor. Build marine and boat management tools rapidly.
Add Invoice OCR using Cursor in 5 Minutes
Step-by-step guide to integrating the StructOCR invoice API using the Cursor AI code editor. Build accounts payable and expense tracking tools rapidly.
Add National ID OCR using Cursor in 5 Minutes
Step-by-step guide to integrating the StructOCR National ID scanner API using the Cursor AI code editor. Build KYC and identity verification flows rapidly.
Add Passport OCR using Cursor in 5 Minutes
Step-by-step guide to integrating the StructOCR Passport scanner API using the Cursor AI code editor. Build travel, hospitality, and global KYC flows rapidly.
Add Receipt OCR using Cursor in 5 Minutes
Step-by-step guide to integrating the StructOCR receipt API using the Cursor AI code editor. Build expense tracking and receipt scanning tools rapidly.
From tutorial to production in 5 minutes.
You've seen the code. Now get your API key, grab your 200 free credits, and see it work with your own images. No credit card required.