Mexican Vehicle Registration (Tarjeta de Circulación) OCR
Automate cross-border fleet compliance and LATAM auto financing. Accurately extract the 17-character VIN (Número de Serie) across Mexico's heavily fragmented, state-by-state registration layouts.

The Challenge of Extreme Layout Fragmentation
Managing vehicle registration data in Mexico presents a unique structural hurdle: extreme document fragmentation. Unlike countries with a standardized national format, the Mexican Tarjeta de Circulación is issued at the state level (Estado). This means there are dozens of entirely different layouts, background designs, and terminology variations (e.g., using 'NIV', 'Número de Serie', or 'Chasis') across the country. Legacy OCR systems that rely on fixed templates or strict spatial coordinates fail instantly when presented with a card from a different state. To understand how our engine overcomes these structural barriers, explore our core OCR product capabilities.
Template-Free, Key-Value Generalization
StructOCR is designed for the reality of LATAM vehicle documentation as part of our comprehensive Automotive VIN OCR solution. Instead of memorizing layouts, our API utilizes advanced Key-Value logic and semantic understanding. It dynamically scans the document for Spanish contextual clues and applies robust structural validation to locate the 17-character alphanumeric string, regardless of where it is printed on the card. This ensures flawless extraction whether the vehicle is registered in Nuevo León, Jalisco, or Mexico City.
Live Demo: VIN Barcode Scanner
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
US-Mexico Cross-Border Fleets
Ensure seamless customs compliance and logistics tracking. Automatically digitize fleet registration documents to verify VINs without manual data entry delays at the border. Get 200 free credits to test your own fleet documents.
LATAM Auto Financing & Loans
Accelerate loan approvals and risk assessments by instantly pulling accurate vehicle identification data from user-uploaded Tarjeta de Circulación photos. Ready to deploy across your lending platform? View our flexible pricing.
Used Car Dealerships
Streamline vehicle intake and inventory management. Scan the registration card to automatically pull the exact 17-character VIN required for historical background checks and pricing estimations.
Insurance Underwriting
Eliminate policy setup friction. Allow customers to snap a photo of their registration card from any Mexican state to instantly populate their insurance application with verified vehicle data.
Technical Specs
- Template-Free Extraction: Dynamic Key-Value parsing eliminates the need for state-specific layout templates.
- Spanish Context Awareness: Trained to identify variations like NIV, Número de Serie, and Chasis.
- Validation: Built-in ISO 3779 rules ensure the extracted string is a valid 17-character vehicle identifier.
- Data Privacy: Zero data retention (SOC2 Compliant).
Key Features
- VIN (NIV/Número de Serie): Highly accurate extraction across all 32 Mexican state formats.
- Format Support: Accepts raw Base64 or direct file uploads (JPG, PNG, WebP up to 4.5MB).
- Adaptive Thresholding: Easily bypasses heavy graphic backgrounds, holograms, and state seals.
Integration & AI Prompts
Handle the fragmentation of Mexican vehicle documents with a single API endpoint. Copy the prompt below into Cursor or v0 to quickly generate your frontend upload component.
import requests
import base64
# 💰 Save 30%+ vs competitors. Get 200 free credits instantly:
# 👉 https://structocr.com/register
# 1. Prepare Base64 Image of the Tarjeta de Circulación
with open("tarjeta_de_circulacion.jpg", "rb") as image_file:
base64_image = base64.b64encode(image_file.read()).decode('utf-8')
url = "https://api.structocr.com/v1/vin"
headers = {
"x-api-key": "YOUR_API_KEY",
"Content-Type": "application/json"
}
payload = {
"img": base64_image
}
try:
print("Scanning Mexican Tarjeta de Circulación...")
response = requests.post(url, headers=headers, json=payload)
result = response.json()
if result.get('success'):
data = result['data']
print("✅ Extraction Successful!")
print(f"VIN (Número de Serie): {data.get('vin')}")
print(f"Confidence: {data.get('confidence')}")
else:
print(f"❌ Extraction Failed: {result.get('error')} - {result.get('message')}")
except Exception as e:
print(f"An error occurred: {e}")Standardized JSON Output
Regardless of which Mexican state issued the document, the API normalizes the extraction process and returns a standardized, predictable JSON payload.
{
"success": true,
"data": {
"vin": "3VW1361H2KM123456",
"confidence": "High",
"carrier_type": "document"
}
}Frequently Asked Questions
Do I need to specify which Mexican state the Tarjeta de Circulación is from before scanning?
No. Our API is completely template-free. It uses semantic understanding to locate the VIN based on its structure and adjacent Spanish keywords, automatically adapting to the design of whichever state issued the card.
How does the system handle documents that use 'NIV' instead of 'Número de Serie'?
The engine is context-aware and trained on a wide variety of LATAM automotive documents. It recognizes NIV (Número de Identificación Vehicular), Número de Serie, and other regional variations as valid anchors for extraction.
Can the API process documents with heavy watermarks or state seals?
Yes. Mexican registration cards often feature complex background graphics. The engine applies adaptive thresholding to separate the printed alphanumeric text from background visual noise, ensuring high-confidence VIN extraction.
Explore More Automotive VIN OCR Solutions
Universal VIN OCR API Solution
Our flagship API for automated vehicle identification. Works across windshields, documents, and physical plates with 99% accuracy.
Monroney Sticker VIN Extraction
Extract 17-character VINs from massive Monroney window stickers. High-accuracy OCR that navigates dense feature lists, pricing tables, and EPA data.
Motorcycle Frame VIN OCR
Extract 17-character VINs from stamped motorcycle frames and steering headstocks. High-accuracy OCR that handles curved metal, cable occlusions, and rust.
Police Accident Report VIN Extraction
Extract 17-character VINs from scanned police crash reports. High-accuracy OCR that bypasses dense checkboxes, diagrams, and fax degradation.
Japanese Shaken & Export Certificate OCR
Extract JDM Chassis Numbers (車台番号) and standard VINs from Japanese Shaken and Export Certificates. Overcome dense Kanji and non-standard JDM formats with high-accuracy OCR.
Thai Vehicle Registration (Lem Tabian) VIN OCR
Extract 17-character VINs from Thai vehicle registration books (Lem Tabian). Advanced OCR designed to overcome Thai language boundary truncation and diacritic noise.
Trailer Chassis Plate VIN OCR
Extract 17-character VINs from extremely dirty, rusted, or painted trailer chassis data plates. High-accuracy OCR built for heavy-duty fleet operations.
UAE Vehicle Registration (Mulkiya) VIN OCR
Extract 17-character VINs (Chassis Numbers) from UAE Mulkiya registration cards. High-accuracy OCR that bypasses heavy watermarks and bilingual tabular layouts.
US DMV Title VIN Extraction API
Extract 17-character VINs from US DMV Titles across all 50 states. High-accuracy OCR that bypasses security paper backgrounds and dot-matrix print.
UK V5C Logbook VIN Extraction API
Extract 17-character VINs from UK DVLA V5C registration certificates. High-accuracy API that parses logbook layouts and ignores complex security backgrounds.
Vietnam Vehicle Registration VIN OCR
Extract 17-character VINs (Số khung) from Vietnamese registration cards. High-accuracy OCR engineered to handle red stamps, moiré patterns, and screen captures.
Technical Comparisons & Integrations
Explore platform integrations and competitive analysis
Add VIN OCR to Your Bolt.new App in 5 Minutes
Step-by-step guide to integrating the StructOCR VIN scanner API into a Bolt.new app. Build automotive and fleet tools right in your browser.
Add VIN OCR using Cursor in 5 Minutes
Step-by-step guide to integrating the StructOCR VIN scanner API using the Cursor AI code editor. Build automotive and fleet tools rapidly.
Add VIN OCR to Your Lovable.dev App in 5 Minutes
Step-by-step guide to integrating the StructOCR VIN scanner API into a Lovable.dev app. Build automotive and fleet tools with zero backend required.
OpenALPR vs. StructOCR API for VIN Decoding
Why traditional License Plate Recognition (ALPR) engines are not suitable for scanning Vehicle Identification Numbers (VINs).
Add VIN OCR to Your Replit App in 5 Minutes
Step-by-step guide to integrating the StructOCR VIN scanner API into a Replit application. Build automotive and fleet tools using Replit Agent and Secrets.
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.