A Smartphone-Based Non-Destructive Multimodal Deep Learning Approach Using pH-Sensitive Pitaya Peel Films for Real-Time Fish Freshness Detection.

Journal: Foods (Basel, Switzerland)
Published Date:

Abstract

The detection of fish freshness is crucial for ensuring food safety. This study addresses the limitations of traditional detection methods, which rely on laboratory equipment and complex procedures, by proposing a smartphone-based detection method, termed FreshFusionNet, that utilizes a pitaya peel pH intelligent indicator film in conjunction with multimodal deep learning. The pitaya peel indicator film, prepared using high-pressure homogenization technology, demonstrates a significant color change from dark red to yellow in response to the volatile alkaline substances released during fish spoilage. To construct a multimodal dataset, 3600 images of the indicator film were captured using a smartphone under various conditions (natural light and indoor light) and from multiple angles (0° to 120°), while simultaneously recording pH values, total volatile basic nitrogen (TVB-N), and total viable count (TVC) data. Based on the lightweight MobileNetV2 network, a Multi-scale Dilated Fusion Attention module (MDFA) was designed to enhance the robustness of color feature extraction. A Temporal Convolutional Network (TCN) was then used to model dynamic patterns in chemical indicators across spoilage stages, combined with a Context-Aware Gated Fusion (CAG-Fusion) mechanism to adaptively integrate image and chemical temporal features. Experimental results indicate that the overall classification accuracy of FreshFusionNet reaches 99.61%, with a single inference time of only 142 ± 40 milliseconds (tested on Xiaomi 14). This method eliminates the need for professional equipment and enables real-time, non-destructive detection of fish spoilage through smartphones, providing consumers and the food supply chain with a low-cost, portable quality-monitoring tool, thereby promoting the intelligent and universal development of food safety detection technology.

Authors

  • Yixuan Pan
    College of Science, Sichuan Agricultural University, No.46, Xin Kang Road, Ya'an 625014, China.
  • Yujie Wang
    Centre for Eye Research Australia, Royal Victorian Eye and Ear Hospital, Melbourne, VIC, Australia.
  • Yuzhe Zhou
    The Chinese University of Hong Kong (Shenzhen), Shenzhen 51800, China.
  • Jiacheng Zhou
    Department of Interventional Medicine, Liyang Hospital of Chinese Medicine, Jiangsu 213300, PR China.
  • Manxi Chen
    College of Information Engineering, Sichuan Agricultural University, No.46, Xin Kang Road, Ya'an 625014, China.
  • Dongling Liu
    College of Science, Sichuan Agricultural University, No.46, Xin Kang Road, Ya'an 625014, China.
  • Feier Li
    College of Science, Sichuan Agricultural University, No.46, Xin Kang Road, Ya'an 625014, China.
  • Can Liu
    School of Medical Informatics Engineering, Anhui University of Chinese Medicine, Hefei, Anhui 230012, China.
  • Mingwan Zeng
    College of Science, Sichuan Agricultural University, No.46, Xin Kang Road, Ya'an 625014, China.
  • Dongjing Jiang
    College of Science, Sichuan Agricultural University, No.46, Xin Kang Road, Ya'an 625014, China.
  • Xiangyang Yuan
    College of Science, Sichuan Agricultural University, No.46, Xin Kang Road, Ya'an 625014, China.
  • Hejun Wu
    College of Science, Sichuan Agricultural University, No.46, Xin Kang Road, Ya'an 625014, China.

Keywords

No keywords available for this article.