Abstract
Object detection and identification is a challenging area of computer vision and a fundamental requirement for autonomous cars. This project aims to jointly perform object detection of a swap-body and to find the type of swap-body by reading an ILU code using an efficient optical character recognition (OCR) method. Recent research activities have drastically improved deep learning techniques which proves to enhance the field of computer vision. Collecting enough images for training the model is a critical step towards achieving good results. The data for training were collected from different locations with maximum possible variations and the details are explained. In addition, data augmentation methods applied for training has proved to be effective in improving the performance of the trained model. Training the model achieved good results and the test results are also provided. The final model was tested with images and videos. Finally, this paper also draws attention to some of the major challenges faced during various stages of the project and the possible solutions applied.
1. Introduction
In large-scale logistics yards, the efficient movement of containers to correct loading gates is a critical operational challenge. For autonomous logistic vehicles to automate this process, they must reliably identify specific containers from a distance under varying environmental conditions. This task is complicated by the visual similarity between different types of freight equipment, such as swap-bodies and standard trailers. Furthermore, reading alphanumeric Intermodal Loading Unit (ILU) codes in outdoor environments introduces difficulties related to fluctuating light, perspective shifts, and motion blur.
2. Methodology
The proposed system utilizes a two-stage deep learning pipeline to localize swap-bodies and recognize their identification codes.
2.1 Object Detection Architecture
After evaluating Faster R-CNN, YOLOv3, and SSD, the Single Shot Detector (SSD) with an Inception V2 backbone was selected. While Faster R-CNN demonstrated slightly higher accuracy for small objects, SSD provided the optimal balance of speed and precision for the large-scale geometry of swap-bodies. This efficiency is crucial for real-time deployment on embedded hardware, specifically the Nvidia Jetson TX2.
2.2 OCR Pipeline
The OCR system follows a two-step process:
- Text Detection: The EAST (Efficient and Accurate Scene Text) detector isolates text regions within the swap-body bounding box. To minimize visual noise from brand logos, the system targets the lower half of the container where ILU codes are typically located.
- Text Recognition: Tesseract V4, utilizing an LSTM-based engine, converts the detected text regions into alphanumeric strings.
3. Dataset and Training
A custom dataset of 1,000 high-quality images was collected from multiple logistics sites, incorporating diverse angles and lighting conditions. Images were annotated in Pascal VOC format. A key finding during training was the importance of including the "legs" of the swap-bodies in the training data, which significantly improved the model's ability to distinguish them from standard trailers. The model was trained with a dropout rate of 0.8 and a learning rate of 0.0001 to ensure stable convergence.
4. Results and Discussion
The detection model achieved a Mean Average Precision (mAP) of 0.9906. Training reached an optimal total loss of 1.7 at 16,000 steps. In real-world field tests, the system maintained reliable performance on a vehicle moving at speeds between 10 and 30 km/h.
5. Conclusion
This research demonstrates a robust pipeline for swap-body identification in autonomous logistics. While the system performs well on static images and low-speed video, challenges remain regarding motion blur and character confusion (e.g., '5' vs 'S'). Future work will focus on integrating object tracking to maintain identity across frames and implementing secondary validation classifiers to improve OCR reliability.
Summary updated