Design of a Deep Learning Model to Automate Container Entry and Exit at the Cartagena Container Terminal (CONTECAR)

Translated title (es): Diseño de un modelo de aprendizaje profundo para automatizar la entrada y salida de contenedores en la Terminal de Contenedores de Cartagena (CONTECAR)




Abstract

In ports, process automation such as container identification using technologies such as Optical Character Recognition (OCR) and Radio Frequency Identification (RFID) is essential to speed up operations and reduce human error. The implementation of these systems not only increases competitiveness and security but also minimizes operational risks and improves agility in the management of logistics flows, which is crucial to adapt to growing demand and ensure the sustainability of port infrastructures.

The present mixed research aims to design a deep learning model to optimize the container entry and exit processes at the Cartagena Container Terminal (CONTECAR). The model will be designed considering the existing infrastructure, technologies implemented to date, available machinery and logistical and organizational characteristics of terminal operating processes.

Resumen

En las operaciones portuarias, la automatización de procesos -como la identificación de contenedores mediante tecnologías de Reconocimiento Óptico de Caracteres (OCR) y de Identificación por Radiofrecuencia (RFID)- es fundamental para agilizar los flujos de trabajo y reducir el error humano. La implementación de estos sistemas no solo incrementa la competitividad y la seguridad, sino que también minimiza los riesgos operativos, mejora la agilidad en la gestión de los flujos logísticos y asegura la capacidad de adaptación ante la creciente demanda, contribuyendo así a la sostenibilidad de las infraestructuras portuarias.

La presente investigación de enfoque mixto tiene como objetivo diseñar un modelo de aprendizaje profundo para optimizar los procesos de entrada y salida de contenedores en la Terminal de Contenedores de Cartagena (CONTECAR). El modelo se desarrollará considerando la infraestructura existente, las tecnologías implementadas hasta la fecha, la maquinaria disponible y las características logísticas y organizativas de los procesos operativos de la terminal.


Introduction

In Latin America and the Caribbean, a significant digital divide is observed compared to countries that have generated and accumulated technological and institutional capacities (ECLAC, 2019). In these countries, resistance to digitization is evident, conditioned by the fear of job losses and lack of digital learning opportunities. (Barleta, Pérez, & Sánchez, 2019)

Smart ports use emerging technologies such as the Internet of Things, Big Data, blockchain or distributed ledger technologies, machine learning techniques (Du, 2023), artificial intelligence (Cho, Park, Kim, & Cho, 2021) and other methods to improve economic competitiveness, port efficiency, social, environmental and energy sustainability of operations, as well as the safety and security of facilities (Cao & Zheng, 2024). A smart port transforms its value chain into an open ecosystem (Bo & Junqing, 2020) that is interconnected in all its areas. (Fundación Valenciaport, 2020)

The port system in Colombia is structured around port concessions, which are granted by the competent authority to duly established port companies. These companies have the responsibility for building and operating ports. They may be private, public or a combination of both and their main activity is investment in the construction, maintenance and management of port facilities. As for the containerized cargo, the Port Traffic Bulletin issued by the Superintendency of Transport reports that 29.4 million tons was mostly mobilized by Cartagena with 68% (20 million tons), followed by Buenaventura with 24.3% (7.1 million tons). (Colombian Superintendency of Transportation, 2023)

The Cartagena Port Group operates two container terminals: the Cartagena Regional Port Company (Manga terminal) and the Cartagena Container Terminal (CONTECAR). However, the focus of this study will be on CONTECAR, considered the most technologically advanced terminal in the country and nationally recognized for its innovations in port operations.

The Cartagena Port Group is constantly working on research and development of new technologies that optimize operational efficiency and strengthen the connection with its customers and consumers. Its main objective is to improve the integration of the logistics chain at a global level, ensuring more agile, secure and competitive processes.

Based on the collection of data on the processes of container entry and exit in CONTECAR, a SWOT analysis was carried out to identify strengths, weaknesses, opportunities and threats associated with current operations. This analysis aims to ensure that the proposed model is adapted to the needs and available resources, avoiding high investment costs.

Through a literature review, cases of international maritime terminals that have implemented deep learning systems in their operations were identified, focusing on the use of this technology for non-intrusive inspection of containerized cargo. This allowed a better understanding of the applications of deep learning in port activities and to define the conditions and resources necessary for the design, development, implementation, control and monitoring of image analysis software.

The research, which was of a mixed approach, combined semi-structured interviews and bibliographical review. To characterize the operations of CONTECAR, synchronous interviews were conducted through Teams, supplemented by forms on Microsoft Forms, addressed to three experts in terminal operational processes. At the same time, the literature review facilitated the identification of technologies used in other international ports that could be adapted to the local context of CONTECAR.

Exploratory in nature, the research is based on previously applied bibliography and models, which enables the adaptation of innovative solutions to the terminal environment.

The document is structured in four main sections. The first one presents basic concepts on deep learning and OCR, as well as examples of their application in national and international port terminals. The second part addresses the current process of container entry and exit in CONTECAR, available technologies and a SWOT system analysis. The third section details the hardware and software requirements for implementing a deep learning-based model with OCR technology. Finally, the conclusion integrates the data collected and presents a proposal to optimize the process of entering and leaving containers in CONTECAR, along with the required investment.

