Automatic Container Code Recognition via Spatial Transformer Networks and Connected Component Region Proposals

Container identification and recognition is still performed manually or in a semi-automatic fashion in multiple ports globally. This results in errors and inefficiencies in port operations. The problem of automatic container identification and recognition is challenging as the ISO standard only prescribes the pattern of the code and does not specify other parameters such as the foreground and background colors, font type and size, orientation of characters (horizontal or vertical) so on. Additionally, the corrugated surface of container body makes the two dimensional projection of the text on three dimensional containers slanted and jagged. We propose a solution in the form of an end-to-end pipeline that uses Region Proposals generated based on Connected Components for text detection in conjunction with Spatial Transformer Networks for text recognition. We demonstrate via our experimental results that the pipeline is reliable and robust even in situations when the code characters are highly distorted and outperforms the state-of-the-art results for text detection and recognition over the containers. We achieve text coverage rate of 100% and text recognition rate of 99.64%.

[1]  Xu-Cheng Yin,et al.  Robust Text Detection in Natural Scene Images. , 2014, IEEE transactions on pattern analysis and machine intelligence.

[2]  Meng-Luen Wu,et al.  Vision-based identification extraction for freight containers , 2015, 2015 International Conference on Wavelet Analysis and Pattern Recognition (ICWAPR).

[3]  Hyung Il Koo,et al.  Scene Text Detection via Connected Component Clustering and Nontext Filtering , 2013, IEEE Transactions on Image Processing.

[4]  Kaiming He,et al.  Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks , 2015, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[5]  K JainAnil,et al.  Automatic Caption Localization in Compressed Video , 2000 .

[6]  Wen Gao,et al.  Fast and robust text detection in images and video frames , 2005, Image Vis. Comput..

[7]  Xiang Bai,et al.  Robust Scene Text Recognition with Automatic Rectification , 2016, 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[8]  Shen-Chuan Tai,et al.  A method of container codes detection and segmentation by using improved projection algorithm , 2011, 2011 9th World Congress on Intelligent Control and Automation.

[9]  Xiang Bai,et al.  An End-to-End Trainable Neural Network for Image-Based Sequence Recognition and Its Application to Scene Text Recognition , 2015, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[10]  Kai Wang,et al.  End-to-end scene text recognition , 2011, 2011 International Conference on Computer Vision.

[11]  Hongji Yang,et al.  Robust container code recognition system , 2004, Fifth World Congress on Intelligent Control and Automation (IEEE Cat. No.04EX788).

[12]  Ernie Muenchau,et al.  Advanced Cargo Container Scanning Technology Development , 2004 .

[13]  Andrew Zisserman,et al.  Spatial Transformer Networks , 2015, NIPS.

[14]  Anil K. Jain,et al.  Automatic caption localization in compressed video , 1999, Proceedings 1999 International Conference on Image Processing (Cat. 99CH36348).

[15]  Xiaohai He,et al.  An automated vision system for container-code recognition , 2012, Expert Syst. Appl..

[16]  Yu-Te Wu,et al.  A computer vision system for automated container code recognition , 2011, IMECS 2011.

[17]  Eui-Young Cha,et al.  A Novel Container ISO-Code Recognition Method using Texture Clustering with a Spatial Structure Window , 2012 .

[18]  M. Chiu,et al.  A Study of the SMART c ontainer monitoring system in the ocean shipping industry , 2022 .

[19]  M. Tico,et al.  An efficient multiple exposure image fusion in JPEG Domain , 2018 .

[20]  Alberto J. Pérez Jiménez,et al.  Preprocessing and Recognition of Characters in Container Codes , 2002, ICPR.

[21]  Chunheng Wang,et al.  Scene text detection using graph model built upon maximally stable extremal regions , 2013, Pattern Recognit. Lett..

[22]  Alan L. Yuille,et al.  Detecting and reading text in natural scenes , 2004, Proceedings of the 2004 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, 2004. CVPR 2004..

[23]  Kwang-Baek Kim,et al.  An Intelligent System for Container Image Recognition Using ART2-Based Self-organizing Supervised Learning Algorithm , 2006, SEAL.

[24]  Silvana G. Dellepiane,et al.  Recognition of container code characters through gray-level feature extraction and gradient-based classifier optimization , 2003, Seventh International Conference on Document Analysis and Recognition, 2003. Proceedings..