Deploying Neural Networks at Sea: Condition Monitoring of the Ropes on the Amerigo Vespucci
Abstract
1. Introduction
2. Materials and Methods
2.1. The Device
2.2. Dataset Collection and Splitting
- Image Resizing. All images must be resized in the same shape. CNNs require all input images to have the same dimensions so that the network’s architecture can process them uniformly.
- Normalization. Through image normalization, the model trains more efficiently by stabilizing gradients, speeding up convergence, and reducing the risk of numerical issues. It also prevents certain pixels from dominating the learning process due to larger values and improves the model’s ability to generalize to new data.
- Grayscaling. Grayscale images can simplify the problem by reducing noise related to color variations, allowing the model to focus more on shape and structure, and reducing the computational cost of the network. On the other hand, grayscaling can lead to loss of information related to the color of the image. Both approaches (grayscaling and keeping the colors) are attempted.
2.3. Proposed Models
- Custom CNN Architectures.
- Transfer Learning with Pre-trained Convolutional Neural Networks (CNNs).
2.4. Evaluation Metrics
3. Results
4. Discussion and Conclusions
- Dataset expansion: Increase the variety and number of labeled samples to improve model generalization and capture a broader range of environmental and operational conditions.
- Temporal analysis: Explore temporal information embedded in video sequences to leverage motion cues and progressive wear patterns for more robust condition assessment.
- Embedded optimization: Further optimize real-time inference on low-power embedded hardware to enhance processing efficiency and stability during onboard operation.
- Advanced model architectures: Investigate compact transformer-based models (e.g., MobileViT, TinyViT) to determine whether attention mechanisms can enhance performance in visually complex scenarios without compromising real-time capabilities.
- Generalization improvement: Employ advanced data augmentation techniques to simulate environmental variability and generate synthetic images representing rare or hard-to-capture damage conditions.
- Multi-class classification: Extend the system from binary to multi-class labeling for more detailed rope condition assessment and more granular maintenance planning.
- Address labeling and class balance challenges: Address the difficulties introduced by multi-class expansion, including defining consistent criteria for each damage category, mitigating class imbalance, and managing subtle visual differences between classes through expert-guided labeling and improved feature extraction strategies.
- Enabling practical rope inspections by non-specialized personnel, reducing workload and supporting early detection of wear.
- Achieving high classification accuracy and stability through transfer learning, suitable for embedded, real-time deployment.
- Providing a generalizable and scalable framework applicable to other maritime or industrial settings, including construction, mining, and outdoor infrastructure maintenance.
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Appendix A. Software and Libraries
- TensorFlow 2.19.0: Used for implementing, training, and evaluating convolutional neural networks (CNNs), including both custom architectures and pre-trained models such as MobileNetV2 and EfficientNetB0. TensorFlow was selected due to its compatibility with embedded systems through TensorFlow Lite, allowing for optimized deployment on resource-constrained hardware like the Raspberry Pi.
- OpenCV 4.12.0: Utilized for image acquisition, preprocessing, and analysis. Specifically, OpenCV was employed for applying the Laplacian variance method to assess image sharpness and filter out blurred frames. It was also used to standardize image dimensions and color spaces.
- scikit-learn 1.6.1: Used to compute evaluation metrics including accuracy, precision, recall, and F1-score. Its well-documented API and integration with NumPy made it a natural choice for model performance evaluation.
- NumPy 2.1.3: Served as the core numerical computing library for handling arrays and performing efficient matrix operations throughout the dataset preparation and model training stages.
- Matplotlib 3.10.3: Employed for visualizing training history, including accuracy and loss curves across epochs.
Appendix B. Custom CNN Architectures
| Variant N | Input Image Size | Convolutional Block | N Block | Fully Connected |
|---|---|---|---|---|
| CNN1G | 128 × 128 × 1 | 64C[3 × 3]-MP[2 × 2] | 1 | Flatten-FC[128]-D[0.5]-FC[1] |
| CNN2G | 128 × 128 × 1 | 64C[3 × 3]-MP[2 × 2] | 2 | Flatten-FC[128]-D[0.5]-FC[1] |
| CNN2 | 128 × 128 × 3 | 64C[3 × 3]-MP[2 × 2] | 2 | Flatten-FC[128]-D[0.5]-FC[1] |
| CNN3G | 128 × 128 × 1 | 64C[3 × 3]-MP[2 × 2] | 3 | Flatten-FC[128]-D[0.5]-FC[1] |
| CNN3 | 128 × 128 × 3 | 64C[3 × 3]-MP[2 × 2] | 3 | Flatten-FC[128]-D[0.5]-FC[1] |
| CNN4G | 128 × 128 × 1 | 64C[3 × 3]-MP[2 × 2] | 4 | Flatten-FC[128]-D[0.5]-FC[1] |
| CNN4 | 128 × 128 × 3 | 64C[3 × 3]-MP[2 × 2] | 4 | Flatten-FC[128]-D[0.5]-FC[1] |
| CNN5G | 128 × 128 × 1 | 64C[3 × 3]-MP[2 × 2] | 5 | Flatten-FC[128]-D[0.5]-FC[1] |
| CNN5 | 128 × 128 × 3 | 64C[3 × 3]-MP[2 × 2] | 5 | Flatten-FC[128]-D[0.5]-FC[1] |
Appendix C. Image Data Processing Pipeline
- Labeling Strategy: Ropes were physically labeled onboard the vessel using colored tape markers placed by crew members as Green (rope in good condition) and Red (rope in poor condition). Video labels were assigned based on visible markers and verified manually. Ambiguous or unlabeled frames were excluded from the final dataset to ensure label reliability.
- Frame Extraction: Video recordings (207 total, MP4 format, 720 × 480, 25 fps) were processed using OpenCV. Frames were extracted at the original frame rate of the video. This approach was chosen to retain the full temporal resolution of the visual data and to maximize the number of high-quality rope images available for filtering and model training.
- Blur Detection and Filtering: To remove visually degraded samples, each frame was analyzed for sharpness using the Laplacian variance method. Frames with a variance score below 100 were discarded. This threshold was determined empirically to balance clarity and dataset size.
- Image Preprocessing: Remaining images were resized to 224 × 224 pixels using bilinear interpolation to standardize input dimensions for CNN models. Two variants of each image were saved: RGB format (3 channels) for color experiments and Grayscale (single channel) using OpenCV’s color to gray conversion [48]. All pixel values were normalized to the [0, 1] range.
- The dataset was curated to ensure class balance and prevent information leakage: A 70/15/15 stratified split was applied to create training, validation, and test sets. Care was taken to ensure that no frames from the same video appeared in more than one split.
- All preprocessing was performed using: Python 3.12.10, OpenCV 4.12.0, NumPy 2.1.3 and PIL (Pillow).
References
- Amerigo Vespucci. Available online: https://www.marina.difesa.it/noi-siamo-la-marina/pilastro-operativo/mezzi/forze-navali/Pagine/Vespucci.aspx (accessed on 1 July 2025).
- Amerigo Vespucci. The Ship. Available online: https://tourvespucci.it/en/the-ship/ (accessed on 1 July 2025).
- Smith, H.G. The Arts of the Sailor: Knotting, Splicing and Ropework; Dover Publications: Mineola, NY, USA, 1990. [Google Scholar]
- MAIB Safety Digests 20–24. Available online: https://www.gov.uk/government/publications/maib-safety-digests-20-24 (accessed on 1 July 2025).
- Chen, W.F.; Duan, L. Construction and Maintenance; CRC Press: Boca Raton, FL, USA, 2014. [Google Scholar]
- Kurz, J.H.; Laguerre, L.; Niese, F.; Gaillet, L.; Szielasko, K.; Tschuncky, R.; Treyssede, F. NDT for need based maintenance of bridge cables, ropes and pre-stressed elements. J. Civ. Struct. Health Monit. 2013, 3, 285–295. [Google Scholar] [CrossRef] [Scilit]
- Schlanbusch, R.; Oland, E.; Bechhoefer, E.R. Condition monitoring technologies for steel wire ropes—A review. Int. J. Progn. Health Manag. 2017, 8, 2527. [Google Scholar] [CrossRef] [Scilit]
- Ilsley, L.C.; Mosier, M. Inspection and Maintenance of Mine Hoisting Ropes; Department of the Interior, Bureau of Mines: Washington, DC, USA, 1939; Volume 602.
- Ma, K.T.; Shu, H.; Smedley, P.; L’Hostis, D.; Duggal, A. A historical review on integrity issues of permanent mooring systems. In Proceedings of the Offshore Technology Conference, OTC, Houston, TX, USA, 6–9 May 2013. [Google Scholar]
- Jiang, X. Structural integrity assessment of maritime transport equipment. In Proceedings of the International Conference on Offshore Mechanics and Arctic Engineering, Madrid, Spain, 17–22 June 2018; American Society of Mechanical Engineers: New York, NY, USA, 2018; Volume 51333. [Google Scholar]
- Galluzzi, R.; Feraco, S.; Zenerino, E.C.; Tonoli, A.; Bonfitto, A.; Hegde, S. Fatigue monitoring of climbing ropes. Proc. Inst. Mech. Eng. Part P J. Sport. Eng. Technol. 2020, 234, 328–336. [Google Scholar] [CrossRef] [Scilit]
- Lei, G.; Xu, G.; Zhang, X.; Zhang, Y.; Song, Z.; Xu, W. Study on dynamic monitoring of wire rope tension based on the particle damping sensor. Sensors 2019, 19, 388. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Witoś, M.; Zieja, M.; Żokowski, M.; Kwaśniewski, J.; Iwaniec, M. NDE of mining ropes and conveyors using magnetic methods. In Proceedings of the International Symposium on Structural Health Monitoring and Nondestructive Testing, Saarbruecken, Germany, 4–5 October 2018. [Google Scholar]
- Mazurek, P. A comprehensive review of steel wire rope degradation mechanisms and recent damage detection methods. Sustainability 2023, 15, 5441. [Google Scholar] [CrossRef] [Scilit]
- Alpaydin, E. Machine Learning; MIT Press: Cambridge, MA, USA, 2021. [Google Scholar]
- Ballard, D.H.; Brown, C.M. Computer Vision; Prentice Hall: Englewood, NJ, USA, 1982. [Google Scholar]
- O’shea, K.; Nash, R. An introduction to convolutional neural networks. arXiv 2015, arXiv:1511.08458. [Google Scholar] [CrossRef] [Scilit]
- Xie, F.; Xie, M.; Wang, C.; Li, D.; Zhang, X. PDCG-Enhanced CNN for Pattern Recognition in Time Series Data. Biomimetics 2025, 10, 263. [Google Scholar] [CrossRef] [Scilit]
- Huang, Z.; Dong, M.; Mao, Q.; Zhan, Y. Speech emotion recognition using CNN. In Proceedings of the 22nd ACM International Conference on Multimedia, Orlando, FL, USA, 3–7 November 2014. [Google Scholar]
- Palaz, D.; Magimai-Doss, M.; Collobert, R. Analysis of CNN-based speech recognition system using raw speech as input. In Proceedings of the Interspeech 2015, Dresden, Germany, 6–10 September 2015. [Google Scholar]
- Pak, M.; Kim, S. A review of deep learning in image recognition. In Proceedings of the 2017 4th International Conference on Computer Applications and Information Processing Technology (CAIPT), Kuta Bali, Indonesia, 8–10 August 2017. [Google Scholar]
- Chen, L.; Li, S.; Bai, Q.; Yang, J.; Jiang, S.; Miao, Y. Review of image classification algorithms based on convolutional neural networks. Remote Sens. 2021, 13, 4712. [Google Scholar] [CrossRef] [Scilit]
- Wastupranata, L.M.; Kong, S.G.; Wang, L. Deep learning for abnormal human behavior detection in surveillance videos—A survey. Electronics 2024, 13, 2579. [Google Scholar] [CrossRef] [Scilit]
- Siddique, M.F.; Zaman, W.; Umar, M.; Kim, J.-Y.; Kim, J.-M. A Hybrid Deep Learning Framework for Fault Diagnosis in Milling Machines. Sensors 2025, 25, 5866. [Google Scholar] [CrossRef] [Scilit]
- Palanivinayagam, A.; El-Bayeh, C.Z.; Damaševičius, R. Twenty years of machine-learning-based text classification: A systematic review. Algorithms 2023, 16, 236. [Google Scholar] [CrossRef] [Scilit]
- Gasparetto, A.; Marcuzzo, M.; Zangari, A.; Albarelli, A. A survey on text classification algorithms: From text to predictions. Information 2022, 13, 83. [Google Scholar] [CrossRef] [Scilit]
- Jalonen, T.; Al-Sa’d, M.; Mellanen, R.; Kiranyaz, S.; Gabbouj, M. Real-time damage detection in fiber lifting ropes using convolutional neural networks. arXiv 2023, arXiv:2302.11947. [Google Scholar] [CrossRef] [Scilit]
- Rani, A.; Ortiz-Arroyo, D.; Durdevic, P. Defect detection in synthetic fibre ropes using detectron2 framework. Appl. Ocean. Res. 2024, 150, 104109. [Google Scholar] [CrossRef] [Scilit]
- Siddique, M.F.; Ullah, S.; Kim, J.M. A Deep Learning Approach for Fault Diagnosis in Centrifugal Pumps through Wavelet Coherent Analysis and S-Transform Scalograms with CNN-KAN. Comput. Mater. Contin. 2025, 84, 3577–3603. [Google Scholar] [CrossRef] [Scilit]
- Zhou, P.; Zhou, G.; Zhu, Z.; Tang, C.; He, Z.; Li, W.; Jiang, F. Health monitoring for balancing tail ropes of a hoisting system using a convolutional neural network. Appl. Sci. 2018, 8, 1346. [Google Scholar] [CrossRef] [Scilit]
- Wardhani, N.; Heriyanto, R.A.W.; Nainggolan, S.P. Detection of Steel Wire Rope Surface Defects on Elevators: A Transfer Learning Approach. Available online: https://www.icmlc.com/technicalProgram/2025/FP/1166.pdf (accessed on 27 October 2025).
- Wang, M.; Li, J.; Xue, Y. A New Defect Diagnosis Method for Wire Rope Based on CNN-Transformer and Transfer Learning. Appl. Sci. 2023, 13, 7069. [Google Scholar] [CrossRef] [Scilit]
- Bao, Y.; Hu, B. A New Method For Optical Steel Rope Non-Destructive Damage Detection. In Proceedings of the 2024 2nd International Conference on Intelligent Perception and Computer Vision (CIPCV), Xiamen, China, 17–19 May 2024; pp. 87–95. [Google Scholar] [CrossRef] [Scilit]
- Peng, Y.; Liu, J.; He, J.; Qiu, Y.; Liu, X.; Chen, L.; Yang, F.; Chen, B.; Tang, B.; Wang, Y. Steel Wire Rope Damage Width Identification Method Based on Residual Networks and Multi-Channel Feature Fusion. Machines 2024, 12, 744. [Google Scholar] [CrossRef] [Scilit]
- Huang, X.; Liu, Z.; Zhang, X.; Kang, J.; Zhang, M.; Guo, Y. Surface damage detection for steel wire ropes using deep learning and computer vision techniques. Measurement 2020, 161, 107843. [Google Scholar] [CrossRef] [Scilit]
- Falconer, S.; Krause, P.; Bäck, T.; Nordgård-Hansen, E.; Grasmo, G. Condition classification of fibre ropes during cyclic bend over sheave testing using machine learning. Int. J. Progn. Health Manag. 2022, 13, 3105. [Google Scholar] [CrossRef] [Scilit]
- Rani, A.; Ortiz-Arroyo, D.; Durdevic, P. A survey of vision-based condition monitoring methods using deep learning: A synthetic fiber rope perspective. Eng. Appl. Artif. Intell. 2024, 136, 108921. [Google Scholar] [CrossRef] [Scilit]
- UniGe e Istituto Idrografico Fanno Ricerca a Bordo Del Vespucci. Available online: https://life.unige.it/progetto-vespucci-sett2023 (accessed on 1 July 2025).
- Pech-Pacheco, J.L.; Cristobal, G.; Chamorro-Martinez, J.; Fernandez-Valdivia, J. Diatom autofocusing in brightfield microscopy: A comparative study. In Proceedings of the 15th International Conference on Pattern Recognition, ICPR-2000, Barcelona, Spain, 3–7 September 2000; Volume 3, pp. 314–317. [Google Scholar] [CrossRef] [Scilit]
- Sandler, M.; Howard, A.; Zhu, M.; Zhmoginov, A.; Chen, L.C. Mobilenetv2: Inverted residuals and linear bottlenecks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–22 June 2018. [Google Scholar]
- Tan, M.; Le, Q. Efficientnet: Rethinking model scaling for convolutional neural networks. In Proceedings of the International Conference on Machine Learning, PMLR, Long Beach, CA, USA, 9–15 June 2019. [Google Scholar]
- MobileNetV2 Preprocessing Layer. Available online: https://www.tensorflow.org/api_docs/python/tf/keras/applications/mobilenet_v2/preprocess_input (accessed on 27 October 2025).
- EfficientNetB0 Preprocessing Layer. Available online: https://www.tensorflow.org/api_docs/python/tf/keras/applications/efficientnet/preprocess_input (accessed on 27 October 2025).
- Python. Python Releases for Windows 24. 2021. Available online: https://www.python.org/downloads/windows/ (accessed on 27 October 2025).
- Zenodo. TensorFlow, version 2.19.0; CERN: Geneva, Switzerland, 2022.
- Handelman, G.S.; Kok, H.K.; Chandra, R.V.; Razavi, A.H.; Huang, S.; Brooks, M.; Lee, M.J.; Asadi, H. Peering into the black box of artificial intelligence: Evaluation metrics of machine learning methods. Am. J. Roentgenol. 2019, 212, 38–43. [Google Scholar] [CrossRef] [Scilit]
- Maaten, L.V.D.; Hinton, G. Visualizing data using t-SNE. J. Mach. Learn. Res. 2008, 9, 2579–2605. [Google Scholar]
- Open Cv cv2.COLOR_BGR2GRAY. Available online: https://docs.opencv.org/3.4/d8/d01/group__imgproc__color__conversions.html (accessed on 27 October 2025).