Materials and methods

Methodology

The research adopted a mixed approach combining qualitative and quantitative methods, allowing for a comprehensive analysis of technical, economic and operational data. This approach facilitated the interpretation of results and their applicability in the port sector. An exhaustive review of the scientific literature on the use of deep learning in image analysis was conducted, with emphasis on the processes of container entry and exit at advanced technology port terminals.

To complement the analysis, perspectives from experts in port operations in Colombia were considered, whose viewpoints provided key insights on challenges and opportunities in the implementation of deep learning in the sector. Data collection was carried out through questionnaires with open, closed questions and Likert scales, as well as structured interviews by e-mail. This provided detailed information on the needs of the sector and its technological transformation.

Type of research

Given the scarce bibliographic material in Colombia on deep learning in the port sector, exploratory research was conducted to identify challenges, opportunities and limitations in the automation of containers entry and exit processes. In addition, a descriptive approach was adopted to detail the technical, operational and economic requirements of the proposed model, based on international case analyses and data collected from interviews and official documents.

Target population

The research was framed in a particularist ethnographic paradigm, with a sample of six experts in port operations in Colombia. Four of them completed questionnaires by email, while two participated in online interviews using Microsoft Teams and filled out a form on Microsoft Forms.

Stages of research

The methodology was structured in three phases:

Conceptualization and design:

An exploratory review of the processes of entry and exit of containers in Colombian terminals and of the tools of Logistics 4.0 implemented was carried out. Technologies such as optical character recognition (OCR) and deep learning were analyzed to assess their impact on port modernization.

Implementation:

Interviews and surveys were conducted with five experts in the sector, including a CONTECAR planner, a coordinator from a transport company and managers of various port terminals in Colombia.

Analysis:

A qualitative and quantitative analysis of the data obtained was carried out, characterizing the processes of entering and leaving containers and evaluating the technologies implemented. The requirements for a deep learning model adapted to the needs of the sector were also established.

Research Instrument

For data collection, a questionnaire with open-ended, closed-ended and Likert scale questions was used, as well as semi-structured interviews. The confidentiality of information was guaranteed by informed consent, in compliance with the legislation in force in Colombia (Art. 18 Law 1712 of 2014).

The questionnaire, designed in Microsoft Forms, included 25 questions divided into three sections:

  • Characterization of the processes of container entry and exit.

  • Assessment of the use of OCR technology in port terminals.

  • Analysis of the deep learning potential in port automation.

These questions allowed us to identify strengths, weaknesses and opportunities for improvement in the implementation of advanced technologies at Colombian port terminals.

Results and discussion

1. International and National Technological Background

In artificial vision, deep learning allows images and videos to be analyzed for tasks such as classification, object detection (Zhou & Wang, 2024) and semantic segmentation (Hirata, Watanabe, & Lambrou, 2022). Its applications range from the detection of manufacturing defects (Licu, 2020) to the identification of tumors in radiology and the improvement of safety in automobiles by advanced driver assistance systems (Jaccard, Rogers, Norton, & Griffin, 2016). In addition, in retail, it facilitates visual searches and personalized recommendations, improving the customer experience. (Holdsworth & Scapicchio, 2024)

The accelerated development of deep learning (DL) has allowed significant advances in port terminals (Wang, et al., 2024), particularly in container number recognition technology. This technology has reached a high degree of maturity, offering precise and efficient solutions for container identification in various operating conditions. (Tang, Chen, & Li, 2020)

Optical character recognition (OCR) is a key technology in digital transformation, defined by Amazon as a process that converts text images into a machine-readable digital format (Cimili, Voegl, Hirsch, & Gronalt, 2022). For example, when scanning a form or receipt, the result is an image that cannot be edited or searched in a text editor, but thanks to OCR, it can be converted into an editable document that can be used in various applications (Cho, Park, Kim, & Cho, 2021). In the logistics sector, OCR improves traceability of labels, invoices and documents, reducing errors and increasing productivity. Companies like Foresight Group have integrated this technology to automate invoice processing in accounting systems, eliminating manual processes and optimizing the operation. (Amazon, 2025)

Optical Character Recognition (OCR) plays a crucial role in optimizing port operations, especially in container terminals, where its implementation significantly improves the visibility of assets, operational control, safety and security (Carlan, Sys, Calatayud, & Vanelslander, 2018). This technology has transformed key processes by automating tasks that previously required manual intervention, facilitating efficient operations management in complex logistics environments (Vaca-Recalde, et al., 2024).

Despite their advances, traditional OCR systems face significant challenges in ports due to specific environmental conditions. Factors such as angle limitations when capturing images from containers and the diversity in font styles used in labels create problems like skewed text or overlay characters. These difficulties negatively affect the accuracy of the recognition, which represents a challenge to maintain efficiency and reliability in the flow of operations. (Rubio Villalba, 2020)

Overcoming these obstacles requires the development and integration of advanced technologies, such as deep learning algorithms that allow for greater adaptability to changing port conditions and improve recognition rates in complex operating environments. (Zhichao, Yi, Rui, & Kaimin, 2024)

1.1. International Background

