Chlorpyrifos is one of the most widely used broad-spectrum insecticides in agriculture. Given its potential toxicity and residue in food (e.g., tea), establishing a rapid and reliable method for the determination of chlorpyrifos residue is crucial. In this study, a strategy combining surface-enhanced Raman spectroscopy (SERS) and intelligent variable selection models for detecting chlorpyrifos residue in tea was established. First, gold nanostars were fabricated as a SERS sensor for measuring the SERS spectra. Second, the raw SERS spectra were preprocessed to facilitate the quantitative analysis. Third, a partial least squares model and four outstanding intelligent variable selection models, Monte Carlo-based uninformative variable elimination, competitive adaptive reweighted sampling, iteratively retaining informative variables, and variable iterative space shrinkage approach, were developed for detecting chlorpyrifos residue in a comparative study. The repeatability and reproducibility tests demonstrated the excellent stability of the proposed strategy. Furthermore, the sensitivity of the proposed strategy was assessed by estimating limit of detection values of the various models. Finally, two-tailed paired t-tests confirmed that the accuracy of the proposed strategy was equivalent to that of gas chromatography–mass spectrometry. Hence, the proposed method provides a promising strategy for detecting chlorpyrifos residue in tea.
A ratiometric fluorescent film with high gas sensitivity and stability was developed using electrospinning technology for monitoring food spoilage. 5(6)-Carboxyfluorescein (5(6)-FAM) was used as the indicator, combined with the internal reference Rhodamine B (RHB), to establish a composite ratiometric fluorescent probe (FAM@RHB). The hydrophobic fluorescent films were fabricated by incorporating FAM@RHB probes into polyvinylidene fluoride (PVDF) at varying molar ratios through electrospinning. The FR-2 film with a 2:8 ratio of 5(6)-FAM to RHB exhibited the best performance, demonstrating excellent hydrophobicity with a water contact angle (WCA) of 113.45° and good color stability, with a ΔE value of 2.05 after 14 days of storage at 4 °C. Gas sensitivity tests indicated that FR-2 exhibited a limit of detection (LOD) of 0.54 μM for trimethylamine (TMA). In the application of monitoring the freshness of pork and beef at 4 °C, the fluorescence color of the FR-2 film significantly changed from orange–yellow to green, enabling the visual monitoring of meat freshness. Hence, this study provides a new approach for intelligent food packaging.