Image-Based Fish Freshness Classification Using Two-Phase Transfer Learning with Deep Learning Fusion Model
Abstract
This study introduces a novel deep learning approach for automated fish freshness classification using image analysis. The objective is to design and validate a Deep Learning Fusion Model that combines the strengths of EfficientNetB0 and InceptionV3 architectures to improve accuracy and robustness in classifying fresh and non-fresh fish. Input images were subjected to extensive augmentation, including RandomFlip, RandomRotation, RandomZoom, RandomContrast, RandomBrightness, and RandomTranslation, applied exclusively to the training dataset to enhance generalization, followed by backbone-specific pre-processing. Extracted features were fused via global average pooling and forwarded to a newly designed classification head with dropout and L2 regularization to mitigate overfitting. A two-phase transfer learning strategy was employed: initially training the classification head with frozen backbones, followed by fine-tuning the backbone layers using the Adam optimizer with a reduced learning rate. To highlight the contribution of the fusion strategy, ablation studies were conducted with single-backbone models. The EfficientNetB0 model achieved 89.17% validation accuracy, 85.83% test accuracy, and an F1-score of 85.69%, while the InceptionV3 model achieved 86.67% validation accuracy, 81.67% test accuracy, and an F1-score of 81.59%. In contrast, the proposed Fusion Model achieved 93.33% validation accuracy, 95.00% test accuracy, and an F1-score of 94.95%. Additional evaluations with confusion matrices, ROC curves, AUC, and precision-recall curves confirmed the model’s superiority. The findings demonstrate that integrating features from diverse CNN architectures enables the model to learn richer representations, resulting in significantly improved classification performance. The novelty of this work lies in the effective fusion of complementary backbones through global average pooling and fine-tuned transfer learning, establishing a human-centric computational approach that offers a reliable solution for practical fish freshness assessment in food safety and market scenarios.
Keywords
Full Text:
PDFReferences
C. Balım and N. Olgun, “Leveraging Feature Fusion of Image Features and Laser Reflectance for Automated Fish
Freshness Classification,” MDPI, vol. 25, no. 14, pp. 1–16, 2025, doi: 10.3390/s25144374.
E. T. Yasin, I. A. Ozkan, and M. Koklu, “Detection of fish freshness using artificial intelligence methods,” European Food
Research and Technology, vol. 249, no. 8, pp. 1979–1990, 2023, doi: 10.1007/s00217-023-04271-4.
K. Sabire, M. Merve, H. Çiçekliyurt, and K. Serhat, “Fish Freshness Detection Through Artificial Intelligence Approaches :
A Comprehensive Study,” Turkish Journal of Agriculture - Food Science and Technology Available, vol. 12, no. 2, pp.
–295, 2024, doi: https://doi.org/10.24925/turjaf.v12i2.290-295.6670.
J. R. Bogard et al., “ Nutrient composition of important fish species in Bangladesh and potential contribution to
recommended nutrient intakes,” Journal of Food Composition and Analysis, vol. 42, pp. 120–133, 2015, doi:
1016/j.jfca.2015.03.002.
K. M. Knausg, W. Tonje, A. Ring, K. Lei, and J. Morten, “Temperate fish detection and classification : a deep learning
based approach,” Data Science and Engineering , vol. 52.6, pp. 6988–7001, 2022, doi: 10.1007/s10489-020-02154-9.
S. S. TV Geetha, Machine Learning Consepts, Techniques And Applications, 1st ed. CRC Press, 2023.
S. Raschka, Machine Learning Q and AI: 30 Essential Questions and Answers on Machine Learning and AI, 1st ed. San
Francisco: William Pollock, 2024.
G. Gao, “Research on marine fish classification and recognition based on an optimized ResNet50 model,” Marine and
Coastal Fisheries., vol : 1. August, pp. 1–17, 2024, doi: 10.1002/mcf2.10317.
M. S. NK Pertiwi, AM Hatta, IC Setiadi, S Stendafity, AA Damayanti, AD Hartati, “Fish Freshness Detection Using UV
Light Based On Deep Neural Network,” IEEE Xplore, vol. (pp. 839-8, no. November, p. 10427618, 2023, doi:
1109/ICAMIMIA60881.2023.10427618.
B. S. Rekha, G. N. Srinivasan, S. K. Reddy, D. Kakwani, and N. Bhattad, “Fish Detection and Classification Using
Convolutional Neural Networks Fish Detection and Classification Using Convolutional Neural Networks,” Int. Conf.
Computational Vision Bio Inspired Computing, vol. pp. 1221–1, no. July, 2020, doi: 10.1007/978-3-030-37218-7.
N. P. Desai, M. Farhan, A. Makrariya, and R. Musheeraziz, “Image processing Model with Deep Learning Approach for
Fish Species Classification,” Turkish Journal of Computer and Mathematics Education, vol. 13, no. 01, pp. 85–99, 2022.
A. Rahman, H. Mohammad, D. Science, H. Mohammad, and D. Science, “Fish Freshness Classification Using Combined
Deep Learning Model,” Int. Conf. Autom. Control Mechatronics IIndustry 4.0 (ACMI). IEEE, vol. pp. 1-5, no. July, 2021,
doi: 10.1109/ACMI53878.2021.9528138.
M. Janakidevi, T. Prasad, and P. Udayaraju, “An Improved Deep Convolutional Neural Network ( DCNN ) for finding the
Fish Freshness,” Annals of the Romanian Society for Cell Biology. Cell Biol., vol. 25, no. 7, pp. 1341–1349, 2021.
P. Dhar, “Fish Image Classification by XgBoost Based on Gist and GLCM Features,” I.J. Information Technology and
Computer Science., vol. 13, no. 4, pp. 17–23, 2021, doi: 10.5815/ijitcs.2021.04.02.
A. Ben Tamou and A. Benzinou, “Targeted Data Augmentation and Hierarchical Classification with Deep Learning for
Fish Species Identification in Underwater Images,” J. Imaging MDPI, vol. 8(8), 214., 2022, doi:
https://doi.org/10.3390/jimaging8080214.
M. Kumar.T, Brennan.R, Milio.A, And Bendechache, “Image Data Augmentation Approaches : A Comprehensive Survey
and Future directions,” IEEE Access, vol. 4, 2023.
A. Yudhana, “Fish Freshness Identification Using Machine Learning : Performance Comparison of k-NN and Naïve Bayes
Classifier,” Computer Scence and. Engineering, vol. 16, no. 3, pp. 153–164, 2022.
V. Kaya, “A novel hybrid system for automatic detection of fish quality from eye and gill color characteristics using
transfer learning technique,” PLoS One, vol. 18(4), 2023, doi: 10.1371/journal.pone.0284804.
U. Ahmad et al., “Large Scale Fish Images Classification and Localization using Transfer Learning and Localization Aware
CNN Architecture,” Computer. System and Engineering., vol. 42, no.2, 2023, doi: 10.32604/csse.2023.031008.
Rafael C, Gonzalez, Richard E, Woods, Digital Image Processing, 3rd ed. 2008.
E. Helmud, C. E. Widodo, and O. D. Nurhayati, “The Effect of Data Augmentation on the Accuracy of Fish Species
Classification Using Deep Learning,” 2024 Ninth Int. Conf. Informatics Comput., pp. 1–7, 2024, doi:
1109/ICIC64337.2024.10957253.
F. J. P. Montalbo and A. A. Hernandez, “Classification of Fish with Augmented Data using Deep Convolutional Neural
Network,” 2019 IEEE 9th Int. Conf. Syst. Eng. Technol., no. December, pp. 396–401, 2019, doi:
1109/ICSEngT.2019.8906433.
G. Wang, A. Muhammad, C. Liu, L. Du, and D. Li, “Automatic Recognition of Fish Behavior with a Fusion of RGB and
Optical Flow Data Based on Deep Learning,” MDPI, vol. 11, 2021, doi: 10.3390/ani11102774.
Y. Xie, “An Intelligent Fishery Detection Method Based on Cross-Domain Image Feature Fusion,” MDPI, vol. 9,338, 2024,
doi: 10.3390/fishes9090338.
A. Dhillon and G. K. Verma, “Convolutional neural network : a review of models , methodologies and applications to
object detection,” Prog. Artif. Intell., no. 0123456789, 2019, doi: 10.1007/s13748-019-00203-0.
I. Markoulidakis, “Probabilistic Confusion Matrix : A Novel Method for Machine Learning Algorithm Generalized
Performance Analysis,” MDPI, vol. 12, p. 113, 2024, doi: 10.3390/technologies12070113.
M. R. García and J. A. Ferez-rubio, “Assessment and Prediction of Fish Freshness Using Mathematical Modelling : A
Review,” MDPI, vol. 11,2312, pp. 1–26, 2022. doi.org/10.3390/foods11152312.
A. Choompol, S. Gonwirat, N. Wichapa, A. Sriburum, and S. Thitapars, “Evaluating Optimal Deep Learning Models for
Freshness Assessment of Silver Barb Through Technique for Order Preference by Similarity to Ideal Solution with Linear
Programming,” MDPI, vol. 14.105, 2025, doi: doi.org/10.3390/computers14030105.
DOI: https://doi.org/10.47738/jads.v6i4.988
Refbacks
- There are currently no refbacks.

Journal of Applied Data Sciences
| ISSN | : | 2723-6471 (Online) |
| Publisher | : | Bright Publisher |
| Website | : | http://bright-journal.org/JADS |
| : | taqwa@amikompurwokerto.ac.id (principal contact) | |
| support@bright-journal.org (technical issues) |
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0




.png)