The Port of Bilbao, one of the main multimodal centers in northern Spain, implemented OCR-based technology to automate real-time tracking of goods. This system, installed in the access lanes, allows key information to be captured from containers, vehicles and wagons, even under adverse conditions. With the elimination of manual checks, operational efficiency was optimized, reducing waiting times, fuel costs and polluting emissions, consolidating the port as a benchmark in technological innovation and efficiency in the sector (Telefónica, 2025).

The Port of Barcelona, known for its high container handling capacity, faced challenges in the precise identification of containers and wagons due to the variable code conditions. To solve it, installed cameras and lighting systems on the railway tracks, achieving 99% accuracy in asset identification. This system significantly improved traceability and automated control, without the need for additional infrastructure, optimizing logistics processes and increasing efficiency in the flow of goods. (Consorcio Siport21, 2025)

The Port of Algeciras, Spain’s main port in traffic volume, implemented an advanced OCR system to improve vehicle and goods identification. With a lightweight and easy to install system, it achieved 97% accuracy in real-time identification. The solution covered 24 control points and allowed the monitoring of previously unmonitored lanes, optimizing traceability and reducing operating costs, strengthening the port’s competitiveness in the international arena. (Port Authority of the Bay of Algeciras, 2023)

1.2. National Background

The Buenaventura Container Terminal uses OCR technology for character reading at the entrance and exit of the terminal, as well as before the container scanner. This technology allows the reading of vehicle plates and ISO codes on containers. However, despite the existence of OCR technology for loading and unloading ships, it is not yet implemented in these operations within the terminal.

The Santa Marta Port Corporation uses OCR technology to read container numbers using scanners, although it faces challenges in integrating scanner software with terminal operating system (TOS). In addition, there are problems with the accuracy of container reading and slow integration of different systems, which affects operational efficiency. The president of the Santa Marta Port Society, engineer Chinea, highlights the need for a comprehensive implementation of OCR technology to avoid operational inconsistencies.

The Barranquilla Regional Port Society does not yet use OCR technology, but is exploring its implementation using high-resolution cameras and artificial intelligence software. This solution allows data such as container numbers, vehicle registration and truck characteristics to be detected in a cost-effective, adaptable and easy to integrate with terminal operating systems, which promises to optimize port operations.

2. Operational and technological characteristics of CONTECAR in its process of entering and leaving containers

According to the information published on the terminal’s website: "Thanks to its infrastructure and equipment, operated by highly qualified employees, the Cartagena Port Group has been recognized many times as the best port in the Caribbean. Its high international standards allow it to offer highly efficient services" (Grupo Puerto de Cartagena, 2025)

(Aguirre Olmos, 2018) In CONTECAR the control of operations is highly automated, port clients interact mainly through the Web Service called SPRCOnline. Taking into account the type of client of the port (Carrier, exporter, SIA, among others), you have access to services that they may require.

According to the experts interviewed, the terminal has most of the technological resources and infrastructure necessary to facilitate the implementation of a deep learning model in the processes of entering and leaving containers. In addition, the senior management of the terminal shows a positive disposition towards the adoption and implementation of new technologies that optimize process efficiency.

2.1. Process of container entry and exit in CONTECAR

For the entry of trucks to the terminal, it is essential that the corresponding authorizations for the entry and exit of cargo are duly marked in ARIM formats (Authorization of Entry and Withdrawal of Containers). These records must include accurate information about the driver, ID number, license plate, and type of truck. All these data must be updated on the port terminal’s SPRCOnLine digital platform.

The SPRCOnLine system allows users to make necessary modifications to existing authorizations. This includes updating driver-related data such as: a. Driver ID number, b. Driver’s name, c. Truck license plate number, d. Truck type.

The update procedure is carried out in a simple way through the platform, and allows to generate a confirmation document that validates the changes made. In addition, updated authorizations can be viewed and printed, including both ARIM and empty container entry and removal authorizations. (Cartagena Port Group, 2025)

2.2. Flow of Operations in the Port

1. Preparation and tag assignment (container tracking system based on RFID):

Carriers program vehicles in advance in a specific area, where the ARIM tag is installed. The truck must wait its assigned shift and time to enter the port terminal.

2. Entry into port:

Sensors detect the vehicle tag when you arrive at the entrance. Driver information (name and ID), vehicle (type and plate), container, and tag are verified in the system. Once the information is validated, the vehicle accesses the scale.

3. Process within the port:

On the scale a ticket is generated with the weight and location assigned, either to load or unload containers. The vehicle passes through a scanner for additional verification and then heads to the assigned area. Throughout its movement within the terminal, the truck is monitored by strategically installed sensors that track the tag.

4. Departure from port:

After the operation is completed, the vehicle returns to the scale and then proceeds to the exit gate. Security staff checks the documentation and tag again before completing the process.

2.3. SWOT analysis of the process of entering and leaving containers in CONTECAR

