Universidade de Coimbro
A Deep Learning Pipeline for Robust Container Code Detection and Recognition in Logistics Terminals
Abstract
dc:description.abstractPort logistics infrastructures process a growing volume of cargo containers, and manual identification of container codes cannot scale with that volume. Automatic container code recognition is central to cargo traceability and to eliminate the bottleneck that manual registration creates at the terminal gate.Despite advances towards this problem reliable code identification remains difficult in real port environments. Uneven lighting, shadows, partial occlusions, and surface degradation on containers all limit the performance of detection and recognition pipelines once they're deployed operationally.To overcome these limitations, this dissertation proposes a hierarchical Automatic Container Code Recognition (ACCR) pipeline that processes video streams end-to-end: a fine-tuned YOLOv8n detector for code localization, paired with a Transformer-based OCR (TrOCR) for recognition. The output code sequences are then refined and validated through dedicated validation and post-processing mechanisms which includes ISO 6346 validation, majority voting, and a Vision-Language Model (VLM) as a final validation layer.In the detection stage, the model was able to accurately identify code regions reaching a mAP@0.5 and Precision above 99%. The standalone TrOCR model achieved a 96.46\% of sequence accuracy in recognition stage, which was then increased to 98.59% by majority voting. In end-to-end deployment, the pipeline reduced average processing time to 1.38 seconds per container in the best case, a reduction of over 90\% compared to the previously developed ACCR system. This result indicates that the pipeline can support real-time processing under the conditions tested.To balance accuracy and computational cost, the VLM is only activated as the final stage of the validation process when previous mechanisms fail to produce a valid code. This cascading validation strategy constitutes the main contribution of this work, enabling the benefits of multimodal reasoning while minimizing its impact on system's latency.
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Santos, Gonçalo da Silva Lopes dos
- Advisor dc:contributor.advisor
-
- Estima, Jacinto Paulo Simões
Subjects
dc:subject × 9Rights
dc:rights- Statement dc:rights
-
- openAccess
- Language dc:language.iso
- eng
Identifiers
dc:identifier.*- Dc Identifier Tid
- 204414016