journal article·2025-02-01Open access

Advanced Text Detection of Container Numbers via Dual-Branch Adaptive Multi-Scale Network

Li Yao, Chenchen Tang, Yan Wan

Applied Sciences· Volume 15· Issue 3

Abstract

Text detection of container numbers is essential in logistics for the efficient tracking and management of containers. However, the wear and damage that container numbers often endure in harsh environments make detection particularly challenging. We propose a Dual-Branch Adaptive Multi-Scale Network (DAMNet) to address these issues. The DAMNet integrates Efficient Multi-Scale Attention (EMA) into the Differentiable Binarization (DBNet) model to address the challenges of improving accuracy and efficiency in the current text detection networks. We also incorporate an auxiliary information branch that processes images using the Otsu thresholding method to extract local features. This additional branch enhances the model’s ability to learn the features of container number text. Furthermore, we improve the feature pyramid structure by introducing Adaptive Spatial Feature Fusion (ASFF). This method retains rich detailed information while capturing global context, improving the model’s robustness. We also propose a dual-loss strategy. It employs BCE loss for classification tasks and Dice loss to tackle imbalanced positive and negative samples. Both losses are combined via weighting. The experimental results demonstrate that the improved DBNet model achieves a precision of 89.7%, a recall of 80.1%, and an F-score of 83.5% on the ICDAR2015 dataset. The recall increased by 3.9% compared to the original model.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Handwritten Text Recognition Techniques · Image Processing and 3D Reconstruction · Vehicle License Plate Recognition

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Computer Science and Technology, Donghua University, Shanghai 201620, China

References (35)