To evaluate the current status of the process of container entry and exit from the port terminal CONTECAR, a SWOT analysis (Weaknesses, Opportunities, Strengths and Threats) was applied, as it allows to assess the internal and external factors affecting the process (Figure 1). This matrix provides a detailed analysis of the opportunities and threats in the environment, as well as the internal strengths and weaknesses that influence your operations. Through this analysis, strategies are sought that maximize opportunities, minimize threats, strengthen internal capabilities and address weaknesses (Table 1). This holistic approach is critical to improving operational efficiency, optimizing logistics processes and ensuring a sustainable competitive advantage in the port sector (Table 2). The main variables identified and recommended strategies to boost the efficiency of container entry and exit in CONTECAR are detailed below.

Figure 1

SWOT CONTECAR. Source: Authors' own creation

0124-0099-dl-36-229-gf1.png

Table 1

SO and ST strategies of the container entry process in CONTECAR

SO STRATEGIES (MAXI-MAXI)ST STRATEIGIES (MAXI-MINI)
S1 + O1: Develop and integrate artificial intelligence (AI) modules into the ARIM management software to improve container flow prediction, identify real-time bottlenecks and optimize incoming and outgoing requests. This will align CONTECAR with global technology trends and strengthen its competitive position.S1 + T1: Integrate advanced cybersecurity protocols into the ARIM software to monitor real-time activities related to RFID TAGs. This would include the use of encryption, multi-factor authentication and automatic alerts for possible unauthorized access, mitigating the risk of cloning and manipulation.
S2 + O1: Implement advanced simulation tools that use data generated by RFID and TAGs, allowing for more precise planning of logistics operations. This strategy can improve container handling efficiency and contribute to operational safety.S2 + T1: Extend the closed-circuit security functionality with artificial intelligence-based analytics to identify suspicious patterns in interaction with RFID TAGs. This will reduce system vulnerabilities to hackers and illicit activities.
S3 + O1, O2: Leverage management support to prioritize research and development projects on disruptive technologies such as augmented reality and deep learning. This will strengthen CONTECAR’s leadership in the adoption of advanced technologies and consolidate its reputation in the sector.S6 + T2: Reallocate terminal operating areas to accommodate potential disruptions arising from poor road conditions, ensuring a continuous and organized flow of container entry and exit within the port.
S6 + O1, O2: Create an operational model that combines strategic physical zones with AI-based simulations to optimize container entry and exit flows. This will consolidate the reputation of the terminal as a benchmark in logistics efficiency

[i] Source: Authors' own creation

Table 2

WO and WT strategies for the container entry and exit process

WO STRATEGIES (MINI-MAXI)WT STRATEGIES (MINI-MINI)
O1 + W1, W2: Implement an automated document verification system based on artificial intelligence (AI), which allows documents to be validated and processed in real time. This would eliminate the dependency on human personnel, reduce bottlenecks in access areas and significantly improve operational fluidity.W1 + T1: Implement a digital and automated system for document verification, integrated with advanced authentication tools such as blockchain. This will ensure data integrity and reduce the risks of manipulation, cloning or hacking associated with the RFID system.
O1 + W2: Develop advanced simulation models to analyze and redesign the flows of incoming and outgoing containers, identifying critical points and proposing improvements. This approach will help to streamline operations and reduce the delays associated with manual verification.W2 + T2: Redesign the flow of incoming and outgoing containers by incorporating technologies such as optical character recognition (OCR) for real-time data recording. At the same time, implement improvements to the road infrastructure of access to the port to ensure greater operational fluidity and reduce vehicle wear and tear.
O1 + W4: Incorporate complementary technologies, such as IoT sensors and GPS tracking systems, to improve container traceability. This will reduce critical RFID system dependency and increase the resilience of the tracking process.W3 + T1: Establish advanced cybersecurity protocols to protect the data generated by the RFID system. This would include continuous monitoring systems, data encryption and regular audits to mitigate risks associated with unauthorized access and manipulation of tracking resources.
O2 + W1, W3: Strengthen the positioning of CONTECAR as a leader in technological innovation by implementing documentary verification and traceability tools based on AI and blockchain. This will not only improve operational efficiency, but also strengthen the reputation of the terminal vis-à-vis suppliers, competitors and investors.W4 + T1: Reduce the unique dependence on the RFID system by integrating complementary technologies such as GPS and IoT sensors. This will allow for more robust traceability and reduce vulnerability to the risks associated with hacking or failures in RFID technology.

[i] Source: Authors' own creation

3. Technological, Physical Infrastructure Requirements Necessary for the Implementation of a Deep Learning Model

3.1. Technologies implemented by CONTECAR

The Cartagena Container Terminal (CONTECAR) has been implementing significant technological advances in its operation, aligning itself with the trends of the fourth industrial revolution. As presented in its 2023 management report and on the website, these advances include the digitization of processes, the use of exponential technologies and the creation of a collaborative environment that improves operational efficiency, within the digitization of processes including the adoption of optical character recognition (OCR) technology, which improve safety and efficiency in their operations. This system would allow for automation of access control and container identification, which is crucial to meeting international safety standards.

SPRCOnLine: SPRCOnLine is a digital platform implemented by CONTECAR to efficiently manage entry and exit authorizations for trucks. It enables data updating, document validation and record automation, which optimizes the vehicle flow and improves traceability and control of operations. It also uses RFID technology (Li, Zhuang, Yang, Wenran, & Xu, 2024) to monitor truck entry and exit, reducing errors and bottlenecks when scheduling shifts and schedules, and contributing to a more agile and efficient operation within the port.

