This page is being translated by your browser

Translation can break parts of Roboflow. If something stops working, turn translation off and reload the page.

OCR · Logistics & Warehousing

Container number reading: Datasets & Models

Automatically read the ISO 6346 container numbers stamped on shipping containers using OCR, converting camera images into structured text. Useful for gate automation, yard inventory, and terminal tracking.

Container number reading example
1M+
developers
16k
organizations
50B
inferences

Container number reading

This workflow takes camera images of intermodal shipping containers and locates the printed identification code region, then applies OCR to transcribe the owner code, serial number, and check digit into structured text. Trained on a container number dataset, it detects the ISO 6346 markings and outputs machine-readable strings for gate automation, yard inventory, and terminal tracking.

Try it out

Powered by general detection model

Run on custom image

Drop an image here or click to upload

Detecting classes:

Why automate container number reading

In logistics and warehousing operations, manually recording container numbers at gates and yards is slow, error-prone, and hard to scale across shifts and locations. A single transposed digit can misroute a container or corrupt inventory records, and staff cannot keep pace during peak throughput. Automating container number reading with an OCR model captures identifiers in real time, cross-checks the ISO check digit for accuracy, and feeds clean data directly into terminal operating and warehouse management systems.

Key benefits

Automated container number reading reduces manual data entry, speeds up gate and yard processing, and improves the accuracy of inventory and tracking records. It runs on existing fixed and mobile cameras, so teams can deploy across multiple entry points without new hardware, and a container number dataset can be expanded and retrained to handle new angles, lighting, and weathered markings as operations scale.

How to use it

  1. Upload an image: Drop any photo into the widget above to try container number reading for free, right on this page.
  2. Preview instant results: The model detects shipping container, container number, check digit, container door, license plate within seconds and returns an annotated image with structured predictions, so you can immediately see how well it works. Adjust the detection classes and re-run until the results fit your scenario.
  3. Like what you see?: With a free Roboflow account, you can deploy this workflow with the Serverless Cloud API, customize it in your workspace, or train OCR / document model on your own images for production accuracy.
  4. Get started for free: No code or training data required to begin: upload, review the results, and make it part of your stack in a single click.
Recommended model

Recommended model for container number reading

When you're ready to build a production model for container number reading, we recommend training OCR / document model. Unlike the ready-to-use model in the demo above, you fine-tune it on your own labeled images for higher accuracy, then deploy to a Serverless Cloud API endpoint.

Train your own model
Roboflow Agent

Not sure where to start?

Describe your Container Number Reading project to Roboflow Agent.

Agent