Skip to content

Leveraging Optical Character Recognition (OCR) technology to automatically read container numbers directly from images, offering innovation in logistics management.

License

jonathanlawhh/container-number-recognition-ai

Repository files navigation

AI in Logistics: Container Number Recognition

[Project Writeup My Website]

Project Overview

AI in Logistics: Container Number Recognition header image Traditional container tracking often relies on manual scans and tedious paperwork, creating inefficiencies and bottlenecks. This project leverages Optical Character Recognition (OCR) technology to automatically read container numbers directly from images, offering innovation in logistics management.

Companies using this AI solution can now enjoy real-time visibility into container movement within their premises.

References

Setup and Usage

Software Requirements

Installation

  1. Clone this repository:
git clone https://github.com/jonathanlawhh/container-number-recognition-ai.git
  1. Install required libraries:
pip install -R requirements.txt

Usage

  1. Place your container images in the .\data\ folder.
  2. Rename .env-sample to .env
  3. Fill up both values in .env VISION_ENDPOINT and VISION_KEY from your Microsoft Azure Vision API project.
  4. Run the script.
python main.py

Closing thoughts

  • Using a ready built service such as Azure Vision AI offloads most of the image processing task
  • Azure Vision API is more reliable than building using Tesseract OCR if the environment is dynamic, performance is more consistent compared to running on a local hardware
  • Can be integrated with in-house Transport Management Systems

About

Leveraging Optical Character Recognition (OCR) technology to automatically read container numbers directly from images, offering innovation in logistics management.

Topics

Resources

License

Stars

Watchers

Forks

Languages