WhereTAG: The WhereTag is an RFID device assigned to trucks for identification and tracking within CONTECAR. This device records the passage of trucks through checkpoints, such as portals and scales, and is essential for logistics operation. It is managed through SPRCOnLine, where devices are assigned and unassigned to vehicles according to active authorization documents, ensuring traceability and control during loading and unloading operations.

Information and physical security systems: Since 2012, CONTECAR has used the IBM TIVOLI system for infrastructure monitoring and information security. However, in 2023, it implemented DYNATRACE, an advanced cloud-based platform that uses artificial intelligence to monitor the health and performance of technology assets and systems. This tool optimizes the management of technological resources, improves operational safety and ensures the continuity of port services, representing an important step in the modernization of the terminal’s technological infrastructure.

3.2. Technologies Required to Implement a Deep Learning Model

The implementation of deep learning-based optical character recognition (OCR) technologies on the CONTECAR port would optimize container management by automating reading alphanumeric codes and relevant data, Improving traceability and control of their movement. Modern OCR systems, supported by neural networks, process images in real time even under adverse conditions, reducing human error and increasing operational safety.

Integration with existing management systems is essential to maximize its impact, requiring rigorous technical evaluation and the use of specialized hardware such as high-resolution cameras and optical sensors. In addition, collaboration between experts in artificial intelligence and port operations ensures effective implementation.

The minimum technical requirements necessary for the implementation of this technology are (Table 3):

Table 3

Minimum requirements to implement Deep Learning model with OCR

CONCEPTSCHARACTERISTICS
OPERATING SYSTEMLinux Ubuntu LTS 20.04 (preferred)
Windows 11 64 Bits
Windows 10 64 Bits
INTERNET ACCESSFibre optic connectivity
CPU OR SERVERStandalone Linux server or a Linux Virtual Machine (VM)
Standalone server: CPU with minimum 8-16 core per lane (preferably an Intel Xeon CPU E5-2680) or GeForce RTXTM 3060 GPU with minimum 4 core CPU
Virtual server (VM): CPU with minimum 8-16 core per rail (preferably an Intel Xeon CPU E5-2680) or GPU NVIDIA A2 Tensor Core with minimum 2 core CPU
RAM: 8-16 GB RAM (per rail)
WD Purple Surveillance Hard Drive with 512GB - 4TB (depending on cleaning policy settings)
Hard Disk Hosted 512GB SSD Operating System

[i] Source: Authors' own creation

For the most suitable cameras, it will depend on the customer’s use case, the distance from the camera to the reading object and the focal length of the camera (Table 4).

Table 4

Recommended cameras for Deep Learning model with OCR

CONCEPTSCHARACTERISTICS
ANY DIGITAL CAMERA THAT COMPLIES WITH IP/URL Access.
User and password.
Protocol: RTSP or MJPEG.
CODECs: H.265 / H.264 (MPEG-4 part 10/AVC): Main/Baseline/High, MJPEG
MODEL AND RECOMMENDED BRANDSBrand: Axis. Model: P3807-PVE. Focal Length: 3.2mm
Brand: Avigilon. Model: 5.0C-H5M-DO1-IR. Focal Length: 2.8mm
Brand: Hikvision. Model: DS-2CD2T45G0P-I 4MP. Focal Length: 1.68mm
Brand: Axis. Model: P1378-LE. Focal Length: 3.9- 10mm
Brand: Avigilon. Model: 6.0C-H5A-BO1-IR. Focal Length: 4.9 - 8mm
Brand: Hikvision. Model: DS-2CD2685FWD-IZS 8MP. Focal Length: 2.8 - 12mm
RESOLUTIONMinimum 1920 x 1080 resolution.
Minimum 25~30 fps for 1920 x 1080 resolution
INFRAREDRecommended viewing length up to 30 m (night reading case)
The infrared option is only valid for license plate reading
MINIMUM ILLUMINATION LEVELMinimum 50 lux (daytime reading)
Cameras with Sensitivity Lux 0 ~ 0.015 lux (night reading)
Background lighting of 1,000 lux is required for night reading cases. Additional white light fixtures may be needed

[i] Source: Authors' own creation

3.3. Model of Input and Output of COUNTERS with Implementation of Deep Leaning

Implementing an OCR system with deep learning would optimize container management, increasing automation and process accuracy, reducing errors and improving operational efficiency. To ensure its performance, it is required to meet certain minimum hardware standards. In this context, and considering the operation of two entry and two exit lanes, a technical proposal was developed as shown in charts 1 and 2, based on an updated market quote as at January 2025, designed to meet the operational and economic demands of the port.

Chart 1

Container entry process model with deep learning and OCR Source: Authors' own creation

0124-0099-dl-36-229-gf2.png

Chart 2

Container departure process model with deep learning and OCR. Source: Authors' own creation

0124-0099-dl-36-229-gf3.png

3.4. Model Costs and Investment

Technical evaluation ensures that the selected hardware has the capability to process data in real time and integrate efficiently with existing infrastructure. The proposed components achieve a balance between cost and performance, ensuring the reliability of the OCR system even under adverse conditions such as constant vehicle flows and environmental variations. This approach strengthens the port’s competitiveness and optimizes the use of its technological resources.

