Container Code Recognition via Spatial Transformer Networks

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing automated systems for container code recognition face challenges due to the corrugated surface of containers, varying background layouts, font types, sizes, illumination, and photometric distortions, which affect the accuracy and reliability of character detection and recognition, especially when using conventional image processing methods.

Innovation Solution

The method employs Spatial Transformer Networks (STN) and Connected Components (CC) to preprocess and classify images of container codes, extracting and filtering region proposals to generate a valid sequence that maps to a predefined standard container identification code, using a combination of image preprocessing, region extraction, and classification modules.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If conventional image processing methods are used for container code recognition, then the system is simple and easy to implement, but the recognition accuracy deteriorates due to corrugated surface distortions, varying fonts, and photometric variations

Engineering Contradiction:
Improvecontainer code recognition accuracyVSAvoidsystem complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system segments the container code recognition task into distinct modules: image preprocessing (handling photometric variations and distortions), region extraction (isolating code regions from background), and classification (recognizing individual characters). This modular segmentation allows each component to be optimized independently, achieving high recognition accuracy while maintaining manageable system complexity through division of labor among specialized processing stages

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs preliminary actions before main recognition by pre-processing images to correct distortions from corrugated surfaces, normalize photometric variations, and pre-segment potential code regions. This preliminary processing prepares the data in advance, making the subsequent classification task easier and more accurate without requiring overly complex real-time processing

Inventive Principle:
Principle #10Preliminary action

2Reliability

If multiple modalities like vision and RFID are used for identification, then the reliability of container identification improves, but the installation cost and system complexity increase

Engineering Contradiction:
Improvecontainer identification reliabilityVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The vision-based system is designed to perform multiple functions that would traditionally require separate systems: it detects container codes, recognizes characters under varying conditions (different fonts, sizes, orientations), and handles diverse backgrounds. This multi-functional vision system achieves reliability comparable to multi-modality systems while avoiding the complexity and cost of integrating RFID and other sensors

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Measurement precision

If standard OCR techniques are used for container code recognition, then the system is simple to implement, but the recognition accuracy deteriorates due to 2D projection distortions from 3D corrugated surfaces

Engineering Contradiction:
Improvecharacter recognition accuracyVSAvoidadaptability to surface distortions
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The system changes key parameters during processing: it transforms distorted 2D projections back toward their 3D original forms through geometric correction, adjusts for varying font parameters (size, type, orientation), and modifies photometric parameters (brightness, contrast) to normalize appearance. These parameter transformations enable accurate recognition despite the corrugated surface distortions that would confound standard OCR

Inventive Principle:
Principle #35Parameter changes

4Productivity

If manual recording of container codes is used, then the system is simple and has no installation costs, but the productivity and time efficiency deteriorate

Engineering Contradiction:
Improvecontainer code processing speedVSAvoidautomation system complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system enables self-service automation where the container code recognition and recording process performs itself without human intervention. The automated vision system captures images, processes them through preprocessing and classification stages, and directly outputs recognized codes, replacing manual recording operations while maintaining simplicity through a self-contained processing pipeline

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS10467494B2Method and system for container code recognition
Publication Date: 2019.11.05 TATA CONSULTANCY SERVICES LTD
  • US10467494B2 patent drawing
  • US10467494B2 patent drawing
  • US10467494B2 patent drawing

AI summary

This disclosure relates generally to character detection and recognition, and more particularly to a method and system for container code recognition via Spatial Transformer Networks and Connected Component. The method comprises capturing an image of a container using an image capture device which is pre-processed using an image preprocessing module. The method further comprises extracting and filtering region proposals from the pre-processed image using a region extraction module to generate regrouped region proposals. The next step comprises classifying the regrouped region proposals into characters by implementing trained Spatial Transformation Network to generate a valid group of region proposal with more than one chunk of container identification code using a classification module, and lastly a sequence for the valid group of region proposal is generated and the generated sequence is mapped to a predefined standard container identification code to determine a container identification code, wherein the predefined standard identification code comprises chunks of characters in a predefined pattern.