| Model | Accuracy | Precision | Recall | F1-Score |
|---|---|---|---|---|
| CNN1G | 78.60 | 0.8009 | 0.7393 | 0.7689 |
| CNN2 | 95.27 | 0.9271 | 0.9786 | 0.9522 |
| CNN2G | 85.80 | 0.8873 | 0.8077 | 0.8456 |
| CNN3 | 95.27 | 0.9528 | 0.9487 | 0.9487 |
| CNN3G | 88.89 | 0.8846 | 0.8846 | 0.8846 |
| CNN4 | 93.62 | 0.9283 | 0.9402 | 0.9342 |
| CNN4G | 90.33 | 0.9231 | 0.8718 | 0.8967 |
| CNN5 | 95.88 | 0.9421 | 0.9744 | 0.9580 |
| CNN5G | 90.74 | 0.8735 | 0.9444 | 0.9076 |
| MobileNet V2 | 96.50 | 0.9617 | 0.9658 | 0.9638 |
| EfficientNetB0 | 97.74 | 0.9627 | 0.9915 | 0.9768 |
| EfficientNet | MobileNet | CNN5 | |
|---|---|---|---|
| Model Size | 15.92 MB | 23.22 MB | 16.30 MB |
| No. of Parameter | 4,050,852 | 2,259,265 | 1,419,649 |
| Inference time | 0.243 ± 0.007 s | 0.135 ± 0.007 s | 0.019 ± 0.006 s |
| Study | Rope Type | Task | Model | Accuracy/F1 |
|---|---|---|---|---|
| Jalonen et al. (2023) [27] | Synthetic fiber | Binary classification | Lightweight CNN | 96.5%/0.965 |
| Rani et al. (2023) [28] | Synthetic fiber | Multi-class segmentation | Mask R-CNN (Detectron2) | 97.6% |
| Zhou et al. (2018) [30] | Steel (tail ropes) | Multi-fault classification | CNN | 100%/1.00 |
| Huang et al. (2020) [35] | Steel wire | Surface damage detection | CNN | F1 = 0.99 |
| Falconer (2022) [36] | Synthetic fiber | Condition monitoring + RUL prediction | Classical ML + CV | Varies by algorithm |
| Wang et al. (2023) [32] | Steel wire | Defect diagnosis (CNN-Transformer + TL) | CNN-Transformer + TL | >90% for CNNs |
| Bao and Hu (2024) [33] | Steel rope | Non-destructive optical damage detection | RGBD-UNet + VovNetV3.5 | Acc ∼ 97.5% |
| Peng et al. (2024) [34] | Steel wire | Damage width identification | ResNet50 (spec-images) | Accuracy = 97% |
| This work | Natural fiber (manila) | Binary classification | EfficientNetB0 | 97.74%/0.9768 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Rosseti, L.; Frascio, M.; Avalle, M.; Grella, F. Deploying Neural Networks at Sea: Condition Monitoring of the Ropes on the Amerigo Vespucci. J. Mar. Sci. Eng. 2025, 13, 2101. https://doi.org/10.3390/jmse13112101
Rosseti L, Frascio M, Avalle M, Grella F. Deploying Neural Networks at Sea: Condition Monitoring of the Ropes on the Amerigo Vespucci. Journal of Marine Science and Engineering. 2025; 13(11):2101. https://doi.org/10.3390/jmse13112101
Chicago/Turabian StyleRosseti, Letizia, Mattia Frascio, Massimiliano Avalle, and Francesco Grella. 2025. "Deploying Neural Networks at Sea: Condition Monitoring of the Ropes on the Amerigo Vespucci" Journal of Marine Science and Engineering 13, no. 11: 2101. https://doi.org/10.3390/jmse13112101
APA StyleRosseti, L., Frascio, M., Avalle, M., & Grella, F. (2025). Deploying Neural Networks at Sea: Condition Monitoring of the Ropes on the Amerigo Vespucci. Journal of Marine Science and Engineering, 13(11), 2101. https://doi.org/10.3390/jmse13112101

