Abstract
The seed viability detection before sowing is indispensable in the agricultural production of mung beans. The conventional detection methods for seed viability are destructive, carry a risk of contamination, and fail to identify individual non-viable seeds. In this study, an efficient and sustainable method for online viability detection of mung bean seeds was developed, which utilized hyperspectral techniques and had characteristics of rapid speed, non-destructive analysis, and the ability to detect the viability status without pollution to the environment. A sample holder for mung bean seeds was designed to stably collect spectral data. The effects of different optimal spectral bands and modeling algorithms on the detection accuracy of seed viability were analyzed. Compared to the support vector machine (SVM) and the extreme learning machine (ELM) algorithms, the partial least squares (PLS) algorithm based on the visible and near-infrared spectra (380~980 nm) had better performance. The accuracy for the identification of non-viable seeds was 98.8%, and the error of viability prediction was 20.71%. The cost of a one-time viability test is $0.25 with energy consumption of 0.05 kWh−1, which is much lower than the germination test with a cost of $80.2 and energy consumption of 50.4 kWh−1. Furthermore, individual non-viable seeds can be identified and removed, and the revenue increases by $286.9 per hectare after sorting the non-viable seeds from the seeds with an 85% germination rate. This will promote the cleaner production of mung beans without additional chemical solutions added in the process.
1. Introduction
Mung bean is rich in nutrients, with characteristics of high protein, medium starch, low fat, and a variety of vitamins and minerals. It is widely grown and has been regarded as an important nutritional health care product and food medicine [1,2,3]. The seed viability is one of the most important factors affecting the emergence rate and seedling growth, thereby seriously affecting crop yield [4,5,6,7]. However, a variety of external environmental factors can cause a decrease in seed viability or even cause it to lose its viability, such as inappropriate harvest time [8,9], high drying temperature [10,11,12], unsuitable ambient temperature and humidity [13,14,15], and diseases and insect pests during storage [16,17]. Therefore, the seed viability test is indispensable in the agricultural production of mung beans.
Currently, most viability testing methods for mung bean seeds are destructive or carry a contamination risk and fail to identify individual non-viable seeds. The germination test [18,19] is the most commonly used method to measure the viability of mung bean seeds, but it is labor- and time-consuming, energy-wasting, and destructive. The tetrazolium test [20,21], the bromothymol blue method, the red ink test, and the conductivity method [22] are commonly used methods for rapid prediction of seed viability level during mung bean production. These methods determine the overall seed viability by measuring the degree of damage to the physiological and metabolic functions of seeds. However, these methods produce corresponding acidic and alkaline chemicals and carry the risk of pollution to water and soil. Therefore, there is an urgent need to develop a rapid, non-destructive, green, and low-consumption method for the viability detection of individual mung bean seeds, thus achieving efficient and clean production of mung beans.
Hyperspectral techniques have been widely used in agricultural production because of their advantages of fast detection and non-destructiveness [23,24,25,26,27], especially in the rapid acquisition of seed physicochemical information [28,29,30]. For instance, hyperspectral techniques can be used not only for quantitative analysis to determine the protein [31,32], oil [32,33], carbohydrate [34], and moisture content [35] of seeds, but also for the qualitative analysis to identify seed variety [36], origin [37], crop year [38] and quality [39]. Furthermore, hyperspectral techniques have also been gradually applied in the nondestructive detection of seed viability. Based on the techniques, researchers have explored the feasibility of detecting the seed viability of several staple crops such as maize [40,41,42], rice [43,44] wheat [45,46], etc., and vegetables and fruits, such as tomato [47], watermelon [48], melon [49], retinspora [50], pepper [51], etc., which shows that the hyperspectral techniques have great potential in the detection of seed viability. Nevertheless, there are few reports on the application of hyperspectral techniques to the viability detection of mung bean seeds, and there is no equipment designed for seed viability detection and non-viable seed screening, which restricts the efficient and sustainable development of the mung bean industry.
A spectrometer and a hyperspectral imager are two main hyperspectral devices. The spectrometer only collects spectral information [52,53], which contains average spectral information for a certain region of the sample and is mainly aimed at organic content detection of liquids, powders, or homogeneous solids [54,55,56]. A hyperspectral imager has an image at each band, thus making it capable of acquiring both spectral information and image information [29,57]. However, the data collection time and cost of a hyperspectral imager are much higher than those of a spectrometer [58]. Therefore, this study chose the spectrometer to collect spectral data of mung bean seeds.
Despite these advances, significant gaps remain regarding the application of spectral methods to minor crops like mung beans, specifically the lack of individual seed identification capability in existing non-destructive methods and the absence of systematic evaluation of economic sustainability and real-time applicability. The objectives of this study are as follows: (1) to develop a rapid, non-destructive, and environmentally friendly method for detecting mung bean seed viability using Vis/NIR spectroscopy; (2) to design a real-time detection and sorting platform for individual non-viable seed removal; and (3) to evaluate the economic sustainability and practical applicability of the developed system compared with conventional methods. This study addresses the urgent need for cleaner production technologies in mung bean agriculture while providing a solution for seed quality control.
2. Materials and Methods
2.1. Samples and Sample Preparation
This study collected 12 varieties of mung bean seeds from seven regions (covering major mung bean-producing areas of China), which were harvested in 2021 and generously provided by the China Agriculture Research System of the Ministry of Finance (MOF). The detailed information on the seeds is shown in Table 1. Before the experiment, all collected mung bean seeds were sealed in glass jars and then stored in a constant temperature refrigerator at 5 °C to eliminate the effects of ambient temperature and air humidity on seed viability. To simulate the natural viability loss process and ensure experimental consistency and repeatability, we adopted the microwave heating method, which has been widely used in seed viability studies [41,42]. Microwave heating induces protein denaturation, starch gelatinization, and damages the membrane system, which is similar to the physiological changes occurring in naturally aged seeds. The microwave power was 700 W and the time was 40s, which was determined by experiments to ensure that the mung bean seeds completely lost their vitality. In total, 400 seeds of each variety were taken, of which 200 were inactivated by the microwave heating method, and the other 200 seeds were used as the control group. As a result, a total of 4800 samples were obtained, including 2400 normal seeds and 2400 non-viable seeds. Conventional modeling methods generally divide a data set into a trained class and a predicted class, which could achieve remarkable performances, whereas an independent predicted class could better evaluate the modeling approaches. Therefore, 8 of the 12 seed varieties (numbers 1 to 8 in Table 1) were used as the trained class, and the remaining 4 independent varieties (numbers 9 to 12 in Table 1) were used as the predicted class.
Table 1.
The information on the collected mung bean seeds.
2.2. The Design of the Sample Holder and Spectral Data Acquisition
The length and width of single mung bean seeds were measured with a slide caliper (Deli group Co., Ltd., Ningbo, China). The length (mm) of the mung bean seed is the longest length of the kernel, and the widest width of the kernel is treated as the width (mm) of the mung bean seed. All varieties were measured in three replications. The length and width of all mung bean seeds (12 varieties with a total of 120 seeds) ranged from 3.79 to 6.51 mm and 3.07 to 4.82 mm, respectively, as shown in Table 1. Considering the size range of the mung bean, a sample holder with a semi-ellipsoidal aperture was designed to meet the different size requirements. The major axis and minor axis of the top elliptic section were sized 7 nm and 5 nm, respectively, with 2 mm to the bottom of the ellipsoid (Figure 1a). Thus, the mung bean samples could be accommodated in the holder and, as a result, stable spectral data could be collected. The central portion of the holder was made of round glass (diameter 2.5 mm, thickness 1 mm) for good transmission of light in the visible (Vis) and near-infrared (NIR) regions. The reflection methods for mung bean seeds were selected, and an explanatory diagram of the spectral acquisition platform with the holder is shown in Figure 1b.
Figure 1.
(a) The shape and size of the designed sample holder and (b) the spectrum acquisition platform for mung bean seeds.
The spectrum acquisition platform included two spectrometers, i.e., QE Pro and NIR Quest (Ocean Optics, Inc., Orlando, FL, USA), a HL-2000 halogen lamp (Ocean Optics, Inc., Orlando, FL, USA), a trigeminal optical fiber, a computer with Ocean View software (Ocean Optics, Inc., Orlando, FL, USA), and a sample holder. The selection of spectrometers over a hyperspectral imager was driven by practical considerations, as they offered a more suitable solution for the rapid and cost-effective viability assessment of individual seeds. The spectral range of the spectrometer QE Pro is 185~1100 nm with a resolution of 1.7 nm, which includes the Vis region (380~780 nm) and part of the NIR region (780~1100 nm). The spectrometer NIR Quest covers most of the NIR spectrum (900~2500 nm with a resolution of 9.0 nm). Several parts of spectral data (185~380 nm, 980~1100 nm for QE Pro, 900~980 nm, and 2298~2500 nm for NIR Quest) were omitted because of a low signal-to-noise ratio, and the spectral ranges retained for QE Pro and NIR Quest were 380~980 nm (Vis/NIR) and 980~2298 nm (NIR), respectively. To meet the requirements of real-time spectrum acquisition, the integration time of the two spectrometers was set to 0.068 s. The power of the halogen lamp was 5 W, and it could continuously provide stable light for the operation.
The fiber probe was fixed beneath the sample holder with a hole in the center to reduce the influence of ambient light during the collection of spectral data. The mounting distance of the fiber probe (the distance between the fiber probe and the sample holder) was 0.5 mm, so that the field of view was close to 2.5 mm in diameter. The three splices of the optical fiber were connected to the two spectrometers and the halogen lamp, respectively. The total number of fiber cores was 14, including 12 outer cores and 2 inner ones. All outer cores were connected to the halogen lamp for a uniform light source, while the inner cores were connected to the QE Pro and NIR Quest, respectively, for the simultaneous spectral data collection.
2.3. Microscopic Examination and Germination Test of Seed
The microstructures of normal and non-viable seeds were examined by a Leica DVM6 electron microscope equipped with LAS X software (Leica Microsystems, Inc., Wetzlar, Germany). An objective lens of FOV 3.60 was selected, and then the mode of reflection microscopy was set to obtain high-magnification microscopic images of the seed section. The microscopic images of the full-view seed embryo, embryonic cell, and endosperm cell were collected with 70, 400, and 400 magnifications, respectively.
The viability of all seeds was determined by the seed germination test [22]. The two filter papers served as a germination bed to provide moisture for the seeds and support the growth of the seedlings, and they were placed in a transparent and non-toxic germination container. Each germination bed was evenly populated with 100 mung bean seeds, and the seed spacing was about twice the diameter of the seeds to provide enough space for the seedlings. The germination test was conducted in an artificial climate chamber (Ningbo Ledian Instrument Manufacturing Co., Ltd., Ningbo, China) at 25 °C and 12,000 xl for 7 days. Seeds with a 2 mm seedling were considered viable; otherwise, they were considered non-viable. The viability index (VI) was calculated as the product of germination rate and average seedling length:
where G is the germination rate (%) divided by 100, and S is the average seedling length (cm). This formula integrates both the germination capacity and seedling vigor, providing a comprehensive measure of seed viability.
VI = G · S
2.4. Classification Models
The collected spectral data were preprocessed by the Savitzky–Golay smoothing (SG) algorithm to eliminate high-frequency noise in the spectrum with a sliding smoothness width of 5. Three machine learning methods, i.e., the partial least squares (PLS), the support vector machine (SVM), and the extreme learning machine (ELM) algorithms, were selected for real-time seed vigor prediction. PLS is a frequently used multivariate statistical analysis method and is particularly suited when there is multicollinearity among spectral data (matrix X). PLS is a latent variable method to form a covariance model in the two spaces (matrices X and Y) and determines the multi-dimensional direction of the X space that expresses the maximum multi-dimensional variance direction of the Y space, which is calculated by the following formula.
where X is an m × n matrix of prediction, and Y is an m × 1 matrix of response. T and P are the score matrices, while U and V are the loading matrices. Matrices E and F are the idiosyncratic errors. In the model construction stage, the number of principal components was optimized by the method of 10-fold cross-validation, and 12 principal components were finally determined.
SVM is a high-performance and well-known machine learning model for solving nonlinear and high-dimensional data classification problems. The SVM algorithm is characterized by maximal margins, high-dimensional mapping, and kernel methods. Among them, high-dimensional mapping is the key to solving nonlinear classification problems with linear methods and can map low-dimensional inseparable or nonlinear data to a high-dimensional space to achieve linear separability. The kernel function selected in this study is the Gaussian kernel function (Gaussian kernel), which is very suitable for processing nonlinear or linear data with high flexibility.
The ELM algorithm is a fast-learning method. The model parameters, such as weights and thresholds of the input as well as hidden and output layers, are obtained by the Moore–Penrose method based on the least squares criterion. The complex classification problem can be transformed into a linear system solution problem by ELM, which has the characteristics of quick learning ability and wide suitability, and can meet the real-time requirements of seed vitality detection and screening. The number of hidden neurons assigned to the ELM was set to 2000, and the activation function was a sigmoidal function.
All calculations for data processing and model building were conducted by MATLAB R2018b.
2.5. Evaluation Indices
The model performance for classifying non-viable seeds was assessed by accuracy, precision, and recall. Accuracy is an overall index that describes the proportion of correctly recognized seeds in all seeds and is used to comprehensively evaluate model performance. Precision and recall are two supplementary indices. Precision is the proportion of correctly recognized seeds in the predicted class, and recall is the proportion of correctly recognized seeds in the true class. The calculation formulas are as follows.
where TP and FN are true positives and false negatives, respectively. FP and TN are false positives and true negatives, respectively. The model performance for predicting seed viability was evaluated by the coefficient of determination (R2), root mean square error of prediction (RMSEP), and prediction deviation of seed viability (PDSV), which are calculated in Equations (6)–(8).
where yi is the observed value, and is the average of observed values. is the predicted value of the regression model. AV and PV are actual viability and predicted viability, respectively.
3. Results and Discussion
3.1. The Microstructure and Viability Status of the Samples
Figure 2 shows a microscopic image of different parts of mung bean seeds (full-view embryo, embryonic and endosperm cells) collected by an electron microscope. The gaps between the seed coat and the seed embryo and between the seed embryo and endosperm were significantly larger in the non-viable class than in the normal class (labels 1 and 2 in Figure 2a and Figure 2d, respectively). The cellular structure of the seed embryo in the non-viable class was partly destroyed, and the cell contour was dim (label 3 in Figure 2b), while the cellular structure of the seed embryo in the normal class was intact, and its cell contour was clear (label 3 in Figure 2e). It was indicated that the physiological function of seeds in the non-viable class had been damaged. The cells in the endosperm of the non-viable class were closely packed, which went against the transfer of nutritive material. In contrast, the cells in the endosperm of the normal class were more intact and had gaps between adjacent cells; thus, the nutrition could be transported normally. These differences are the main causes for the identification of non-viable seeds by the spectral method.
Figure 2.
Electron microscope images from different parts of mung bean seeds (Take variety JiLv2 as an example): (a) full-view embryo, (b) embryonic cell, and (c) endosperm cell of non-viable group; (d) full-view embryo, (e) embryonic cell, and (f) endosperm cell of normal group.
The electron microscope images indicated that the cellular structure and function of the seeds in the non-viable class were destroyed, which is in accord with the results acquired from the germination test, with the germination rate of 0%. However, there was no regular difference between the microscopic images of 12 varieties of mung seeds for either the group of normal seeds or the group of inactivated seeds. In addition, viability differences between the 12 normal groups were observed, and the results of the germination test are shown in Table 2. It could be seen that their seed germination rates were all higher than 91%, meeting the index of germination rate for sowing (≥85%). Furthermore, the high seed germination rate is the basis for obtaining high seed viability, and the seeds with a higher germination rate are more likely to obtain high seed vigor (for instance, the highest germination rate of 98.5% and the highest seed viability of 9.55 were both achieved by LF2).
Table 2.
The results of the germination test of 12 mung bean varieties in normal groups.
3.2. Spectral Characteristics of the Samples
The spectral data of 12 seed varieties, including normal and non-viable seeds, were analyzed. Despite the similar spectral trends of all seeds, there was a large difference between the normal and non-viable seeds, as shown in Figure 3a,b. The results of the germination test are shown in Table 2, and it was noticed that all seeds treated by the microwave heating method failed to germinate, indicating that these seeds had completely lost their viability. This was because the heat treatment changed the internal structure of the seeds (Figure 2a,b,f), which led to the loss of seed viability and spectral differences between normal and non-viable seeds. It was found that the differences in the two types of seeds in the range of the Vis spectra (band 1: 380~780 nm) could be clearly differentiated by spectrometers, though they were barely distinguished by the human eye. And the spectral differences in the NIR range (band 2: 780~980 nm, band 3: 980~2298 nm) were larger than the differences in the Vis range (band 1: 380~780 nm), especially in the range of band 2. This was because the chemical composition of the mung bean seeds changed (starch gelatinization, protein denaturation, lipid saturation, moisture reduction, etc.) during the inactivation treatment process [40,41]. And less reflectance was presented, meaning more light was absorbed.
Figure 3.
(a) Vis/NIR and (b) NIR spectra of normal and non-viable seeds; (c) Vis/NIR and (d) NIR mean spectra of the 12 mung bean varieties.
Comparing the spectral data collected from the seeds of 12 varieties (Figure 3c,d), the spectral data of each variety had the same trend, but there were differences in spectral reflectance. The higher the seed viability, the lower the spectral reflectance. JL16 had the lowest viability, and LF2 had the highest viability; their corresponding spectral reflectance was the highest and lowest, respectively. Therefore, it is feasible to predict the seed viability of different varieties by using the Vis/NIR or NIR spectrum, and the model with the Vis/NIR spectrum may be more effective in predicting the seed viability due to a larger spectral difference between the varieties. A further evaluation was then conducted to determine the most suitable spectral band for viability detection of mung bean seeds.
3.3. The Model for Identifying Non-Viable Mung Bean Seeds
Three algorithms (PLS, SVM, and ELM) were used to build models for identifying non-viable mung bean seeds. The results are shown in Table 3. The highest accuracy of the trained class was achieved by the SVM algorithm, with an accuracy close to 100%. The highest accuracy of the predicted class was obtained by the PLS algorithm, which achieved an accuracy of 98.8% and 97.7% for Vis/NIR and NIR spectra, respectively. The lowest accuracy was observed for the ELM algorithm in this study, with only about 95% accuracy when the NIR spectrum was used. Even though the number of hidden neurons was increased to 2000, the performance was only slightly improved. The PLS algorithm was selected for the identification of non-viable seeds because of its high accuracy and simple structure.
Table 3.
The accuracy of trained and predicted classes by the three algorithms (PLS, SVM, and ELM).
The accuracy for identifying non-viable seeds of each variety is shown in Figure 4. The accuracy of the PLS model based on the Vis/NIR spectrum for all four varieties was more than 98%, with an average accuracy of 98.8%, which was better than the accuracy of 97.7% using the NIR spectrum. The spectral resolution of the Vis/NIR spectrometer was 1.7 nm, and the spectral number used for building the model was 803, while the spectral resolution of the NIR spectrometer was 9.0 nm and the spectral number was 412. We speculated that the higher spectral number of the Vis/NIR spectrometer and the large spectral difference in the region of band 2 were the reasons for achieving higher accuracy with Vis/NIR spectroscopy.
Figure 4.
The accuracy for identifying non-viable mung bean seeds by the PLS model with different spectral bands and seed varieties. NorG: normal group, NonG: non-viable group.
Further analysis was conducted, and the identification results of the model built by Vis/NIR and NIR spectra are shown in Figure 4. The PLS model built by the Vis/NIR spectrum could accurately recognize non-viable seeds: only one of 200 non-viable seeds in variety JL16 was mistakenly identified as a normal seed, while all the 200 non-viable seeds of the other three varieties were classified correctly. The PLS model built by the NIR spectrum showed misjudgment in the identification of non-viable and normal seeds in the four varieties. In addition, it was observed that a few seeds in the normal group failed to germinate (Table 2) and were regarded as non-viable (there were seven, seven, six, and seven non-viable seeds in varieties JL16, LL13, LF5, and BL21, respectively). These seeds were mostly identified as non-viable by the Vis/NIR-based model: four of seven, five of seven, three of six, and seven of seven non-viable seeds were identified in varieties JL16, LL13, LF5, and BL21, respectively. Therefore, the Vis/NIR spectrum was preferred for the identification of non-viable seeds, and the resulting PLS model could accurately classify non-viable seeds among normal mung bean seeds.
3.4. The Model for Predicting the Viability of Mung Bean Seeds
The performance of the built model for predicting the overall viability of mung bean seeds was also tested and evaluated. The accuracy difference in the models based on the two spectrometers was very small in the trained class (Figure 5). The R2 of the PLS models based on the Vis/NIR and NIR spectra were 0.989 and 0.991, respectively, and the RMSEs were 0.222 and 0.201, respectively.
Figure 5.
The performance of the trained class: (a) Vis/NIR-based and (b) NIR-based PLS models.
The prediction deviation of seed viability (PDSV) was used as an index for evaluating the accuracy of the predicted class, and the results are shown in Table 4. The PDSV value of the PLS model based on the Vis/NIR spectrum was 20.71%, and the PDSV value of the PLS model based on the NIR spectrum was 21.65%, indicating that the Vis/NIR-based model was better than the NIR-based model. In addition, it was noted that the predicted value was lower than the real value when the seed viability was low, while the predicted value was higher than the real value when the seed viability was high. The results indicate that the developed model is practical and more likely to abandon batches of seeds with low viability, thus avoiding low germination rate and yield reduction caused by sowing low-viability seeds. Furthermore, it is easy to misjudge seeds with high viability as low-viability seeds and eliminate them, preventing the waste of seeds by culling them.
Table 4.
The performance of the predicted class for seed viability.
3.5. Design and Economic Assessment of the Automatic Mung Bean Seed System
An automatic Vis/NIR-based system for mung bean seeds was designed (Figure 6), and it was used for detecting seed viability and rejecting non-viable seeds in a large number of mung bean seeds. The system was composed of a spectral detection module (a QE Pro spectrometer, a halogen light source, an optical fiber, etc.), an electronic control module (motors, motor driver, speed reducer, etc.), a pneumatic control system (blower fan, air pump, valves, etc.), a set of mechanical mechanisms (seed meter, turnplate, rack, etc.), and a controller. The seed meter was used to obtain single seeds, which applied a pneumatic system to avoid seed damage in the process of testing. The sample holders were evenly arranged on the turnplate, and their rotational speed was adjusted according to the speed of the seed meter to ensure that all seeds were accurately put into the corresponding holders. The two-in-one spectral probe was fixed beneath the turnplate, and then the spectra of mung bean seeds were collected by the QE Pro spectrometer. For the function of seed viability prediction, the spectral data of 600 mung bean seeds (three groups with 200 seeds each) were continuously collected, and then the seed viability (average viability of the three groups) was predicted by the PLS model, which is an alternative to the traditional germination test with the advantages of speed and non-destructiveness. For the function of non-viable seed identification, the spectra of all individual seeds were collected, and then non-viable seeds were distinguished and separated by an air nozzle; the normal seeds were delivered into a collection box by a seed-guiding device, thus improving the emergence rate.
Figure 6.
The automatic Vis/NIR-based system for the detection of seed viability and separation of non-viable seed of the mung bean.
The lifespan of the Vis/NIR-based system was designed to be 10 years and could run for 29,200 h with 8 h a day. Its detection efficiency was 0.2 s/seed, and each test took 2 min for 600 seeds. Hence, the total power consumption for a test of seed viability is 0.05 kWh−1 (power 1.49 Kw, time 2 min). If the seed viability was measured by the germination test, the climate chamber worked 24 h a day, and 7 days were taken to complete the test; thus, a power of 50.4 kWh−1 was consumed (power 1.2 Kw, power ratio 0.25), which was much higher than the energy consumption of the spectral method at 0.05 kWh−1. Therefore, the developed Vis/NIR-based system is energy-efficient in seed viability detection.
The test costs of the two methods were compared, mainly including energy cost, equipment usage, labor cost, and seed consumption, which is shown in Table 5. The industrial charge in Beijing is $0.13 kWh−1. The energy cost of the spectral method is $0.01 per test, which is much lower than that of the germination test at $6.55. Although the equipment cost ($19,454.09) is higher than the cost of the germination test ($4750.6), the equipment usage cost of $0.02 is lower than that of the germination test at $27.33. This is because the running time of the spectral method is just 2 min while the time of the germination test lasts 7 days; thus, the equipment usage cost of the system is lower. The human labor costs are $6.59/h. In the 7-day period of the germination test, 1 h per day was needed to manage the seedlings, and the total labor cost was $46.1, which is higher than that of the spectral method ($0.22). The seeds used in the germination test cannot be recycled for sowing again, resulting in a seed consumption cost of $0.21 (the price of mung bean seeds for sowing is $6.32/kg, and their thousand kernel weight is 0.055 kg). The tested seeds by the spectral method can be reused for sowing due to their non-destructive nature. As a result, the total cost of the spectral method is $0.25, which is much lower than the cost of the germination test ($80.2). Therefore, the developed Vis/NIR-based system is economically sustainable in seed viability detection.
Table 5.
The cost for the viability determination of mung bean seed by spectroscopic method and germination test (sample size of 600 seeds).
The Vis/NIR-based system can also identify and then separate non-viable seeds from mung bean seed batches. The cost for sorting non-viable seeds is shown in Table 6 (on the scale of one hectare of mung beans). The sowing amount of mung bean seeds is 18.75 kg per hectare, and 340,909 seeds need to be sown (thousand kernel weight of 55 g). The seed emergence rate and final crop yield can be increased by Rnon when the Rnon rate of non-viable seeds is eliminated, resulting in the revenue increase of $2223.8∙Rnon (the hectare yield of mung bean is 1322.9 kg, and the price of harvested mung bean seeds is $1.68). The elimination of non-viable seeds increases the seed input by $118.56 Rnon/(1 − Rnon). In addition, the cost of energy consumption and equipment usage is $16.29/(1 − Rnon), and the labor cost is $6.59 for 1 h to operate the machine. Ultimately, the total revenue Rtotal is obtained, whose numerator is a quadratic equation of one variable with an opening facing down (Table 6). It shows that more than 1.1% of non-viable seeds being screened out will positively increase revenue, and the revenue of $81.22 per hectare can be increased at an Rnon of 5%. When the seed germination rate is as low as 85% (the minimum germination rate for sowing, Rnon = 15%), the profit can be increased to $286.9 per hectare due to the non-viable seeds being eliminated and the ultimate seed germination rate being improved.
Table 6.
The detailed calculations about the revenue of identifying and eliminating non-viable seeds.
4. Conclusions
This study discussed the potential of using QE Pro (185~1100 nm) and NIR Quest (900~2500 nm) spectrometers to predict seed viability and identify non-viable seeds of mung bean. The effects of different optimal spectral bands and modeling algorithms on the detection accuracy of seed viability were analyzed. Compared to the SVM and ELM algorithms, the PLS model coupled with the Vis/NIR spectrum had the highest accuracy, precision, and recall for the identification of non-viable seeds. Furthermore, the developed model could predict the viability of seed batches and identify individual non-viable seeds by non-destructive and environmentally friendly methods. According to the economic analysis, the automatic sorting system utilizing the technology of the Vis/NIR spectrum is economically viable with high efficiency, low energy consumption, and a large capacity to increase the germination rate of mung beans. There is no chemical solution added in the process, which promotes the cleaner production of mung beans.
Nevertheless, this work has several limitations: (1) The study used microwave-treated seeds to simulate viability loss; while validated with naturally aged seeds, broader field validation under diverse natural degradation conditions is needed. (2) The economic analysis assumes ideal operating conditions; actual costs may vary with regional electricity prices, labor costs, and equipment maintenance requirements. (3) The current system design is crop-specific for mung bean seeds; adaptation to other seed types requires mechanical modifications. To enhance model stability and generalizability, future research should: (1) expand the sample database to include seeds from multiple growing seasons, storage conditions, and natural aging processes; (2) integrate RGB imaging for simultaneous detection of multiple quality attributes (cracks, diseases, color defects) alongside viability, and investigate the effects of seed scratches, color variations, and shape abnormalities on detection accuracy; and (3) explore transfer learning approaches to adapt the model to other legume crops with minimal retraining.
Author Contributions
Conceptualization, X.H., D.Z. and L.Y.; methodology, X.H., J.Z., D.S. and Y.L.; software, X.H., J.Z. and Y.L.; validation, X.H., Y.L. and T.C.; formal analysis, J.Z., Y.L., C.W. and K.Z.; investigation, X.H., Y.L. and J.Z.; resources, X.H. and J.Z.; data curation, X.H., J.Z. and Y.L.; writing—original draft preparation, X.H., Y.L., J.Z., D.S., C.W., Y.D. and L.Y.; writing—review and editing, X.H., Y.L., J.Z., D.S., C.W., Y.D. and L.Y.; visualization, D.Z. and T.C.; supervision, L.Y. and K.Z.; project administration, X.H.; funding acquisition, X.H. and L.Y. All authors have read and agreed to the published version of the manuscript.
Funding
This study was supported by the China Agriculture Research System of MOF and MARA (CARS-08-G16), the National Natural Science Foundation of China (Grant No. 32201675), and the National Key Research and Development Program of China (Grant Nos. 2021YFD2000402 and 2021YFD2000404).
Data Availability Statement
The data used in this study were self-tested and self-collected. As the control method designed in this paper is still being further improved, data cannot be shared at present.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Zhou, Q.; Wang, L.; Zhang, Y.; Zhang, C.; Kong, X.; Hua, Y.; Chen, Y. Characterization of mung bean endogenous proteases and globulins and their effects on the production of mung bean protein. Food Chem. 2024, 442, 138477. [Google Scholar] [CrossRef] [Scilit]
- Hou, D.; Yousaf, L.; Xue, Y.; Hu, J.; Wu, J.; Hu, X.; Feng, N.; Shen, Q. Mung bean (Vigna radiata L.): Bioactive polyphenols, polysaccharides, peptides, and health benefits. Nutrients 2019, 11, 1238. [Google Scholar] [CrossRef] [Scilit]
- Yi-Shen, Z.; Shuai, S.; Fitzgerald, R. Mung bean proteins and peptides: Nutritional, functional and bioactive properties. Food Nutr. Res. 2018, 62, 1290. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Weishaar, C.E.; Phippen, W.B. Indigo (Indigo suffruticosa Mill.) seed germination to improve commercial viability. Ind. Crops Prod. 2024, 221, 119347. [Google Scholar] [CrossRef] [Scilit]
- Norman, P.E.; Danquah, A.; Asfaw, A.; Tongoona, P.B.; Danquah, E.Y.; Asiedu, R. Seed Viability, Seedling Growth and Yield in White Guinea Yam. Agronomy 2020, 11, 2. [Google Scholar] [CrossRef] [Scilit]
- Baek, I.; Kusumaningrum, D.; Kandpal, L.; Lohumi, S.; Mo, C.; Kim, M.; Cho, B.-K. Rapid Measurement of Soybean Seed Viability Using Kernel-Based Multispectral Image Analysis. Sensors 2019, 19, 271. [Google Scholar] [CrossRef] [Scilit]
- He, Y.; Cheng, J.; He, Y.; Yang, B.; Cheng, Y.; Yang, C.; Zhang, H.; Wang, Z. Influence of isopropylmalate synthase Os IPMS 1 on seed vigour associated with amino acid and energy metabolism in rice. Plant Biotechnol. J. 2019, 17, 322–337. [Google Scholar] [CrossRef] [Scilit]
- Fu, H.; Cao, D.-D.; Hu, W.-M.; Guan, Y.-J.; Fu, Y.-Y.; Fang, Y.-F.; Hu, J. Studies on optimum harvest time for hybrid rice seed. J. Sci. Food Agric. 2017, 97, 1124–1133. [Google Scholar] [CrossRef] [Scilit]
- Wang, X.; Zheng, H.; Tang, Q. Early harvesting improves seed vigour of hybrid rice seeds. Sci. Rep. 2018, 8, 11092. [Google Scholar] [CrossRef] [Scilit]
- Huang, Y.; Wu, W.; Zhao, T.; Lu, M.; Wu, H.; Cao, D. Drying temperature regulates vigor of high moisture rice seeds via involvement in phytohormone, ROS, and relevant gene expression. J. Sci. Food Agric. 2021, 101, 2143–2155. [Google Scholar] [CrossRef] [Scilit]
- Huang, Y.; Wu, W.; Zou, W.; Wu, H.; Cao, D. Drying temperature affects rice seed vigor via gibberellin, abscisic acid, and antioxidant enzyme metabolism. J. Zhejiang Univ.-Sci. B 2020, 21, 796–810. [Google Scholar] [CrossRef] [Scilit]
- Wang, P.; Li, D.; Wang, L.; Adhikari, B. Effect of High Temperature Intermittent Drying on Rice Seed Viability and Vigor. Int. J. Food Eng. 2017, 13, 20160433. [Google Scholar] [CrossRef] [Scilit]
- De Vitis, M.; Hay, F.R.; Dickie, J.B.; Trivedi, C.; Choi, J.; Fiegener, R. Seed storage: Maintaining seed viability and vigor for restoration use. Restor. Ecol. 2020, 28, 13174. [Google Scholar] [CrossRef] [Scilit]
- Lotito, S.; Quagliotti, L. The influence of storage temperature and moisture content on seed viability in pepper (Capsicum annuum L). Agronomie 1993, 13, 231–234. [Google Scholar] [CrossRef] [Scilit]
- Thirusendura Selvi, D.; Saraswathy, S. Seed viability, seed deterioration and seed quality improvements in stored onion seeds: A review. J. Hortic. Sci. Biotechnol. 2018, 93, 1–7. [Google Scholar] [CrossRef] [Scilit]
- Branco, M.; Branco, C.; Merouani, H.; Almeida, M.H. Germination success, survival and seedling vigour of Quercus suber acorns in relation to insect damage. For. Ecol. Manag. 2002, 166, 159–164. [Google Scholar] [CrossRef] [Scilit]
- Turner, R.E.; Ebelhar, M.W.; Wilkerson, T.; Bellaloui, N.; Golden, B.R.; Irby, J.T.; Martin, S. Effects of Purple Seed Stain on Seed Quality and Composition in Soybean. Plants 2020, 9, 993. [Google Scholar] [CrossRef] [Scilit]
- Alongi, J.; Costantini, A.; Ferruti, P.; Ranucci, E. Evaluation of the eco-compatibility of polyamidoamines by means of seed germination test. Polym. Degrad. Stab. 2022, 197, 109854. [Google Scholar] [CrossRef] [Scilit]
- Muniyappan, V.K.; Tamilmani, E.; Desikan, R.; Ranganathan, U. Influence of groundnut seed viability on biodiesel feedstock quality. Ind. Crops Prod. 2019, 140, 111697. [Google Scholar] [CrossRef] [Scilit]
- Lopez Del Egido, L.; Navarro-Miró, D.; Martinez-Heredia, V.; Toorop, P.E.; Iannetta, P.P.M. A Spectrophotometric Assay for Robust Viability Testing of Seed Batches Using 2,3,5-Triphenyl Tetrazolium Chloride: Using Hordeum vulgare L. as a Model. Front. Plant Sci. 2017, 8, 747. [Google Scholar] [CrossRef] [Scilit]
- Pereira, D.F.; Bugatti, P.H.; Lopes, F.M.; de Souza, A.L.S.M.; Saito, P.T.M. Assessing Active Learning Strategies to Improve the Quality Control of the Soybean Seed Vigor. IEEE Trans. Ind. Electron. 2021, 68, 1675–1683. [Google Scholar] [CrossRef] [Scilit]
- Zhang, W.; Li, C.; Zhou, M. Methods for Crop Phenotypic Research; Science Press: Beijing, China, 2017. [Google Scholar]
- He, X.; Zhu, J.; Li, P.; Zhang, D.; Yang, L.; Cui, T.; Zhang, K.; Lin, X. Research on a Multi-Lens Multispectral Camera for Identifying Haploid Maize Seeds. Agriculture 2024, 14, 800. [Google Scholar] [CrossRef] [Scilit]
- Yin, H.; Xie, B.; Chen, B.; Ma, J.; Chen, J.; Zhou, Y.; Han, X.; Xiong, Z.; Yu, Z.; Huang, F. Detection of moisture content and size of pumpkin seeds based on hyperspectral reflection and transmission imaging techniques. J. Food Compos. Anal. 2023, 124, 105651. [Google Scholar] [CrossRef] [Scilit]
- He, X.; Liu, L.; Liu, C.; Li, W.; Sun, J.; Li, H.; He, Y.; Yang, L.; Zhang, D.; Cui, T.; et al. Discriminant analysis of maize haploid seeds using near-infrared hyperspectral imaging integrated with multivariate methods. Biosyst. Eng. 2022, 222, 142–155. [Google Scholar] [CrossRef] [Scilit]
- Liu, S.; Li, L.; Fan, H.; Guo, X.; Wang, S.; Lu, J. Real-time and multi-stage recommendations for nitrogen fertilizer topdressing rates in winter oilseed rape based on canopy hyperspectral data. Ind. Crops Prod. 2020, 154, 112699. [Google Scholar] [CrossRef] [Scilit]
- Stenberg, B.; Viscarra Rossel, R.A.; Mouazen, A.M.; Wetterlind, J. Visible and Near Infrared Spectroscopy in Soil Science. In Advances in Agronomy; Academic Press: Cambridge, MA, USA, 2010; Volume 107, pp. 163–215. [Google Scholar] [CrossRef] [Scilit]
- Wang, Z.; Fan, S.; An, T.; Zhang, C.; Chen, L.; Huang, W. Detection of Insect-Damaged Maize Seed Using Hyperspectral Imaging and Hybrid 1D-CNN-BiLSTM Model. Infrared Phys. Technol. 2024, 137, 105208. [Google Scholar] [CrossRef] [Scilit]
- Feng, L.; Zhu, S.; Liu, F.; He, Y.; Bao, Y.; Zhang, C. Hyperspectral imaging for seed quality and safety inspection: A review. Plant Methods 2019, 15, 91. [Google Scholar] [CrossRef] [Scilit]
- He, Y.; Liu, F.; Li, X.; Shao, Y. Spectroscopy and Imaging Technology in Agriculture; Science Press: Beijing, China, 2015. [Google Scholar]
- Nogales-Bueno, J.; Rodríguez-Pulido, F.J.; Heredia, F.J.; Hernández-Hierro, J.M.; Baca-Bocanegra, B. Use of hyperspectral imaging devices for the measurement of small granular samples: Evaluation of grape seed protein concentrates. LWT 2024, 192, 115738. [Google Scholar] [CrossRef] [Scilit]
- Fassio, A.S.; Restaino, E.A.; Cozzolino, D. Determination of oil content in whole corn (Zea mays L.) seeds by means of near infrared reflectance spectroscopy. Comput. Electron. Agric. 2015, 110, 171–175. [Google Scholar] [CrossRef] [Scilit]
- Zhang, L.; Wang, Y.; Wei, Y.; An, D. Near-infrared hyperspectral imaging technology combined with deep convolutional generative adversarial network to predict oil content of single maize kernel. Food Chem. 2022, 370, 131047. [Google Scholar] [CrossRef] [Scilit]
- Bilal, M.; Xiaobo, Z.; Arslan, M.; Tahir, H.E.; Azam, M.; Junjun, Z.; Basheer, S.; Abdullah. Rapid determination of the chemical compositions of peanut seed (Arachis hypogaea) Using portable near-infrared spectroscopy. Vib. Spectrosc. 2020, 110, 103138. [Google Scholar] [CrossRef] [Scilit]
- Qiao, M.; Xu, Y.; Xia, G.; Su, Y.; Lu, B.; Gao, X.; Fan, H. Determination of hardness for maize kernels based on hyperspectral imaging. Food Chem. 2022, 366, 130559. [Google Scholar] [CrossRef] [Scilit]
- Caporaso, N.; Whitworth, M.B.; Grebby, S.; Fisk, I.D. Non-destructive analysis of sucrose, caffeine and trigonelline on single green coffee beans by hyperspectral imaging. Food Res. Int. 2018, 106, 193–203. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Choi, J.-Y.; Heo, S.; Bae, S.; Kim, J.; Moon, K.-D. Discriminating the origin of basil seeds (Ocimum basilicum L.) using hyperspectral imaging analysis. LWT 2020, 118, 108715. [Google Scholar] [CrossRef] [Scilit]
- Huang, M.; Tang, J.; Yang, B.; Zhu, Q. Classification of maize seeds of different years based on hyperspectral imaging and model updating. Comput. Electron. Agric. 2016, 122, 139–145. [Google Scholar] [CrossRef] [Scilit]
- Shrestha, S.; Knapič, M.; Žibrat, U.; Deleuran, L.C.; Gislum, R. Single seed near-infrared hyperspectral imaging in determining tomato (Solanum lycopersicum L.) seed quality in association with multivariate data analysis. Sens. Actuators B Chem. 2016, 237, 1027–1034. [Google Scholar] [CrossRef] [Scilit]
- Ambrose, A.; Lohumi, S.; Lee, W.H.; Cho, B.K. Comparative nondestructive measurement of corn seed viability using Fourier transform near-infrared (FT-NIR) and Raman spectroscopy. Sens. Actuators B Chem. 2016, 224, 500–506. [Google Scholar] [CrossRef] [Scilit]
- Wakholi, C.; Kandpal, L.M.; Lee, H.; Bae, H.; Park, E.; Kim, M.S.; Mo, C.; Lee, W.H.; Cho, B.K. Rapid assessment of corn seed viability using short wave infrared line-scan hyperspectral imaging and chemometrics. Sens. Actuators B Chem. 2018, 255, 498–507. [Google Scholar] [CrossRef] [Scilit]
- Wang, Y.; Peng, Y.; Qiao, X.; Zhuang, Q. Discriminant analysis and comparison of corn seed vigor based on multiband spectrum. Comput. Electron. Agric. 2021, 190, 106444. [Google Scholar] [CrossRef] [Scilit]
- Jin, B.; Qi, H.; Jia, L.; Tang, Q.; Gao, L.; Li, Z.; Zhao, G. Determination of viability and vigor of naturally-aged rice seeds using hyperspectral imaging with machine learning. Infrared Phys. Technol. 2022, 122, 104097. [Google Scholar] [CrossRef] [Scilit]
- Wu, N.; Weng, S.; Chen, J.; Xiao, Q.; Zhang, C.; He, Y. Deep convolution neural network with weighted loss to detect rice seeds vigor based on hyperspectral imaging under the sample-imbalanced condition. Comput. Electron. Agric. 2022, 196, 106850. [Google Scholar] [CrossRef] [Scilit]
- Fan, Y.; Ma, S.; Wu, T. Individual wheat kernels vigor assessment based on NIR spectroscopy coupled with machine learning methodologies. Infrared Phys. Technol. 2020, 105, 103213. [Google Scholar] [CrossRef] [Scilit]
- Zhang, T.; Wei, W.; Zhao, B.; Wang, R.; Li, M.; Yang, L.; Wang, J.; Sun, Q. A Reliable Methodology for Determining Seed Viability by Using Hyperspectral Data from Two Sides of Wheat Seeds. Sensors 2018, 18, 813. [Google Scholar] [CrossRef] [Scilit]
- Shrestha, S.; Deleuran, L.C.; Gislum, R. Separation of viable and non-viable tomato (Solanum lycopersicum L.) seeds using single seed near-infrared spectroscopy. Comput. Electron. Agric. 2017, 142, 348–355. [Google Scholar] [CrossRef] [Scilit]
- Yasmin, J.; Raju Ahmed, M.; Lohumi, S.; Wakholi, C.; Kim, M.; Cho, B.-K. Classification Method for Viability Screening of Naturally Aged Watermelon Seeds Using FT-NIR Spectroscopy. Sensors 2019, 19, 1190. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Kandpal, L.M.; Lohumi, S.; Kim, M.S.; Kang, J.S.; Cho, B.K. Near-infrared hyperspectral imaging system coupled with multivariate methods to predict viability and vigor in muskmelon seeds. Sens. Actuators B Chem. 2016, 229, 534–544. [Google Scholar] [CrossRef] [Scilit]
- Mukasa, P.; Wakholi, C.; Mohammad, A.F.; Park, E.; Lee, J.; Suh, H.K.; Mo, C.; Lee, H.; Baek, I.; Kim, M.S.; et al. Determination of the viability of retinispora (Hinoki cypress) seeds using shortwave infrared hyperspectral imaging spectroscopy. J. Near Infrared Spectrosc. 2020, 28, 70–80. [Google Scholar] [CrossRef] [Scilit]
- Hong, S.J.; Park, S.; Lee, A.; Kim, S.Y.; Kim, E.; Lee, C.H.; Kim, G. Nondestructive prediction of pepper seed viability using single and fusion information of hyperspectral and X-ray images. Sens. Actuators A Phys. 2023, 350, 114151. [Google Scholar] [CrossRef] [Scilit]
- Liu, J.; Zhang, D.; Yang, L.; Ma, Y.; Cui, T.; He, X.; Du, Z. Developing a generalized vis-NIR prediction model of soil moisture content using external parameter orthogonalization to reduce the effect of soil type. Geoderma 2022, 419, 115877. [Google Scholar] [CrossRef] [Scilit]
- Liu, S.; Chen, Z.; Jiao, F. Detection of maize seed germination rate based on improved locally linear embedding. Comput. Electron. Agric. 2023, 204, 107514. [Google Scholar] [CrossRef] [Scilit]
- Li, J.; Li, C.; Liao, Q.; Xu, Z. Environmentally-friendly technology for rapid on-line recycling of acrylonitrile-butadiene-styrene, polystyrene and polypropylene using near-infrared spectroscopy. J. Clean. Prod. 2019, 213, 838–844. [Google Scholar] [CrossRef] [Scilit]
- Noor, P.; Khanmohammadi, M.; Roozbehani, B.; Yaripour, F.; Bagheri Garmarudi, A. Determination of reaction parameters in methanol to gasoline (MTG) process using infrared spectroscopy and chemometrics. J. Clean. Prod. 2018, 196, 1273–1281. [Google Scholar] [CrossRef] [Scilit]
- Wu, X.; Li, J.; Yao, L.; Xu, Z. Auto-sorting commonly recovered plastics from waste household appliances and electronics using near-infrared spectroscopy. J. Clean. Prod. 2020, 246, 118732. [Google Scholar] [CrossRef] [Scilit]
- Polder, G.; Blok, P.M.; de Villiers, H.A.C.; van der Wolf, J.M.; Kamp, J. Potato Virus Y Detection in Seed Potatoes Using Deep Learning on Hyperspectral Images. Front. Plant Sci. 2019, 10, 209. [Google Scholar] [CrossRef] [Scilit]
- Cui, Y.; Ge, W.; Li, J.; Zhang, J.; An, D.; Wei, Y. Screening of maize haploid kernels based on near infrared spectroscopy quantitative analysis. Comput. Electron. Agric. 2019, 158, 358–368. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.