The following are listed resources, whose values are expressed in US dollars (USD) (Table 5):

Table 5

Hardware resources required to implement the model

RESOURCESAMOUNTCOST PER UNITTOTAL COST
CPU Intel(R) Xeon(R) CPU E5-2695 v4 + DD 512 GB SD+ DD 1 TB+ 32 GB RAM1 $829 $829
Nvidia Gigabyte Eagle GeForce RTX 30 Series RTX 3060 GV-N3060EAGLE OC-12GD OC Edition 12GB video card1 $668 $668
A-tech Server 32gb Kit (2 X 16gb) 2rx8 Pc4-17000 Ddr4 2131 $145 $145
SAMSUNG 24" Inch Odyssey DG300 FHD Flat Black Monitor1 $137,41 $137
Combo LOGITECH Wireless Multimedia Keyboard + Mouse MK2351 $23,69 $24
P3807-PVE 8.3MP 180° Outdoor Panoramic Network Dome Camera with 4 Sensors6$1.254,84 $7.529
 11 $3.058 $9.332

[i] Source: Authors' own creation

In the case of listed software, it is an application acquired through a technical license with a duration of one year. This license includes deployment, which is estimated to take approximately 4-6 months, provided that the hardware is pre-installed and available. It is important to mention that the implementation time may vary according to the number of checkpoints, with an average of 2 months per point. The license also provides for monitoring and technical support throughout its life.

It should be noted that prices vary according to the number of checkpoints (monitoring cameras). Based on the above, the estimated price for the 4 control points, distributed in 2 cameras at the entrance and 2 at the exit door, was as follows (Table 6):

Table 6

Software resources required to implement the model

RESOURCESAMOUNTCOST PER UNITTOTAL COST
OCR Application with deep learning involvement4$ 10.424$ 41.698
  $ 10.424$ 41.698

[i] Source: Authors' own creation

The total investment, if necessary to purchase hardware, is $9,332. The cost of software and technical support is $41,098, for a total of $51,030. It is important to note that the investment in hardware would only be made during the first year, as detailed below (Table 7):

Table 7

Total investment in Hardware and Software

ResourcesAmountTotal cost
Hardware1$9.332
Software1$41.698
$51.030

[i] Source: Authors' own creation

The implementation of OCR technology at the port of CONTECAR represents an opportunity to optimize processes, reduce operating costs and increase efficiency in container management. Currently, the port operates with two 24-hour entry and two exit lanes, with four operators in charge of validating appointments and verifying key information on vehicles, containers, drivers and tags before authorizing access.

The analysis of operating costs, based on the minimum wage in force in 2025 and excluding surcharges or bonuses, allows to assess the economic impact of this technology. By automating these tasks, the OCR system would not only reduce personnel costs but also increase accuracy and agility in operations, strengthening port efficiency and competitiveness (Table 8).

Table 8

Calculation of the cost of the salary of door operators in CONTECAR without OCR

NUMBER OF PORT OPERATORS
Ground Operations Assistants in Inpatient4
Number of shifts3
Total12
Exit Operations4
Number of shifts3
Total12
Total port operators per month, approximate24
COST CALCULATION
Cost per Assistant Monthly$573
Total, ground operations assistants per month approximately24
Total cost per Assistant Monthly$13.752
Months in the year12
Total annualized cost$165.024

[i] Source: Authors' own creation

The implementation of OCR technology at the port allows to optimize the processes of entry and exit of vehicles by automating the verification of information. This innovation reduces the operational burden on staff, allowing for their relocation and reducing the staffing of two to one operator per rail. As a result, a 50 per cent reduction in personnel costs is achieved while efficiency is improved and port operations are strengthened (Table 9).

Table 9

Calculation of the cost of the salary of door operators in CONTECAR with OCR

COST CALCULATION
Cost per worker Monthly$ 573
Total port operators per approximate month12
TOTAL COST PER WORKER MONTHLY$ 6.876
Months in the year12
TOTAL ANNUALIZED COST$ 82.512

[i] Source: Authors' own creation

Generating the following difference in the operation (Table 10):

Table 10

Cost comparison

CONCEPTSCOSTS
Annualized total cost (without OCR) $165.024
Annualized total cost (with OCR) $82.512
Reduction in operational costs $82.512

[i] Source: Authors' own creation

Two possible options are presented to take advantage of the cost reduction and maximize the return on investment, considering that in the second year it will not be necessary to make the same investment in hardware for the operation of the application. This will allow for a higher return on investment in a shorter time in the years to come (Table 11).

In this analysis, Year 1 takes 2025 as a reference point, while Year 2 corresponds to 2026, without considering wage increases or adjustments in software costs.

Table 11

Annual model return on investment

1st year2nd year 1st year2nd year
CONCEPTANNUAL COSTANNUAL COSTNUMBER OF MONTHSMONTHLY VALUEMONTHLY VALUE
Reduction in operational costs $82.512 $82.512 12 $6.876 $6.876
Costs of OCR implementation $51.030 $41.698 12 $4.253 $ 3.475
Estimated utility $31.482 $40.814 12 $2.623 $3.401
% of annual return on investment162%198% 162%198%

