Full-Field Thailand Vehicle Registration (Blue Book) OCR
Test for free with image upload! Accurately extract all structured data—including VIN, Engine Number, and complex Thai script details—from the Thai Lem Tabian.

The Challenge: Thai Script Diacritics and Compact Tables
The Thai vehicle registration document (Lem Tabian, often called the Blue Book for cars or Green Book for motorcycles) is an optical challenge. The Thai language inherently lacks word spacing and utilizes complex upper and lower diacritics. In the Blue Book, this text is printed extremely close to rigid table borders, and is frequently accompanied by overlapping official stamps or handwritten notes. Traditional OCR engines that rely on blank space to separate words fail spectacularly here, generating fused strings and gibberish. Learn more about our robust capabilities on our Vehicle Registration OCR product page.
Advanced Thai NLP & Semantic Extraction
StructOCR is specifically engineered to handle the complexities of ASEAN documents. Our engine incorporates deep learning models trained specifically to separate Thai diacritics from overlapping table lines and stamps. It uses advanced semantic Key-Value mapping to intelligently locate both universal fields (VIN, Make) and region-specific parameters. All specialized Thai details are dynamically structured into our `localized.generic.unmapped_fields` object. Discover how this fits into broader compliance 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
Auto Insurance & Financing
Instantly pre-fill loan and policy applications by extracting the validated VIN, Engine Number, and registered province directly from Blue Book photos.
Used Vehicle Marketplaces
Accelerate seller onboarding across Thailand by automating background checks using precisely extracted chassis numbers.
Cross-Border Logistics
Streamline ASEAN fleet management by digitizing Thai vehicle booklets effortlessly, eliminating manual Thai data entry errors.
Fleet & Logistics Compliance
Automate compliance checks and vehicle onboarding for corporate logistics companies, ensuring all fleet registration documents are valid and up-to-date.
Technical Specs
- Thai Script Optimization: Native support for Thai language extraction, properly handling lack of word spacing and complex diacritics.
- Stamp & Line Rejection: Advanced filtering isolates typed text from rigid table borders and overlapping official stamps.
- Dynamic Fallback Schema: Automatically extracts additional registry details into the `unmapped_fields` node.
- 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 while preserving raw Thai text.
- Motorcycle & Car Support: Seamlessly handles both the Blue Book (Cars) and Green Book (Motorcycles).
- Format Support: Processes JPG, PNG, and WebP images up to 4.5MB.
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("thai_blue_book.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 Make:", std.get('make_normalized'))
# Thai specific details 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("✅ Engine Number:", unmapped.get('engine_number'))
print("✅ Registered Province:", unmapped.get('province'))Standardized + Generic JSON Output
Our API delivers a structured JSON response, separating universal vehicle specs from Thai-specific registration nuances.
{
"success": true,
"data": {
"document": {
"country_code": "TH",
"document_type": "VEHICLE_REGISTRATION",
"confidence_score": 0.96
},
"standardized": {
"vin": "MR0KA3BZ3F1234567",
"plate": {
"number": "กท 1234",
"formatted": "กท 1234"
},
"make_normalized": "Toyota",
"year": 2019
},
"localized": {
"generic": {
"unmapped_fields": {
"engine_number": "1NZ-FE123456",
"province": "Bangkok",
"vehicle_type": "Sedan"
}
}
}
}
}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 Lem Tabian photo to see the JSON output instantly.
Does the system handle both Blue and Green books?
Yes, our models are trained on both the Blue Book (for cars) and the Green Book (for motorcycles).
Can the API read Thai text effectively?
Absolutely. Our engine features native Thai NLP capabilities to correctly segment characters and preserve essential diacritic marks.
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 UAE Vehicle Registration (Mulkiya) OCR
Test our UAE Mulkiya OCR API with a free image upload. Extract full fields including engine number, origin, vehicle class, and VIN from bilingual Arabic/English registrations.
Full-Field UK Vehicle Registration (V5C Logbook) OCR
Test our UK V5C Logbook OCR API with a free image upload. Overcome perspective distortion to extract full fields including VIN, Document Reference Number, and vehicle specs.
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.
Technical Comparisons & Integrations
Explore platform integrations and competitive analysis
Add HIN OCR to Your v0 App in 5 Minutes
Step-by-step guide to integrating the StructOCR HIN (Hull Identification Number) scanner API into a v0 by Vercel app. Build marine and boat management tools with zero backend.
Add Invoice OCR to Your v0 App in 5 Minutes
Step-by-step guide to integrating the StructOCR invoice API into a v0 by Vercel app. Build accounts payable and expense tracking tools with zero backend.
Add National ID OCR to Your v0 App in 5 Minutes
Step-by-step guide to integrating the StructOCR National ID scanner API into a v0 by Vercel app. Build KYC and identity verification flows with zero backend.
Add Passport OCR to Your v0 App in 5 Minutes
Step-by-step guide to integrating the StructOCR Passport scanner API into a v0 by Vercel app through a secure Next.js server route.
Add Receipt OCR to Your v0 App in 5 Minutes
Step-by-step guide to integrating the StructOCR receipt API into a v0 by Vercel app. Build expense tracking and receipt scanning tools right in your browser.
Add VIN OCR to Your v0 App in 5 Minutes
Step-by-step guide to integrating the StructOCR VIN scanner API into a v0 by Vercel app. Build automotive and fleet tools with zero backend.
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.