Automated seafood freshness detection and preservation analysis using machine learning and paper-based pH sensors

Abstract Seafood, including fish, prawns and various marine products, is a critical component of global nutrition due to its high protein content, essential fatty acids, vitamins and minerals. Traditional methods for assessing seafood freshness such as sensory evaluation and microbiological analysis...

Full description

Saved in:
Bibliographic Details
Main Authors: B. Kumaravel, A. L. Amutha, T. P. Milintha Mary, Aryan Agrawal, Akshat Singh, S. Saran, Nagamaniammai Govindarajan
Format: Article
Language:English
Published: Nature Portfolio 2025-07-01
Series:Scientific Reports
Subjects:
Online Access:https://doi.org/10.1038/s41598-025-08177-x
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849333041130897408
author B. Kumaravel
A. L. Amutha
T. P. Milintha Mary
Aryan Agrawal
Akshat Singh
S. Saran
Nagamaniammai Govindarajan
author_facet B. Kumaravel
A. L. Amutha
T. P. Milintha Mary
Aryan Agrawal
Akshat Singh
S. Saran
Nagamaniammai Govindarajan
author_sort B. Kumaravel
collection DOAJ
description Abstract Seafood, including fish, prawns and various marine products, is a critical component of global nutrition due to its high protein content, essential fatty acids, vitamins and minerals. Traditional methods for assessing seafood freshness such as sensory evaluation and microbiological analysis are labor-intensive, time-consuming and often require specialized equipment. To address these limitations, this research presents an automated freshness detection system for refrigerated fish using machine learning and evaluates the effectiveness of different packaging techniques. Six seafood varieties: Mackerel, Sardine, Prawn, Pomfret, Red Snapper and Cuttlefish were stored under refrigeration and packaged using three methods: vacuum, shrink, and normal packaging. A paper-based pH sensor integrated with Methyl Red and Bromocresol Purple was utilized as a freshness indicator. This sensor effectively monitored spoilage by capturing L*, a*, and b* color values over time. Key parameters, including protein content, lipid content, and Total Volatile Basic Nitrogen (TVB-N) levels, were measured throughout the storage period to assess changes in fish quality. These measurements were used to train a Random Forest (RF) model, aimed at accurately predicting the pH values of the samples. The model’s performance was evaluated using standard metrics such as Mean Absolute Error (MAE), Mean Squared Error (MSE), and Root Mean Squared Error (RMSE). Among the tested varieties, Pomfret and Mackerel displayed the lowest MSE values (0.004625 and 0.005034, respectively), indicating high predictive reliability. The RMSE values, representing average prediction error magnitude, were also minimal for Pomfret (0.068007) and Mackerel (0.070949). Furthermore, MAE values confirmed robust predictions, with Pomfret (0.065833) and Mackerel (0.062933) achieving the least deviation from actual measurements. The study demonstrates the effectiveness of the paper-based pH sensor as a visual indicator of spoilage, while the RF-based prediction model offers a reliable method for ensuring food safety and quality during cold-chain storage. Integrating sensor-based monitoring with advanced packaging presents a viable solution for extending the shelf life of seafood and enhancing consumer safety.
format Article
id doaj-art-a82a89e56ce742f3bf881f2fd6050df3
institution Kabale University
issn 2045-2322
language English
publishDate 2025-07-01
publisher Nature Portfolio
record_format Article
series Scientific Reports
spelling doaj-art-a82a89e56ce742f3bf881f2fd6050df32025-08-20T03:46:00ZengNature PortfolioScientific Reports2045-23222025-07-0115111410.1038/s41598-025-08177-xAutomated seafood freshness detection and preservation analysis using machine learning and paper-based pH sensorsB. Kumaravel0A. L. Amutha1T. P. Milintha Mary2Aryan Agrawal3Akshat Singh4S. Saran5Nagamaniammai Govindarajan6Department of Food Process Engineering, School of Bioengineering, College of Engineering and Technology, SRM Institute of Science and Technology KattankulathurDepartment of Computational Intelligence, School of Computing, College of Engineering and Technology, SRM Institute of Science and Technology KattankulathurDepartment of Food Process Engineering, School of Bioengineering, College of Engineering and Technology, SRM Institute of Science and Technology KattankulathurDepartment of Computational Intelligence, School of Computing, College of Engineering and Technology, SRM Institute of Science and Technology KattankulathurDepartment of Computational Intelligence, School of Computing, College of Engineering and Technology, SRM Institute of Science and Technology KattankulathurDepartment of Food Process Engineering, School of Bioengineering, College of Engineering and Technology, SRM Institute of Science and Technology KattankulathurDepartment of Food Process Engineering, School of Bioengineering, College of Engineering and Technology, SRM Institute of Science and Technology KattankulathurAbstract Seafood, including fish, prawns and various marine products, is a critical component of global nutrition due to its high protein content, essential fatty acids, vitamins and minerals. Traditional methods for assessing seafood freshness such as sensory evaluation and microbiological analysis are labor-intensive, time-consuming and often require specialized equipment. To address these limitations, this research presents an automated freshness detection system for refrigerated fish using machine learning and evaluates the effectiveness of different packaging techniques. Six seafood varieties: Mackerel, Sardine, Prawn, Pomfret, Red Snapper and Cuttlefish were stored under refrigeration and packaged using three methods: vacuum, shrink, and normal packaging. A paper-based pH sensor integrated with Methyl Red and Bromocresol Purple was utilized as a freshness indicator. This sensor effectively monitored spoilage by capturing L*, a*, and b* color values over time. Key parameters, including protein content, lipid content, and Total Volatile Basic Nitrogen (TVB-N) levels, were measured throughout the storage period to assess changes in fish quality. These measurements were used to train a Random Forest (RF) model, aimed at accurately predicting the pH values of the samples. The model’s performance was evaluated using standard metrics such as Mean Absolute Error (MAE), Mean Squared Error (MSE), and Root Mean Squared Error (RMSE). Among the tested varieties, Pomfret and Mackerel displayed the lowest MSE values (0.004625 and 0.005034, respectively), indicating high predictive reliability. The RMSE values, representing average prediction error magnitude, were also minimal for Pomfret (0.068007) and Mackerel (0.070949). Furthermore, MAE values confirmed robust predictions, with Pomfret (0.065833) and Mackerel (0.062933) achieving the least deviation from actual measurements. The study demonstrates the effectiveness of the paper-based pH sensor as a visual indicator of spoilage, while the RF-based prediction model offers a reliable method for ensuring food safety and quality during cold-chain storage. Integrating sensor-based monitoring with advanced packaging presents a viable solution for extending the shelf life of seafood and enhancing consumer safety.https://doi.org/10.1038/s41598-025-08177-xFood process automationFish qualityFreshness indicatorRefrigerated storagePaper sensorSeafood
spellingShingle B. Kumaravel
A. L. Amutha
T. P. Milintha Mary
Aryan Agrawal
Akshat Singh
S. Saran
Nagamaniammai Govindarajan
Automated seafood freshness detection and preservation analysis using machine learning and paper-based pH sensors
Scientific Reports
Food process automation
Fish quality
Freshness indicator
Refrigerated storage
Paper sensor
Seafood
title Automated seafood freshness detection and preservation analysis using machine learning and paper-based pH sensors
title_full Automated seafood freshness detection and preservation analysis using machine learning and paper-based pH sensors
title_fullStr Automated seafood freshness detection and preservation analysis using machine learning and paper-based pH sensors
title_full_unstemmed Automated seafood freshness detection and preservation analysis using machine learning and paper-based pH sensors
title_short Automated seafood freshness detection and preservation analysis using machine learning and paper-based pH sensors
title_sort automated seafood freshness detection and preservation analysis using machine learning and paper based ph sensors
topic Food process automation
Fish quality
Freshness indicator
Refrigerated storage
Paper sensor
Seafood
url https://doi.org/10.1038/s41598-025-08177-x
work_keys_str_mv AT bkumaravel automatedseafoodfreshnessdetectionandpreservationanalysisusingmachinelearningandpaperbasedphsensors
AT alamutha automatedseafoodfreshnessdetectionandpreservationanalysisusingmachinelearningandpaperbasedphsensors
AT tpmilinthamary automatedseafoodfreshnessdetectionandpreservationanalysisusingmachinelearningandpaperbasedphsensors
AT aryanagrawal automatedseafoodfreshnessdetectionandpreservationanalysisusingmachinelearningandpaperbasedphsensors
AT akshatsingh automatedseafoodfreshnessdetectionandpreservationanalysisusingmachinelearningandpaperbasedphsensors
AT ssaran automatedseafoodfreshnessdetectionandpreservationanalysisusingmachinelearningandpaperbasedphsensors
AT nagamaniammaigovindarajan automatedseafoodfreshnessdetectionandpreservationanalysisusingmachinelearningandpaperbasedphsensors