[i] Source: Authors' own creation

The analysis of the Table 12shows a return of 162% in the first year and 198% in the second year, taking as reference the initial investment, which can be amortized within one year. Thus, a monthly profit of $2,623usd and an annual one of $31,482usd will be generated in the first year, while in the second year the monthly profit will be of $3,401usd and the annual one of $40.814 usd.

Table 12

Return on investment in months

1st year2nd year
CONCEPTSCOSTCOST
Costs of OCR implementation$ 51.030$ 41.698
Reduction in cost and$ 6.876$ 6.876
Return time in months7,426,06

[i] Source: Authors' own creation

The analysis of implementation costs, considering their coverage with monthly generated profit, indicates that the return on investment would be achieved in approximately 7 and a half months during the first year, and 6 months in the second year.

Conclusions

According to the SWOT analysis, it was identified that although Cartagena Container Terminal -CONTECAR has an efficient process of entering and leaving containers supported by RFID technology and a centralized information system, there is an opportunity for significant improvement by integrating a deep learning model based on the OCR technology available in the terminal, but currently not used.

The main advantage of using neural networks is their ability to process raw pixel data, autonomously extracting key features and classifying them. This allows for greater accuracy in data analysis. However, an unfavorable aspect of Deep Learning models is their high investment cost compared to alternative methods such as template matching and statistical feature extractors (Shashirangana, Padmasiri, Meedeniya, & Perera, 2020).

Nowadays, OCR technology based on deep learning represents a significant opportunity for process optimization. In this context, the full implementation of this technology at the CONTECAR terminal would allow to speed up the attention times on entry and exit of vehicles, reducing them by up to 50% and reaching an accuracy of 98.7% (Weihong & Jiaoyang, 2020) in data capture. In addition, it should be considered that during the entry verification process 90% of vehicles remain on, increasing CO emissions. Reducing the reception times would not only reduce this environmental impact, but also optimize operational resources, achieving a 50% reduction in personnel costs and generating a $31,482 USD profit in the first year, with an estimated increase of 30% in the second.

To ensure these benefits, it is essential to assess the suitability of hardware, software and locational fit-out providers. The implementation process in the case of the CONTECAR terminal could be extended up to two months per point, and during this period all associated costs should be considered. Benefits will begin to materialize once the technology is fully operational.

Acknowledgments

We thank the experts mentioned for their valuable support of this research. Their contributions were fundamental to understand the application of Logistics 4.0 technologies, such as deep learning and OCR, in Colombian port terminals.

Bibliographical references

1 

Aguirre Olmos D. A. 2018. Characterization of the strategies implemented to increase the competitiveness of port logistics in Colombia: Case Maritime Port of Cartagena. Bogotá: National University of Colombia;

2 

Amazon 2025. Amazon: What is optical character recognition (OCR)? Amazon; https://aws.amazon.com/es/what-is/ocr/

3 

Port Authority of the Bay of Algeciras 2023. Practical Application of Digital Twin an AI at the Port of Algeciras: A Pilot for Optimizing Ferry Operations. SDP North America 2023; https://innovacion.apba.es/wp-content/uploads/2023/12/000_PTI135_Nextport_v3.pdf

4 

Barleta E. P.; Pérez G.; Sánchez R. J. 2019. The industrial revolution 4.0 and the advent of a logistics 4.0. FAL, 1-16.

5 

Bo Y.; Junqing M. 2020;Research on the Construction of Knowledge Service Model of Port Supply Chain Enterprise in Big Data Environment. Journal of Physics: Conference Series. 1–7. DOI: 10.1088/1742-6596/1550/3/032170

6 

Cao Q.; Zheng X. 2024;Application of Artificial Intelligence Technology in the Supervision of Customs Clearance Machine Inspection. World Customs Journal. 18(2)urihttps://doi.org/10.55596/001c.122754https://doi.org/10.55596/001c.122754

7 

Carlan V.; Sys C.; Calatayud A.; Vanelslander T. 2018. Digital Innovation in Maritime Supply Chains: Experiences from Northwestern Europe. Inter-American Development Bank;

8 

ECLAC 2019. The industrial revolution 4.0 and the advent of a logistics 4.0. FAL 375. United Nations;

9 

Cho H.; Park H.; Kim I.-J.; Cho J. 2021;Data Augmentation of Backscatter X-ray Images for Deep Learning-Based Automatic Cargo Inspection. Sensors. 2–20. https://doi.org/10.3390/s21217294

10 

Cimili P.; Voegl J.; Hirsch P.; Gronalt M. 2022. Automated damage detection of trailers at intermodal terminals using deep learning. 24th International Conference on Harbor, Maritime and Multimodal Logistic Modeling & Simulation, HMS; DOI: 10.46354/i3m.2022.hms.003

11 

Siport21 Consortium 2025. project: compass+. Siport21; urihttps://siport21.com/en/proyecto/compass/https://siport21.com/en/proyecto/compass/

12 

CONTECAR 2024. Cartagena Port: Management Report 2023. https://www.puertocartagena.com/sites/default/files/2024-05/Contecar%202023.pdf

13 

