Fast and Accurate Meat Freshness Classification Using Depthwise Separable Convolution and SPPF
摘要
Ensuring the freshness of meat is vital for food safety, consumer trust, and waste reduction. Traditional chemical and microbiological tests (e.g., TVB-N, pH, and microbial counts) are reliable but destructive and time-consuming, which limits their practicality for real-time monitoring. In this work, we formulate the problem as RGB-based visual freshness classification into three categories (Fresh, Half-Fresh, and Spoiled) using appearance cues (color and texture) and visual labels, rather than direct estimation of biochemical freshness indices. This study introduces DW–SPPFNet, a lightweight deep learning framework designed for rapid, non-destructive classification of meat freshness from RGB images. The model integrates depthwise separable convolution (DW) to minimize redundant computation and Spatial Pyramid Pooling Feature-lite (SPPF-lite) to enhance multi-scale spatial representation. This combination achieves a superior trade-off between accuracy and efficiency, enabling edge-level deployment. Trained and tested on a dataset of 10,372 labeled pork images, DW–SPPFNet achieved 98.31% test accuracy, 98.32% macro-F1, and Cohen’s