Instant Container
OCR API
Eliminate manual gate entry. Read ISO 6346 container numbers from moving trucks, rusty surfaces, and night-vision cameras to automate your Terminal Operating System (TOS) in under 1 second.
curl -X POST
https://api.structocr.com/v1/container \
-H "x-api-key: YOUR_KEY" \
-d '{"img": "data:image/jpeg;base64,/9j/4A..."}'{
"success": true,
"data": {
"container_number": "ZCSU8921655",
"is_valid": true,
"confidence": "High",
"parsed": {
"owner_code": "ZCS",
"category": "U",
"serial_number": "892165",
"check_digit": "5"
}
}
}Built for Terminal Operating Systems
ISO Validation
Automatically calculates the check digit math formula, guaranteeing your TOS only ingests verified data.
Pre-Parsed JSON
No Regex required. We return the Owner Code, Category, and Serial Number cleanly separated out of the box.
Vertical Layouts
Trained on millions of containers to accurately read vertical text, irregular spacing, and multi-line markings.
Rust Recovery
Advanced deep learning models reconstruct degraded, rusty, or mud-covered characters.
Motion Blur
Optimized for gate automation, handling motion blur from trucks driving through checkpoints.
Night Vision
Maintains high accuracy even when processing low-light, noisy, or infrared camera feeds.
Ultra-Low Latency
Process images in milliseconds to ensure barrier gates lift instantly without causing truck queues.
Privacy First
We process images in-memory and delete them immediately after extraction. No yard data is stored.

How it works
Seamlessly integrate terminal data capture into your TOS in minutes.
Capture Image
A yard worker's mobile device, crane camera, or port gate CCTV captures an image of the container doors.
AI & Math Logic
We locate vertical/horizontal text, read the characters, and instantly run the ISO 6346 checksum verification.
TOS Action
Receive the pre-parsed, validated JSON instantly to trigger the gate barrier or update yard inventory.
Exact Data Extraction
Our API focuses on the most critical logic: Zero-Regex parsing. It automatically verifies the ISO mathematical formula and returns cleanly separated fields for your database.
Full Container Number
ISO Validation Flag
Confidence Score
Owner Code
Equipment Category
Serial Number
Check Digit
Trusted by Logistics Tech Leaders
From TOS developers to yard operators, businesses rely on our accuracy.
Gate automation is useless if false reads cause truck backups. Adding StructOCR's ISO validation logic dropped our exception handling rate by 80% at the gates.
Vertical text alignment and heavy rust are the death of open-source OCR models. StructOCR gave us an out-of-the-box API that just handles the chaos. Integration took half a day.
Out in the depot, our tallymen use their phones to scan containers instantly. It eliminated manual clipboards and the data is formatted perfectly for our yard system.
Built for Developers,
Optimized for Logistics
We abstract away the complexity of computer vision, giving you a clean endpoint to verify containers.
Rapid Integration
Standardized REST API that works with any language (Python, Node, Go). Get up and running with your TOS in minutes.
High Availability
Built on serverless edge infrastructure ensuring 99.99% uptime for your mission-critical port operations.
Checksum Validation Logic
Stop writing RegEx and math formulas. We handle the 11-char validation and parsing logic for you.
Clear Documentation
Comprehensive guides and code samples to help you handle edge cases like rusty containers or vertical layouts.
Precise Data Extraction and Seamless
Integration with AI-powered OCR API.
Empower your solutions with automated data extraction by
integrating best-in class StructOCR via API seamlessly.
No credit card required • Full API access included