Container OCR API for Singapore Terminals
Powering the world's busiest transshipment hubs. Accurately extract ISO 6346 codes at high concurrency under extreme tropical sunlight. Upload your own image for a free instant test.

High-Density Automation in Global Transshipment
Singapore handles some of the highest container volumes globally. In such dense, high-speed automated environments like PSA, traditional OCR systems become critical bottlenecks. Multi-lane automated gates and fast-moving AGVs demand rapid recognition without the overhead of heavy local software. Extreme tropical glare and torrential rain add further complexity to visual extraction. For a deeper dive into overcoming these environmental and throughput hurdles, see our core Container OCR capabilities.
StructOCR: API-First Edge Infrastructure
Engineered purely as a high-performance REST API to bypass the integration friction of bulky vendor SDKs, this endpoint is powered by our Logistics Container OCR engine. It features complete rotation invariance—automatically reading upside-down text from overhead automated cranes. The system applies strict ISO 6346 validation algorithms to mathematically verify the check digit, ensuring perfect data fidelity before it enters your TOS.
Live Demo: Container 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 Applications for Singapore Logistics
Automated Transshipment Gates
Process inbound and outbound freight seamlessly across multiple automated lanes. By identifying ISO 6346 codes instantly, operations scale without human intervention. Ready to integrate? View flexible pricing, supporting seamless borderless transactions via USDT/USDC for international operators.
AGV Tracking & Verification
Integrate visual OCR checkpoints to verify container IDs as Automated Guided Vehicles transport units between the quay and stacking yard.
Regional Distribution Centers
Empower warehouse staff at regional distribution hubs to scan incoming containers via mobile apps, utilizing our native support for direct file uploads.
Smart Logistics Park Monitoring
Deploy continuous API polling on logistics park CCTV feeds to maintain a dynamic digital twin of container dwell times and locations.
Technical Specs
- Validation: Built-in ISO 6346 checksum verification eliminates manual auditing.
- Local Edge Optimization: Infrastructure is deployed globally on Cloudflare with direct routing through Singapore edge nodes, guaranteeing ultra-low t1/t2 latency for local API requests.
- Rotation Invariance: Native support for 0°, 90°, 180°, and 270° orientations, perfect for top-down crane mounting.
- Input Versatility: Fully supports raw Base64 strings and direct multipart file uploads, ensuring sensitive terminal feeds remain within secure network protocols.
Key Features
- ISO 6346 Parsing: Perfectly isolates the 3-letter Owner Code (BIC), 1-letter Equipment Category, 6-digit Serial Number, and 1-digit Check Digit.
- Extreme Glare Resilience: Advanced filtering mitigates deep shadows and intense equatorial sunlight reflection from corrugated metal.
- High-Concurrency Scalability: Architected to process massive simultaneous image streams across dozens of active terminal lanes without queue degradation.
Integration & AI Prompts
Call the endpoint directly via standard HTTP protocols. The API natively supports raw Base64 strings, direct multipart file uploads, or image URLs, eliminating data transit friction.
import requests
import base64
# Prepare Base64 Image from local transshipment CCTV capture
with open("sg_terminal_agv_cam.jpg", "rb") as image_file:
base64_image = base64.b64encode(image_file.read()).decode('utf-8')
url = "https://api.structocr.com/v1/container"
headers = {
"x-api-key": "YOUR_API_KEY",
"Content-Type": "application/json"
}
payload = {
"img": base64_image
}
try:
print("Scanning High-Speed Capture...")
response = requests.post(url, headers=headers, json=payload)
result = response.json()
if result.get('success'):
data = result['data']['parsed']
print("✅ Container Code Extracted!")
print(f"Full Number: {data.get('owner_code')}{data.get('category')}{data.get('serial_number')}-{data.get('check_digit')}")
else:
print(f"❌ Extraction Failed: {result.get('message')}")
except Exception as e:
print(f"An error occurred: {e}")Standardized JSON Output
The API returns a cleanly parsed payload breaking down the ISO 6346 components, ready for immediate injection into your local TOS.
{
"success": true,
"data": {
"container_number": "ZCSU8921655",
"is_valid": true,
"confidence": "High",
"parsed": {
"owner_code": "ZCS",
"category": "U",
"serial_number": "892165",
"check_digit": "5"
}
}
}Frequently Asked Questions
Can I test the API with our terminal's specific lighting conditions for free?
Yes! You can utilize our free image test directly on the platform to upload your own challenging captures and instantly verify the extraction accuracy.
Is the latency low enough for fast-moving AGVs in Singapore?
Absolutely. Because our infrastructure operates on Cloudflare's edge network, requests originating in Singapore are processed by local nodes, ensuring lightning-fast response times.
Can we bypass traditional banking friction for API subscriptions?
Yes. Alongside traditional payment gateways, we natively accept cryptocurrency settlements (USDT/USDC) to provide borderless, instant infrastructure access.
Explore More Container Solutions
Container OCR API for Southeast Asia Logistics
Scale your ASEAN logistics software with our high-accuracy Container OCR API. Upload challenging yard images for a free extraction test.
Railway Portals: Container OCR API
Extract ISO 6346 codes from moving freight trains. Upload your railway portal camera captures to test our Container OCR API for free. Built for high-speed intermodal logistics.
Container OCR API for UAE Ports & Logistics
High-accuracy ISO 6346 container extraction for Dubai and UAE ports. Overcome extreme sun glare and sandstorms. Upload an image for a free test today.
Container OCR API for UK Logistics
High-accuracy container number extraction for UK ports and rail hubs. Overcome heavy rain and automate customs clearance. Upload an image for a free test.
Container OCR API for United States Logistics
Automate US port gates and intermodal yards with our high-throughput Container OCR API. Upload a challenging image for a free accuracy test today.
Weighbridge Automation: Container OCR API
Automate weighbridge data entry with our Container OCR API. Upload scale camera captures to test our ISO 6346 extraction for free. Eliminate manual logging and truck delays.
Choosing the Right Container OCR System Provider
Evaluating a container OCR system provider? Compare our high-concurrency API infrastructure. Upload your image for a free test to see our extraction accuracy.
Intermodal Rail OCR API for North America
Automate high-speed intermodal rail scanning across North America. Extract container numbers from moving trains natively. Upload your image for a free test.
ISO 6346 Validation: Container OCR API
Parse and validate ISO 6346 container codes with our high-accuracy OCR API. Upload images to test extraction and automatic check-digit calculation for free.
Industrial Shipping Container Number Scanner API
Looking for a shipping container number scanner? Turn any mobile device or CCTV camera into an industrial container scanner via our REST API. Upload an image for a free test.
Technical Comparisons & Integrations
Explore platform integrations and competitive analysis
Google Cloud Vision vs. StructOCR API for Shipping Containers
Comparing generic enterprise OCR solutions like Google Cloud Vision against StructOCR's purpose-built API for ISO 6346 shipping container recognition.
Add Container OCR to Your Lovable.dev App in 5 Minutes
Step-by-step guide to integrating the StructOCR shipping container API into a Lovable.dev app. Build logistics and yard management tools with zero backend.
Manual TOS Entry vs. Container OCR Automation API
Analyzing the ROI and operational efficiency of replacing manual gate checkers with an automated Container OCR API in logistics yards.
Add Container OCR to Your Replit App in 5 Minutes
Step-by-step guide to integrating the StructOCR shipping container API into a Replit application. Build logistics and yard management tools using Replit Agent and Secrets.
Tesseract OCR vs. StructOCR API for ISO 6346 Container Numbers
A technical comparison for developers evaluating open-source Tesseract vs. a dedicated cloud API for extracting shipping container numbers.
Add Container OCR to Your v0 App in 5 Minutes
Step-by-step guide to integrating the StructOCR shipping container API into a v0 by Vercel app. Build logistics and yard management 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.