Du X. 2023. Research on the path of artificial intelligence to empower intelligent port upgrading and transformation. E3S Web of Conferences; https://doi.org/10.1051/e3sconf/202337202001

14 

Valenciaport Foundation 2020. Manual of smart ports strategy and roadmap. Inter-American Development Bank;

15 

Cartagena Port Group 2025. Home: SPRCOnLine. Cartagena Port; urihttps://www.puertocartagena.com/es/sprc-onlinehttps://www.puertocartagena.com/es/sprc-online

16 

Cartagena Port Group 2025. Who we are: Infrastructure. Puerto de Cartagena; https://www.puertocartagena.com/es/nosotros/quienes-somos/infraestructura

17 

Hirata E.; Watanabe D.; Lambrou M. 2022;Shipping Digitalization and Automation for the Smart Port. Intechopen. 1–21

18 

Holdsworth J.; Scapicchio M. 2024. topics: deep learning. IBM; https://www.ibm.com/es-es/topics/deep-learning

19 

Jaccard N.; Rogers T. W.; Norton E. J.; Griffin L. D. 2016. Tackling the X-ray cargo inspection challenge using machine learning. SPIE Defense + Security. Proceedings of SPIE - The International Society for Optical Engineering;

20 

Li A.; Zhuang S.; Yang T.; Wenran L.; Xu J. H. 2024;Optimization of Logistics Cargo Tracking and Transportation Efficiency based on Data Science Deep Learning Models. Preprints.org. 71–77. DOI: 10.20944/preprints202407.1428.v1

21 

Licu D.-V. 2020. Automatic container code identification using Machine Learning. University of Twente;

22 

Puerto de Cartagena 2022. responsabilidad social empresarial/gestion ambiental: Puerto de Cartagena. Puerto de Cartagena; https://www.puertocartagena.com/es/inicio/responsabilidad-social-empresarial/gestion-ambiental

23 

Rubio Villalba I. 2020. Analysis of the OCR System Application in Intermodal Terminals. Malmö Intermodal Terminal (Sweden). Valencia: Universitat Politècnica de València; http://hdl.handle.net/10251/165816

24 

Shashirangana J.; Padmasiri H.; Meedeniya D.; Perera C. 2020;Automated License Plate Recognition: A Survey on Methods and Techniques. IEEEAccess. DOI: 10.1109/ACCESS.2020.3047929

25 

Shih-Liang C.; Ya-Lan Lin. 2017;Gate automation system evaluation A case of a container number recognition system in port terminals. Maritime Business Review. 21–35

26 

Superintendencia de Transporte Colombiana 2023. Boletín Estadístico; Trafico Portuario en Colombia año 2022. Bogotá:

27 

Takahashi H.; Goto K. 2007. Study on Inflection to the Port and Harbour Development by AIS DATA. Tecnical Not. NILIM; p. 01–89

28 

Tang C.; Chen P.; Li Y. 2020. Automatic Damage-Detecting System for Port Container Gate Based on AI. p. 146–151. Xiamen: Association for Computing Machinery; urihttps://doi.org/10.1145/3436369.3436480https://doi.org/10.1145/3436369.3436480

29 

Telefónica 2025. Servicios: Casos de Uso 5g, acceso de seguridad inteligente para puerto de bilbao. Telefonica; https://www.telefonica.es/es/servicios/casos-de-uso-5g/acceso-de-seguridad-inteligente-para-puerto-de-bilbao/

30 

Tsiulin S.; Hegner Reinau K. 2021;The Rol of Port Authority in New Blockchain Scenarios for Maritime Port Management: Case of Denmark. Transportation Reserch Procedia. 388–395

31 

Vaca-Recalde M. E.; Marcano M.; Matute J.; Hidalgo C.; Martinez-Rodriguez B.; Bilbao-Arechabala S.; Camacho A. 2024;Connected and Intelligent Framework for Vehicle Automation in Smart-Ports. IEEEAccess. 120347–120361

32 

Wang M.; Guo X.; She Y.; Zhou Y.; Liang M.; Chen Z. S. 2024;Advancements in Deep Learning Techniques for Time Series Forecasting in Maritime Applications: A Comprehensive Review. Information. 2–33. https://doi.org/10.3390/info15080507

33 

Weihong W.; Jiaoyang T. 2020;Research on License Plate Recognition Algorithms Based on Deep Learning in Complex Environment. IEEEAccess. 91661–91675. DOI: 10.1109/ACCESS.2020.2994287

34 

Zhichao Z.; Yi D.; Rui L.; Kaimin C. 2024;Enhancing OCR with line segmentation maskfor container text recognition in container terminal. Engineering Applications of Artifi cialIntelligence. https://doi.org/10.1016/j.engappai

Notas:

Conflict of interest: The authors declare that they have no conflicts of interest or links with the entities mentioned in this research.

Como citar: Medina-Flórez, V. H., Sanchez-Rojas, D., Martínez-Sosa, O., & Robledo-Acosta, A. E. (2025). Design of a Deep Learning Model to Automate Container Entry and Exit at the Cartagena Container Terminal (CONTECAR). Dictamen Libre, 36.https://doi.org/10.18041/2619-4244/dl.36.12539