Container OCR API for UAE Ports & Logistics

Powering smart logistics hubs across the Emirates. Accurately extract ISO 6346 codes through extreme desert glare, high heat, and sandstorm interference. Upload your image for a free instant test.

Top-down view of a shipping container at a UAE terminal, showing the extracted EMCU 850473 0 container number under intense desert sunlight.

The Extreme Environment of Middle Eastern Ports

Terminals in the UAE, such as Jebel Ali, are global pioneers in smart port technology. However, implementing vision-based automation here faces extreme physical hurdles. Traditional optical scanners frequently fail due to the intense, blinding reflection of the desert sun on corrugated metal containers, or when lenses are obscured by airborne sand and dust. Local IT teams need cloud infrastructure that filters out environmental noise natively. For a deeper dive into overcoming these specific environmental hurdles, see our core Container OCR capabilities.

StructOCR: Built for the Harsh Desert Environment

Engineered purely as a high-performance REST API to bypass the maintenance of localized vendor SDKs, this endpoint is powered by our Logistics Container OCR engine. It features complete rotation invariance—automatically reading upside-down text from automated top-down cranes. The system applies strict ISO 6346 validation algorithms to mathematically verify the check digit, ensuring perfect data fidelity even if characters are partially obscured by sand or intense glare.

Live Demo: Container OCR

No registration required. Upload a file to test the extraction.

1
Upload
2
Results

Drop files here or click to browse

JPG · PNG · WebP  ·  up to 500 files · max 4.5 MB each

No files selected

Ready to use this in production? Get 20 free API calls — no credit card needed.

Get 20 Free API Calls →

Core Applications for UAE Supply Chains

Smart Port Gate Automation (Dubai / Abu Dhabi)

Process inbound and outbound trucks instantly without manual data entry. Ready to scale your integration? View flexible pricing, featuring modern payment rails like USDC/USDT to seamlessly accommodate international operators in UAE free zones.

Free Zone Logistics Park Auditing

Empower warehouse staff in massive free trade zones to scan incoming containers via mobile apps, utilizing our native support for direct file uploads to bypass expensive hardware scanners.

Crane Character Recognition (CCR)

Mount cameras directly on Ship-to-Shore (STS) or RTG cranes. The API natively handles the extreme vertical angles and 180-degree rotations typical of overhead desert operations.

Weighbridge Integration

Identify ISO 6346 codes instantly as heavy trucks cross the weighbridge, syncing the precise container ID with weight manifests automatically.

Technical Specs

  • Validation: Built-in ISO 6346 checksum verification logic.
  • Middle East Edge Optimization: Infrastructure routed through Cloudflare's regional edge network ensures highly competitive t1/t2 latency for UAE logistics software providers.
  • Rotation Invariance: Automatically corrects and reads upside-down text generated by overhead yard cameras.
  • Borderless Billing: Native support for crypto gateways (USDT/USDC) perfectly aligns with the UAE's forward-thinking financial hub status.

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 sunlight reflection from corrugated metal, ensuring high read rates at noon.
  • Zero SDK Friction: Connect existing logistics platforms using standard API calls without needing to update or cross-compile local software libraries.

Integration & AI Prompts

Call the endpoint directly via standard HTTP protocols. The API natively supports raw Base64 strings and direct multipart file uploads, eliminating the need to host sensitive security footage publicly.

import requests
import base64

# Prepare Base64 Image from local UAE port CCTV capture
with open("jebel_ali_gate4.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-Glare 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

Receive clean, actionable JSON data immediately to populate your yard management or customs clearance dashboards.

{
  "success": true,
  "data": {
    "container_number": "EMCU8504730",
    "is_valid": true,
    "confidence": "High",
    "parsed": {
      "owner_code": "EMC",
      "category": "U",
      "serial_number": "850473",
      "check_digit": "0"
    }
  }
}

Frequently Asked Questions

Can I test the API with our high-glare desert images for free?

Yes! You can utilize our free image test directly on the platform to upload your own challenging captures (via direct file upload) and instantly see the accuracy of the extraction engine.

Do we need to install software packages on our local servers?

No. StructOCR operates entirely as a cloud API. Your systems simply send image payloads via standard HTTP, removing the maintenance headache of local SDKs.

Can our enterprise pay via cryptocurrency?

Yes, we fully support USDT and USDC payments alongside standard methods, allowing UAE-based businesses to manage infrastructure costs with borderless flexibility.

Explore More Container Solutions

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