Container OCR API for Netherlands Logistics

Powering Europe's busiest automated terminals. Accurately extract ISO 6346 codes through heavy rain, overcast lighting, and high-speed AGV movements. Upload your own image for a free instant test.

Top-down view of a shipping container at a highly automated Dutch terminal, showing the extracted EMCU 850473 0 container number.

The Demands of Highly Automated Dutch Ports

The Netherlands, home to the Port of Rotterdam, leads the world in high-density port automation. In these environments, relying on legacy OCR hardware or bulky local software introduces latency that disrupts Automated Guided Vehicles (AGVs) and automated stacking cranes (ARMGs). Furthermore, frequent rain and low-contrast overcast lighting degrade standard optical scans. To maintain continuous throughput, Dutch operators require agile, weather-resilient cloud infrastructure. For a deeper dive into overcoming these environmental hurdles, see our core Container OCR capabilities.

StructOCR: API-First European 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 Terminal Operating System (TOS).

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 Dutch Logistics

Automated Terminal Operations (Maasvlakte)

Process inbound and outbound freight seamlessly across multiple automated lanes. By identifying ISO 6346 codes instantly, AGVs and cranes operate without manual interruption. Ready to scale? View flexible pricing, supporting seamless cross-border transactions via USDT/USDC for international logistics integrators.

Inland Barge Terminal Tracking

Track container movements accurately at inland river terminals connecting the Rhine. Ensure perfect logging of containers loading onto barges without manual clipboard entry.

Intermodal Rail Connections

Deploy trackside API portals to capture fast-moving freight trains connecting Dutch ports to the broader European rail network under diverse lighting conditions.

Customs Digital Twin Integration

Accelerate post-Brexit freight clearance by cross-referencing visually extracted container numbers with digital customs manifests securely and instantly.

Technical Specs

  • Validation: Built-in ISO 6346 checksum verification eliminates manual auditing errors.
  • Local Edge Optimization: Infrastructure is deployed globally on Cloudflare with direct routing through Amsterdam 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 ARMG crane mounting.
  • Data Privacy Compliance: Images processed via Base64 or direct upload are handled statelessly in memory and never retained, adhering strictly to EU data protection standards.

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.
  • Overcast Resilience: Advanced filtering mitigates low contrast and image noise caused by rain or heavy cloud cover typical of the North Sea coast.
  • High-Concurrency Scalability: Architected to process massive simultaneous image streams across dozens of active terminal lanes seamlessly.

Integration & AI Prompts

Call the endpoint directly via standard HTTP protocols. The API natively supports raw Base64 strings, direct multipart file uploads, or secure image URLs, ensuring data privacy compliance.

import requests
import base64

# Prepare Base64 Image from local Dutch automated terminal capture
with open("rotterdam_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 (via direct file upload) and instantly verify the extraction accuracy.

Is the latency low enough for fast-moving AGVs?

Absolutely. Because our infrastructure operates on Cloudflare's edge network, requests originating in the Netherlands are processed by local nodes in Amsterdam, ensuring lightning-fast response times.

Does sending images to the API violate European data privacy requirements?

The API accepts Base64-encoded strings and direct file uploads, meaning you do not need to host sensitive images publicly. Data is processed statelessly in memory and is not stored.

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