IntroductionAnthracnoseof banana caused byColletotrichum speciesis one of the most serious post-harvest diseases, which can cause significant yield losses. Clarifying the infection mechanism of the fungi using non-destructive methods is crucial for timely discriminating infected bananas and taking preventive and control measures.MethodsThis study presented an approach for tracking growth and identifying different infection stages of theC. musaein bananas using Vis/NIR spectroscopy. A total of 330 banana reflectance spectra were collected over ten consecutive days after inoculation, with a sampling rate of 24 h. The four-class and five-class discriminant patterns were designed to examine the capability of NIR spectra in discriminating bananas infected at different levels (control, acceptable, moldy, and highly moldy), and different time at early stage (control and days 1-4). Three traditional feature extraction methods, i.e. PC loading coefficient (PCA), competitive adaptive reweighted sampling (CARS) and successive projections algorithm (SPA), combining with two machine learning methods, i.e. partial least squares discriminant analysis (PLSDA) and support vector machine (SVM), were employed to build discriminant models. One-dimensional convolutional neural network (1D-CNN) without manually extracted feature parameters was also introduced for comparison.ResultsThe PCA-SVM and·SPA-SVM models had good performance with identification accuracies of 93.98% and 91.57%, 94.47% and 89.47% in validation sets for the four- and five-class patterns, respectively. While the 1D-CNN models performed the best, achieving an accuracy of 95.18% and 97.37% for identifying infected bananas at different levels and time, respectively.DiscussionThese results indicate the feasibility of identifying banana fruit infected withC. musaeusing Vis/NIR spectra, and the resolution can be accurate to one day.