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.

POST /v1/container
curl -X POST 
https://api.structocr.com/v1/container \
-H "x-api-key: YOUR_KEY" \
-d '{"img": "data:image/jpeg;base64,/9j/4A..."}'
RESPONSE 200 OK
{
  "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.

Flowchart demonstrating the Container OCR process: extracting ISO 6346 number into structured JSON

How it works

Seamlessly integrate terminal data capture into your TOS in minutes.

01

Capture Image

A yard worker's mobile device, crane camera, or port gate CCTV captures an image of the container doors.

02

AI & Math Logic

We locate vertical/horizontal text, read the characters, and instantly run the ISO 6346 checksum verification.

03

TOS Action

Receive the pre-parsed, validated JSON instantly to trigger the gate barrier or update yard inventory.

response.json
{
  "success": true,
  "data": {                                       
    "container_number": "ZCSU8921655",
    "is_valid": true,
    "confidence": "High",
    "parsed": {
      "owner_code": "ZCS",
      "category": "U",
      "serial_number": "892165",
      "check_digit": "5"
    }
  }
}
Data Output

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.

Terminal Manager
Global Port Operator
Rotterdam, NL

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.

Lead Engineer
Logistics Software Co.
Seattle, USA

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.

Operations Director
Inland Container Depot
Chicago, USA

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

Frequently Asked Questions