Show source-provided references
1. Real-Time Scene Text Detection with Differentiable Binarization
2. He, K.M., Zhang, X.Y., Ren, S.Q., and Sun, J. (2016, January 27–30). Deep Residual Learning for Image Recognition. Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗
3. Ouyang, D., He, S., Zhang, G., Luo, M., Guo, H., Zhan, J., and Huang, Z. (2023, January 4–10). Efficient Multi-Scale Attention Module with Cross-Spatial Learning. Proceedings of the ICASSP 2023—2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Rhodes Island, Greece.10.1109/ICASSP49357.2023.10096516 ↗
4. Liu, S., Huang, D., and Wang, Y. (2019). Learning Spatial Fusion for Single-Shot Object Detection. arXiv.
5. Milletari, F., Navab, N., and Ahmadi, S.A. (2016, January 25–28). V-Net: Fully Convolutional Neural Networks for Volumetric Medical Image Segmentation. Proceedings of the 4th IEEE International Conference on 3D Vision (3DV), Stanford, CA, USA.10.1109/3DV.2016.79 ↗
6. Karatzas, D., Gomez-Bigorda, L., Nicolaou, A., Ghosh, S., Bagdanov, A., Iwamura, M., Matas, J., Neumann, L., Chandrasekhar, V.R., and Lu, S.J. (2015, January 23–26). ICDAR 2015 Competition on Robust Reading. Proceedings of the 13th IAPR International Conference on Document Analysis and Recognition (ICDAR), Nancy, France.10.1109/ICDAR.2015.7333942 ↗
7. Detecting Text in Natural Image with Connectionist Text Proposal Network10.1007/978-3-319-46484-8_4 ↗
8. Gradient-based learning applied to document recognition10.1109/5.726791 ↗
9. Graves, A. (2012). Long Short-Term Memory. Supervised Sequence Labelling with Recurrent Neural Networks, Springer.10.1007/978-3-642-24797-2 ↗
10. Wang, W.H., Xie, E.Z., Li, X., Hou, W.B., Lu, T., Yu, G., Shao, S., and Soc, I.C. (2019, January 15–20). Shape Robust Text Detection with Progressive Scale Expansion Network. Proceedings of the 32nd IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, CA, USA.10.1109/CVPR.2019.00956 ↗
11. Wang, W.H., Xie, E.Z., Song, X.G., Zang, Y.H., Wang, W.J., Lu, T., Yu, G., and Shen, C.H. (November, January 27). Efficient and Accurate Arbitrary-Shaped Text Detection with Pixel Aggregation Network. Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Seoul, Republic of Korea.
12. Real-Time Scene Text Detection with Differentiable Binarization and Adaptive Scale Fusion10.1109/TPAMI.2022.3155612 ↗
13. Mathematical morphology based algorithm for fast container code locating process
14. Identification of Container Numbers Based on Computer Vision
15. Research on Container Number Correction with Low Rank Based on MSER
16. Robust wide-baseline stereo from maximally stable extremal regions10.1016/j.imavis.2004.02.006 ↗
17. A New Framework for Container Code Recognition by Using Segmentation-Based and HMM-Based Approaches10.1142/S0218001415500044 ↗
18. Fast location method of railway container number in complex character interference scenario
19. Yolov3: An incremental improvement
20. Li, C., Liu, S., Xia, Q., Wang, H., and Chen, H. (2019, January 8–12). Automatic Container Code Localization and Recognition via an Efficient Code Detector and Sequence Recognition. Proceedings of the 2019 IEEE/ASME International Conference on Advanced Intelligent Mechatronics (AIM), Hong Kong, China.10.1109/AIM.2019.8868819 ↗
21. Zhou, X., Yao, C., Wen, H., Wang, Y., Zhou, S., He, W., and Liang, J. (2017, January 21–26). EAST: An Efficient and Accurate Scene Text Detector. Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.283 ↗
22. Diaz-Diaz, A., Parrilla, F., La Iglesia, R.D., Barea, R., and Bergasa, L.M. (2024, January 6–8). Wagon and Container Codes Detection and Recognition based on YOLOv8. Proceedings of the 2024 7th Iberian Robotics Conference (ROBOT), Madrid, Spain.10.1109/ROBOT61475.2024.10796925 ↗
23. Jocher, G., Qiu, J., and Chaurasia, A. (2025, January 04). Ultralytics YOLO, January 2023. Available online: https://github.com/ultralytics/ultralytics.
24. Towards end-to-end container code recognition10.1007/s11042-022-12477-z ↗
25. Dalal, N., and Triggs, B. (2005, January 20–25). Histograms of oriented gradients for human detection. Proceedings of the Conference on Computer Vision and Pattern Recognition, San Diego, CA, USA.
26. Hlabisa, S., Khuboni, R.L., and Tapamo, J.R. (2024, January 7–8). Automated Shipping Container Code Localization and Recognition Using Deep Learning. Proceedings of the 2024 Conference on Information Communications Technology and Society (ICTAS), Durban, South Africa.10.1109/ICTAS59620.2024.10507121 ↗
27. U-Net: Convolutional Networks for Biomedical Image Segmentation
28. Container Code Detection Algorithm Based on Heatmap Perception in Complex Scenes
29. Lin, T.Y., Dollár, P., Girshick, R., He, K.M., Hariharan, B., and Belongie, S. (2017, January 21–26). Feature Pyramid Networks for Object Detection. Proceedings of the 30th IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.106 ↗
30. A tutorial on the cross-entropy method10.1007/s10479-005-5724-z ↗
31. A threshold selection method from gray-level histograms
32. Hou, Q.B., Zhou, D.Q., and Feng, J.S. (2021, January 20–25). Coordinate Attention for Efficient Mobile Network Design. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, TN, USA.10.1109/CVPR46437.2021.01350 ↗
33. A generic solution to polygon clipping10.1145/129902.129906 ↗
34. Liu, B., and Jin, J. (2022, January 14–16). Text Detection Based on Bidirectional Feature Fusion and SA Attention Mechanism. Proceedings of the 2022 IEEE Asia-Pacific Conference on Image Processing, Electronics and Computers (IPEC), Dalian, China.10.1109/IPEC54454.2022.9777406 ↗
35. Liu, Y.L., and Jin, L.W. (2017, January 21–26). Deep Matching Prior Network: Toward Tighter Multi-oriented Text Detection. Proceedings of the 30th IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.368 ↗