Achieving seed germination quality standards poses a real challenge to seed companies as they are compelled to abide by strict certification rules, while having only partial seed separation solutions at their disposal. This discrepancy results with wasteful disqualification of seed lots holding considerable amounts of good seeds and further translates to financial losses and supply chain insecurity. Here, we present the first-ever generic germination prediction technology that is based on deep learning and RGB image data and facilitates seed classification by seed germinability and usability, two facets of germination fate. We show technology competence to render dozens of disqualified seed lots of seven vegetable crops, representing different genetics and production pipelines, industrially appropriate, and to adequately classify lots by utilizing available crop-level image data, instead of lot-specific data. These achievements constitute a major milestone in the deployment of this technology for industrial seed sorting by germination fate for multiple crops.
Germination is a major seed quality attribute, as it directly impacts produce yield and quality. It is essentially a composite of two sub-attributes: seed germinability (seed ability to germinate) and seed usability (seed capacity to uphold a vigorous seedling emergence, interchangeably coined germination vigor)1. Seed lots designated for agricultural production are expected to meet certain germination standards, e.g., ≥ 90% usability for premium vegetable seed lots that mark an upper limit qualification standard (personal communication with vegetable seed companies). However, germination within an isogenic seed lot and even amongst sibling seeds is fairly heterogeneous, primarily due to plant innate seed development program that bet-hedges progeny succession by installing seeds with various maturity and dormancy levels2. Seed damaging during seed production, harvesting and post-harvest processing, and sub-optimal storage conditions lead to seed deterioration and dying and to emergence of abnormal seedlings, also contributing to reduction in usable seed portions3.
Seed lots are hence subjected to sampling-based germination quality control prior to selling or sowing4. Lots meeting germination standards are approved for sowing, but lots bearing lower ratios undergo separation processes aiming to raise seed germination to acceptable rates. These processes are based on limited correlations between physical parameters (seed size, weight or color) and seed germination fate, and are exerted by mechanical separators (e.g., gravity tables, liquid density separation systems or sifter machines, segregating seeds by defined seed weight or size, respectively( or optical sorting machines (sorting by size and color criteria)5,6,7,8,9. These processes segregate the seeds by pre-defined parameters and fixed gates and very often they result with insufficient separation. Therefore, in practice, a separation effort is multi-step, comprising different, consecutive separation processes and accompanied by a considerable loss of usable seeds. Recalcitrant lots failing to meet germination rates by the end of the procedure are disqualified or priced low (Personal communication with seed producers). Collectively, these separation procedures are wasteful, time consuming and risky, as they may after all result with flawed seed delivery. On top of that, seed companies are often required to mitigate non-uniform seed usability by applying germination priming, a controlled imbibition process that invigorates aged and dormant seeds, such that primed seeds germinate vigorously and uniformly, at the expense of reduced shelf life (conservatively 6–12 months, as opposed to several years for untreated seeds at proper storage conditions)10. Moreover, the procedure does not expel dead or defective seeds.
Owing to the advancements made in computer vision, artificial intelligence (AI) and computation power, numerous attempts have been made in recent years to streamline seed (and grain) quality determination by developing automated, non-destructive, predictors operating per seed, rather than per statistical sample, for gauging seed quality attributes, such as seed health and safety, physical and genetic purity, chemical composition and germination11,12,13. These prediction tools are based on digital imaging and machine or deep learning, two AI disciplines to extrapolate probabilities based on a priori training of different classifying algorithms (i.e., classifiers) using representation of the sampling space (known as the training set)14. The two learning approaches differ in the algorithms employed and the narrowing of machine learning to particular measurable features. Deep learning utilizes artificial neural network algorithms and does not delimit analysis to specific predefined parameters14. Color imaging (termed RGB for assigning Red, Green and Blue colors per pixel), suitable for collecting morphological data (e.g., color, size, shape and surface texture), was adopted for analyzing physical integrity11,12,13. Given the apparent deficiency of RGB imaging in tracking latent attributes as germination or chemical composition, spectroscopies of invisible wavelengths were employed to visualize seed anatomy (X-ray or magnetic resonance) or to monitor specific seed components (infrared or fluorescence imaging)11,12,13.
Mounted on low-throughput quality control instruments or on high-throughput sorting machines, such optical analytic tools are already applied industrially, making use of RGB-only or multispectral imaging and machine learning analysis to monitor mostly physical uniformity and purity (detection of seed dockage and damaged or irregular seeds), but also fungal contamination and amount of certain seed components (e.g., protein, oil and starch)15,16,17,18. Still, many quality attributes of industrial value, such as genetic makeup, residual toxicity and organoleptic properties (in grains), are not supported by those commercial products. Determination of these attributes depends on experimental, destructive assays run on statistical samples that cannot be leveraged to seed separation in real time. Likewise, there is no commercial optical solution for germination prediction. To qualify seed lots, the seed industry is still entirely dependent on the conventional separation procedures and on seed priming with their acknowledged shortcomings5,6,7,8,9. X-ray radiography coupled with deep learning classification has been industrially adopted in recent years for sorting out incompletely developed or damaged seeds within tomato and pepper seed lots, already undergoing separation and priming procedures, whereas non-primed seed lots do not present the needed discriminative anatomy8. Still, utilization of this sorting process for additional crops is being investigated19,20,21. Infrared or fluorescence imaging paired with machine learning have been sporadically examined across the last two decades for germination prediction of non-primed seeds22,23,24,25,26,27,28,29,30. These trials were designed in low complexity, with only a few seed lots included in each trial, serving merely as a proof of concept. They inclusively demonstrated varying competencies to distinguish between germinating and naturally non-germinating or heat-killed seeds and between vigorous and artificially aged-by-heat non-vigorous germinating seeds in several crops, including carrot, cabbage, castor, corn, Jatropha, melon, radish, soybean, spinach and tomato22,23,24,25,26,27,28,29,30. None of these efforts, however, has ripened to an operational tool, probably due to insufficient efficacy, reproducibility or robustness needed for real application. The high costs of high-resolution spectral detectors may also pose a market entry barrier for such products and inhibit their development31.
Here, we report the development of a viable, universal seed germination prediction tool that is based on deep learning and RGB imaging, contrary to general perception. Compared to the germination enrichment solutions available to date, the tool brings with it a paradigm shift: (i) Instead of following individual separation criteria and rigid gates, it weighs multiple image data parameters at once to produce a bespoke classifier that is based on and optimized for training set particularities, to categorize every seed by flexible, multivariate statistics. (ii) The tool predicts both germinability and usability of every seed inspected, revoking seed priming prerequisite. (iii) The tool is adaptive, with training data refining enabling to improve classifier performance. (iv) The classification model enables to tune output germinability, usability and seed loss rates to assure sorting output meets quality and quantity demands. Respectively, we show that the tool is highly robust, capable of improving germinability and usability rates of multiple, disqualified seed lots to ≥ 90% across a broad crop range and with reasonable seed losses. When adequately trained with a representative assortment of crop-level seeds, it is further able to properly classify new, untrained lots and varieties, differing from the seeds composing the training set in cultivation time and place, and genetics, potentializing seamless application, without recurring training phases. This tool constitutes a solid milestone in the process of developing the very first sorting machine that addresses germination fate per se, with an aim to provide the seed industry with a reliable and consistent solution that outperforms the preparatory procedures applied today with a single sorting event, based on the germinability and usability probabilities of every seed evaluated.
Prediction of seed germination by RGB image analysis is applicable across a broad phylogeny
A straight-forward approach would be prediction of seed germinability and usability by classifiers trained with samples of a composite of lots, as it would both expand the training set with morphological variation that can be beneficial for the training process and circumvent the need for classifier training per lot. Accordingly, forty-seven disqualified seed lots of 12 seed companies, clustered to 29 varieties, pertaining to 7 vegetable crops and ascribed with various, below 90% germinability or usability rates were sampled by hundreds to a few thousands of seeds each (Table S1). Every seed was color imaged and then assayed for germinability (germination onset at an early time point) and usability (seedling vigor at a later time point). Following a stratified train-test split, 90% of the images were clustered based on their respective germination performance to “germinating” or “non-germinating” clusters for germinability and “usable”, “abnormal”, “delayed” or “null germination” clusters for seed usability. These clusters were used to train two classifiers to distinguish between the different germinability or usability performances of all lots. The 10% left out data were used to test the performance of the trained classifiers per lot. Test seeds of each lot were scored with different probabilities to bring about each of the germinability and usability phenotypes and assigned with the most probable one per criterion. Images were then labeled with the actual performances and following the percentile bootstrap method, 10,000 independent output samples were generated. Two measures were extracted per given score threshold for each lot: the recall and the precision. The former indicates “germinating” or “usable” seed recovery rate [True Positives/(True Positives + False Negatives)] and the latter–“germinating” or “usable” seed purity rate [True Positives/(True Positives + False Positives)] amongst the seeds predicted as such. Average Precision (AP), the area under the precision vs. recall curve (Fig. S1A), was extracted per lot, being a general measure of the improvement granted by the prediction model over the baseline rate, that can also be considered as the AP of a null model that does not discriminate between the seeds. Two complementing score thresholds were further selected for each lot: one resulting with 90% precision (i.e., 90% germinability or usability) and another leading to 80% recall (up to 20% loss of germinating or usable seeds). 90% precision was selected as it matches the highest germination standards applied in the seed industry today, for premium vegetable seeds. 80% recall was set based on our appreciation that 20% seed loss is the upper acceptance limit for premium vegetable seed lots during seed separation (personal communication with vegetable seed companies). Classification merit to reach or approximate 90% precision while retaining at least 80% recall was assessed by the reciprocal recall and precision values. Mean values, based on the 10,000 bootstrap sampling iterations, are reported with their standard deviation and 95% CI at Table S1. The entire process is illustrated in Fig. 1.
The APs across 79 (32 germinability and 47 usability) classifications were increased compared to the baseline rate by 1.27 ± 0.20 fold, with a mean value of 0.91 ± 0.06. Per lot, germinability and usability predictions yielded similar APs (1.00–1.09 fold-change), except for lots 2760, 2793 and 2799 that produced 1.15, 1.22 and 1.23 germinability over usability fold-change, respectively. Lot 2799, in particular, had a satisfactory basal germinability rate of 94% but a basal usability rate of 79%, reflecting the difference between these two facets of germination. All classifications achieved 90% precision. Using the usability prediction model, three tomato seed lots of distinct varieties—2603, 2604 and 2716—were sorted and then sown and phenotyped after 7 and 14 days, demonstrating 33%, 17% and 22% germinability and 33%, 22% and 22% usability rate improvements, respectively (Fig. 2). Recall at 90% precision was found less congruent per lot than AP, with 22% (7 of 32) lots showing superior germinability prediction (1.24–24.43 fold-change), 56% (18 of 32) lots presenting similar values for germinability and usability (1.00–1.09 fold-change) and 22% (7 of 32) having greater usability recall (1.12–7.55 fold-change). The remaining 15 lots were only phenotyped for seed usability. Inferior usability prediction probably resulted from insufficient representation of non-usable phenotypes in the training set. Inferior germinability prediction was brought about by premature germination census that missed germinating seeds, as all these varieties had basal usability rate higher than basal germination rate. Germinability and usability models generated 74% ± 28% and 67% ± 31% recalls at 90% precision, respectively. 56% (18 of 32) of germinability predictions and 47% (22 of 47) of usability predictions (51% in total) yielded ≥ 80% recall at 90% precision and all but one having precisely 80% recall were further amenable for precision improvement beyond 90% by reducing the recall to 80%. These predictions account for different lots of the Solanaceae tomato (16 lots, 10 varieties) and pepper (7 lots, 5 varieties), the cucurbit watermelon (1 lot) and the cruciferous cabbage (1 lot) and cauliflower (1 lot). Tomato and pepper are the only crops represented by multiple seed companies. 5 of 6 companies representing tomato and 4 of 6 companies representing pepper, and a total of 9 of the 12 companies involved in this study, produced lots that met the ≥ 80% recall criterion, indicating the ability of the methodology to cope with different breeding programs and different production pipelines. 24% (19 of 79) and 25% (20 of 79) of the classifications provided moderate (50%-80%) to low (< 50%) recalls at 90% precision, respectively. These recalls are associated with lots of varieties already reaching ≥ 80% recall, other varieties of the same crops and two more crops: the herb celery and the monocot geophyte onion. The fact that different varieties of the same crop and especially different lots of the same variety (varieties 4, 5, 15, 16, 24, 25 and 26) presented different classification performances illustrates the high level of heterogeneity embedded in seed morphology between and within varieties (Fig. 3), affected not only by genetics, but also by external factors across the production pipeline (plant growth, seed harvesting, processing and storage). Although deemed unsatisfactory due to insufficient recall, prediction performance for these lots may be improved by enriching the training sets with higher representation of seeds from these lots that will afford better covering of their seed variance and underpinning of the differences between their phenotypic groups.
Altogether, the results demonstrate the applicability of this inclusive approach to sift seed lots and set ≥ 90% seed germinability or usability across a broad vegetable range, encompassing monocots and various dicots. With more than half of the experimented predictions meeting the ≥ 80% recall criterion, classifier training with seeds sampled from a composite of crops, varieties and lots was a viable approach, but evidently, training set composition was inadequate for all use-cases. Plausibly, better representation of some seed morphologies can be achieved not only by collecting more data directly from the challenging lots but also by incorporating data from other, analogous lots. The possibility of replacing data production with already available, compensatory data is especially intriguing as ad hoc data production may be demanding and throughput-limiting in some industrial settings.
Training set expansion with crop-level data counteracts reduction in ad hoc data production
We premised data production per unmet lot might be reduced or even replaced by a training set comprising data from analogous lots that would represent satisfactory seed level diversity. Accordingly, the more relevant data incorporated the more precise seed representation becomes up to a point where standardized and streamlined classification is achieved per variety, per crop and, possibly, beyond those, without ad hoc data production. To test this, we focused on tomato, the most diverse crop in our seed collection, represented by 26 lots and 14 varieties from 6 different seed companies (Table S1). First, an all-versus-all image-based similarity matrix (Table S2) was generated and 6 lots across the matrix, representing different similarity groups, were assigned as test lots. They were composed of recurrent (1837, 2509, 2603, 2717, 2815) or unique (3012) varieties, compared to the remaining 20 lots, and similarly divided between two seed companies. The remaining 20 lots constructed four Training Sets (TS1-4), representing gradual data diversification, generated using image and phenotypic data of 6, 10, 16 and 20 tomato seed lots of 6, 9, 11 and 13 distinct tomato varieties, respectively, in an additive manner (Table S3). TS1-4 were assembled based on similarity to the test lots, starting with the most dissimilar lots at TS1 (similarity score cutoff: ≤ 0.86) and incorporating increasingly similar lots along TS2-4 (TS2 ≤ 0.9; TS3 ≤ 0.96; TS4 ≤ 1.0), imitating data accumulation scenario up to redundancy (Table S2). Noteworthy, lots 2509, 2603 and 2717 were found equally or more similar to genetically disparate lots than to genetically identical lots, demonstrating, again, the gravity of environmental influences on seed shape. The six test lots were subjected to 19 independent usability predictions, based on a training matrix composed of TS0-4 (“TS0”—where no auxiliary usability data were used) and 0, 600, 1000 or 1400 images of the given test lot that were split in a stratified fashion to properly represent the different usability phenotypes and not included in the test sets. Of 20 possible combinations, all but ‘TS0 and 0 lot-specific images’ (i.e., no usability training data) were examined. AP, ‘recall at 90% precision’ and ‘precision at 80% recall’ measures were extracted per prediction model and all measures collectively reflected the changes, brought about by expanding auxiliary (TSs) and/or lot-specific data (Table S4).
Ideally, changes were expected to follow a saturation model or parts of it, under the premise that the more data the better until saturation is attained. In practice, additional incoherent patterns were obtained, involving occasional declines in prediction performance (Fig. 4A). Those may be attributed to patchy representation of the actual test set diversity in the training sets, across both TS1-4 and the 6 lot-specific image data, that led to imbalanced training set expansion, model overfitting to nuances and to suboptimal model performance. The stochastic progress of the training process may have also contributed to mild declines between adjacent training sets and explain, for instance, lot 1837 classification dynamics. Still, the training matrix enabled us to evaluate auxiliary data impact on prediction performance. Training by extensive lot-specific data (1000 and 1400 images) alone outperformed training by auxiliary data alone in four lots (2509, 2717, 2815, 3012). In lot 2603 the auxiliary data outcompeted the specific data and in lot 1837—performances were equivalent. Composites of both auxiliary and lot-specific data generated the best performances in all lots but 2815, where best performance was obtained with 1400 lot-specific images and incorporation of auxiliary data had a detrimental effect. Noteworthy, composites of TS3 or TS4 with 600 or 1000 images of lot 2815 were superior to the image data alone. Comparing performances attained with the tomato-specific training set (Table S4) and the ones produced with the global training set (Table S1), the former yielded for all six test lots predictions similar to those attained with the baseline usability models, but with far less (2509, 2717, 2815) to none (1837, 2603, 3012) lot-specific data, which were unable by themselves to reproduce those performances (Fig. 4B). Specific data of 2509 and 3012 (600 images, supporting TS2 and TS1, respectively) led to superior predictions by the tomato-specific model, notably 0.66 ± 0.07 to 0.72 ± 0.07 and 0.96 ± 0.03 to 0.98 ± 0.01 ‘recall at 90% usability’ improvements, in spite of 2.8- and 4.3-fold more data utilized by the baseline model, respectively. Taken together, these observations illustrate the advantage of the tomato-specific auxiliary data over the global training set not only in replacing specific data but also in improving classification.
A closer look into the predictions generated by the auxiliary TSs show that lots 1837, 2603 and 3012 were assigned with ≥ 80% recall at 90% usability already with the rudimentary auxiliary training set (TS1 with 0 images of those lots), composed of the most dissimilar seed lots (Table S2). More expanded TSs improved prediction performance (TS4 for 3012) or even exceeded the prediction performance of the model relying on training by extensive lot-specific data (TS3 for 2603). As already noted, the variety of lot 3012 was not represented in TS1-4, hence its usability prediction was entirely dependent on other varieties. When 600 images of 3012 were added to TS4, a 0.95 ± 0.03 to 0.98 ± 0.01 ‘recall at 90% precision’ improvement was achieved and was not met by the 600 images alone. Lots 1837 and 2603 already presented superb classification performance without specific data (1837—0.97, 1.00 and 2603—0.99, 0.98 AP and recall, respectively) and addition of which or data of more similar seeds in expanded TSs did not improve classification. With the auxiliary data alone, the remaining lots 2509, 2717 and 2815 did not reach 80% recall at 90% usability and their classification performances were inferior to the ones generated with 1000 and 1400 lot images. Evidently, the high similarity between lot 2509 and TS3-4 lots 2505, 2519, 2605 and the isogenic 2914 (Table S2) did not counterbalance 2509 data dismissal. Classification of lot 2815 was practically indifferent to the auxiliary data alone, producing only marginal recalls through TS1-4, although the genetically identical—but visually dissimilar (Table S2)—lot 2605 had been included in TS4 and 11 more lots (5 varieties) coming from the same seed company had been embedded in TS2-3. Introducing specific data drove performance improvement: TS4 and 1400 images of lot 2509 and TS2 and 1400 images of lot 2717 supported the best outputs for these lots. Auxiliary training set failed to meet the performance produced by 1400 images of lot 2815 alone, but combined with 600 and 1000 images, TS1, TS3 and TS4 led to improved classification.
Overall, these results support our premise that training set expansion with data coming from other lots and varieties of different companies can be used to reduce and, in some cases, replace specific data production for new lots and even for unmet varieties (i.e., lot 2603), while retaining or even improving classification performance. This exercise further pinpoints that training set expansion should be fine-tuned cautiously rather than inflated in an unrestrained manner, as unbalanced representation of the diversity is inevitable, and, as shown, may lead to a decrease in classification performance. Further, lot 2815 demonstrates that some lots may be more challenging than others to be represented by other lots, due to external impacts.
The industrialized agriculture of the 21st-century is still being challenged by seed germination1,3. With only partial solutions available to date to determine seed germination fate5,6,7,8,9, the seed industry has been settling on sub-optimal germination standards, culminating to ≥ 90% in the case of premium vegetable seeds that are expected to attain superior performances. This translates to severe resource waste and yield loss, in an era where beyond financial considerations, the cruciality of sustainability and food security are well-recognized32. Our proposed methodology to employ optics for efficient and non-detrimental seed germination prediction proceeds earlier attempts, but contrary to those, ours utilizes color imaging and neural network classification. We employed it to robustly enrich seed germinability and usability, two different aspects of germination, to ≥ 90% precision, in a cohort of 7 different crops, spread across a broad phylogeny and represented by at least two lots (Table S1), bred and produced by 12 different companies. This new capability is expected, once installed on a seed sorter, to enable seed companies for the first time to segregate seeds of multiple crops based on their germination potential in high-fidelity, in a single separation process and without compulsory seed priming, and that way both streamline seed germination enrichment process and render lots that with contemporary separation techniques would have failed enrichment attempts, such as the lots used in this study, industrially appropriate. Unfortunately, we know only for a minority of the lots the basis for mal-germination (data courteously provided by the seed producing companies), which was either genetics (lots 3012 and 3013), production (lots 2982 and 2983) or extended storage (2509). Those lots cover the possible circumstances leading to mal-germination and classification of which met the ≥ 90% precision and ≥ 80% recall criteria, demonstrating method competence to cope with different grounds for mal-germination.
Precision and recall are in tradeoff and therefore, retaining satisfactory recall and precision requires very accurate classification (Fig. S1). In real practice, precision and recall can be easily modulated, based on the prediction model, to provide a sorted fraction that meets seed company quantity and quality demands (Fig. S1B). In our case-study, ≥ 90% precision and ≥ 80% recall were given specific attention, being stringent qualification criteria, applied on premium vegetable seed lots. 51% (40 of 79) of the classifications relying on the global training set (Table S1) and 71% (68 of 96) of the classifications of tomato lots utilizing tomato-specific training sets (Table S4) met the ≥ 90% precision and ≥ 80% recall criteria, demonstrating that those standards are achievable with this methodology at least for 5 (tomato, pepper, watermelon, cabbage and cauliflower) of the 7 experimented crops. Classifications not reaching those standards presumably derived from intra-lot heterogeneity that was not covered well-enough by the training sets. Conspicuously, lots of all 7 crops (with the addition of celery and onion), part of which of varieties that already met the precision and recall criteria, failed to meet them and exhibited the magnitude of external influences on seed variance, in a manner that was not limited to a given crop or variety. This motivated us to experiment in tomato the impact of training set enrichment with relevant data, from the same lot (with increasing numbers of images) and from related ones, of the same variety or of other varieties of the same crop (TS1-4) (Fig. 4). The results demonstrated the usefulness of auxiliary data not only to salvage lots, but also to reduce data production.
Classification of lot 3012 that experienced poor basal usability due to variety genetics relied on image data of genetically disparate seeds. This implies that different pathways leading to mal-germination converge into a consistent morphological footprint, making them comparable and eligible for cross-training. We postulate that such crop-specific training set diversification would similarly enable us to mitigate classification in celery and onion, two crops that were represented by only 2 lots of a single variety each and were not meeting the ≥ 80% criterion, and, in a broader sense, facilitate satisfactory germination prediction in crops not included in this study. Congruence between seed data of taxonomic hierarchies higher than crop species may also be considered, but this is beyond the scope of this work.
In this study we challenged our classification method to meet the highest industry germination standards. It is only to be expected that this methodology would ultimately enable us to set new, improved standards, by reaching higher precision and recall across multiple lots. This work further shows that beyond conventional physical uniformity analysis, RGB data can be exploited to elucidate seed germination fate by adopting high-end artificial neural network analytics. Contrary to spectroscopy methods that are based on optical properties of particular chemical entities, e.g., germination prediction by measuring seed chlorophyll levels22,28, whose levels and association to the attribute in question may vary between crops, or to X-ray radiography that cannot be applied on any structure and therefore in the context of germination is applicable on primed seeds8, this method utilizes morphological data not limited by any defined physicochemical characteristics, making it a priori eligible for any seed of any crop. It remains to be determined which attributes additional to germination may be credibly classified with this data type, supported by the proper analytics.
Forty-seven samples of uncoated, processed seed lots of Cabbage, Cauliflower, Celery, Onion, Pepper, Tomato and Watermelon were received from 12 different seed companies (Table S1). They were kept until further use under cool and dry conditions and used in compliance with relevant national or international guidelines.
Seed imaging, sowing and phenotyping of seed germinability and usability
Seeds were captured in high color resolution by Seed-X “GeNee Detect” platform (https://www.seed-x.com/product/detect/) as follows: First, seeds were positioned in an orderly fashion on GeNee Detect trays. Due to different seed size and color per crop, seeds of different crops were placed on different trays, as illustrated in Table 1.
Loaded trays were fed into GeNee Detect imaging chamber and captured by an IDS UI-3884LE-C-HQ-AF 6.41 Mpix RGB camera. Imaged seeds were sown on standard garden soil trays, while keeping seed order and covered with Vermiculite 2–3 mm. Trays were incubated in the dark for 2–3 days and then transferred to the greenhouse. Two germination censuses were conducted (Table 2). The first time point monitored timely germinability and the phenotypes collected were germinating or non-germinating seed. The second time point monitored seed usability and the phenotypes collected were of usable, abnormal, delayed, or null germination.
Imaged seeds were detected using global thresholding and connected component algorithm. The detected area of interest was cropped into a fixed size of 700X700 pixels.
Germination classification by DCNN
Seed-X GeNee technology uses DCNNs14. The backbone architecture “SeedNet” is based on Inception33, trained on Seed-X proprietary database of millions of seed images, reflecting multiple crops, genetic backgrounds and seed production pipelines. A cross entropy loss34 is used to classify the different lines. The training process uses industry standard method of stochastic gradient descent (SGD)35 with learning rate of 0.01 and momentum of 0.9 to create pretrained weights. Other configurations and hyperparameters were tested but, ultimately, these hyperparameters were selected, as they provided the best performing weights across several different classification tasks based on accuracy. “SeedNet” contains a good seed representation thanks to the seed database size and diversity, and constitutes an optimized transfer learning25 starting point for general seed classification tasks.
For each specific germination dataset the basic architecture backbone was fine-tuned using transfer learning36 from the pretrained “SeedNet”. The training dataset was randomly split into training (90%) and test (10%). The training was performed using TensorFlow37. The optimization process used SGD, with an initial learning rate of 0.01 and a momentum of 0.9, using a cross-entropy loss function. Standard ImageNet augmentations38 were used during training.
Model performance was evaluated using precision, recall and average precision measures. All values were reported with their 95% Confidence Intervals (CI), calculated by the percentile bootstrap method with 10,000 independent experiments39. For each seed image, a compressed representation was extracted from the trained neural network by seed embedding40. Using these analytical seed representations and averaged representations, distances between specific seeds and between lots were measured by the cosine similarity distance calculation method41. The distance matrix (Fig. 3C, Table S2) presents distance between lots. The representations were further reduced to lower dimensions using T-SNE42 for 2D scatter plotting (Figs. 1 and 3A). The bubble plot (Fig. 3B) was produced using seed representations, by creating for each lot a bubble positioned by its averaged representation with a radius relative to its variance.
Finch-Savage, W. E. & Bassel, G. W. Seed vigour and crop establishment: extending performance beyond adaptation. J. Exp. Bot. 67, 567–591 (2016).
Penfield, S. Seed dormancy and germination. Curr. Biol. 27, 874–878 (2017).
Kameswara, R. N., Dulloo, M. E. & Engels, J. M. M. A review of factors that influence the production of quality seed for long-term conservation in genebanks. Genet. Resour. Crop Evol. 64, 1061–1074 (2017).
Marcos Filho, J. Seed vigor testing: an overview of the past, present and future perspective. Sci. Agric. 72, 363–374 (2015).
George, R.A.T. Harvesting and Processing. in Vegetable Seed Production (ed. George, R.A.T.) 75–90 (CABI, 2013).
Agnieszka, R. & Holubowicz, R. Effect of Pansy (Viola x wittrockiana gams) seeds colour and size on their germination. Not. Bot. Hort. Agrobot. Cluj 36, 47–50 (2008).
Kaliniewicz, Z. et al. Analysis of the physical properties of spindle seeds for seed sorting operations. Sci. Rep. 11, 13625 (2021).
Dell’Aquila, A. Development of novel techniques in conditioning, testing and sorting seed physiological quality. Seed Sci. Technol. 37, 608–624 (2009).
Dell’Aquila, A. Digital imaging information technology applied to seed germination testing. A review. Agron. Sustain. Dev. 29, 213–221 (2009).
Rao, M.J. et al. Effect of Seed Priming on Seed Dormancy and Vigor. in Priming and Pretreatment of Seeds and Seedlings (eds. Hasanuzzaman, M. & Fotopoulos, V.) 135–146 (Springer, 2019).
Boelt, B. et al. Multispectral imaging–a new tool in seed quality assessment?. Seed Sci. Res. 28, 222–228 (2018).
Xia, Y., Xu, Y., Li, J., Zhang, C. & Fan, S. Recent advances in emerging techniques for non-destructive detection of seed viability: a review. Artif. Intell. Agric. 1, 35–47 (2019).
ElMasry, G., Mandour, N., Al-Rejaie, S., Belin, E. & Rousseau, D. Recent applications of multispectral imaging in seed phenotyping and quality monitoring—an overview. Sensors 19, 1090 (2019).
LeCun, Y., Bengio, Y. & Hinton, G. Deep learning. Nature 521, 436–444 (2015).
Kautzman, M. E., Wickstrom, M. L. & Scott, T. A. The use of near infrared transmittance kernel sorting technology to salvage high quality grain from grain downgraded due to Fusarium damage. Anim. Nutr. 1, 41–46 (2015).
Sairi, S.A.M. & Mustaffha, S. Comparative study of three rice brands' quality through measuring broken rice percentage using Sortex A ColorVision (Buhler) Optical Sorters. in International Conference of Sustainability Agriculture and Biosystem (IOP Publishing, West Sumatera, Indonesia, 2020) 012017.
Pascale, M. et al. Aflatoxin reduction in maize by industrial-scale cleaning solutions. Toxins 12, 331 (2020).
Davis, B. I. et al. Measurements of high oleic purity in peanut lots using rapid, single kernel near-infrared reflectance spectroscopy. J. Am. Oil Chem. Soc. 98, 621–632 (2021).
Bruggink, H. & Van Duijn, B. X-ray based seed analysis. Seed Test. Int. 153, 45–50 (2017).
Ahmed, M. R. et al. Classification of watermelon seeds using morphological patterns of X-ray imaging: a comparison of conventional machine learning and deep learning. Sensors 20, 6753 (2020).
de Medeiros, A.D. et al. Deep learning-based approach using X-ray images for classifying Crambe abyssinica seed quality. Ind. Crops Prod. 164, 113378 (2021).
Jalink, H., Van der Schoor, R., Frandas, A., Van Pijlen, J. & Bino, R. Chlorophyll fluorescence of Brassica oleracea seeds as a non-destructive marker for seed maturity and seed performance. Seed Sci. Res. 8, 437–443 (2008).
Shetty, N., Olesen, M. H., Gislum, R., Deleuran, L. C. & Boelt, B. Use of partial least squares discriminant analysis on visible-near infrared multispectral image data to examine germination ability and germ length in spinach seeds. J. Chemom. 26, 462–466 (2012).
Jia, S. et al. Feasibility of analyzing frost-damaged and non-viable maize kernels based on near infrared spectroscopy and chemometrics. J. Cereal Sci. 69, 145–150 (2016).
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. Actuat. B Chem. 229, 534–544 (2016).
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. 142, 348–355 (2017).
Wakholi, C. et al. Rapid assessment of corn seed viability using short wave infrared line-scan hyperspectral imaging and chemometrics. Sens. Actuat. B Chem. 255, 498–507 (2018).
Galletti, P.A. et al. Integrating optical imaging tools for rapid and non-invasive characterization of seed quality: Tomato (Solanum lycopersicum L.) and carrot (Daucus carota L.) as study cases. Front. Plant Sci. 11, 577851 (2020).
de Medeiros, A. D. et al. Interactive machine learning for soybean seed and seedling quality classification. Sci. Rep. 10, 11267 (2020).
Bianchini, V. D. M. et al. Multispectral and X-ray images for characterization of Jatropha curcas L. seed quality. Plant Methods 17, 9 (2021).
Kleynhans, T., Messinger, D. W., Easton, R. L. Jr. & Delaney, J. K. Low-cost multispectral system design for pigment analysis in works of art. Sensors 21, 5138 (2021).
Vågsholm, I., Arzoomand, N. S. & Boqvist, S. Food security, safety, and sustainability—getting the trade-offs right. Front. Sustain. Food Syst. 4, 16 (2020).
Szegedy, C. et al. Going deeper with convolutions. in IEEE Conference on Computer Vision and Pattern Recognition (IEEE, Boston, MA, USA, 2015) 1–9.
Zhang, Z. & Sabuncu, M.R. Generalized cross entropy loss for training deep neural networks with noisy labels. in 32nd Conference on Neural Information Processing Systems (NIPS, Montréal, Canada, 2018) 8792–8802.
Bottou, L. & Bousquet, O. The tradeoffs of large scale learning. in Optimization for Machine Learning (eds. Sra, S., Nowozin, S. & Wright, S.) 351–368 (MIT Press, 2012).
Torrey, L. & Shavlik, J. Transfer learning in Handbook of Research on Machine Learning Applications (eds. Soria, E., Martin, J., Magdalena, R., Martinez, M. & Serrano, A.) 242–264 (IGI Global, 2009).
Abadi, M. et al. Tensorflow: a system for large-scale machine learning. In 12th USENIX Symposium on Operating Systems Design and Implementation (USENIX, Savannah, GA, USA) 265–283..
Krizhevsky, A., Sutskever, I. & Hinton, G. E. ImageNet classification with deep convolutional neural networks. Commun. ACM. 60, 84–90 (2017).
Efron , B. Bootstrap Methods: Another look at the Jackknife. in Breakthroughs in Statistics (eds. Kotz, S. & Johnson, N.L.) 569–593 (Springer, 1992).
Huang , P., Huang, Y., Wang, W. & Wang, L. Deep embedding network for clustering. in 22nd International Conference on Pattern Recognition (ICPR, Stockholm, Sweden, 2014) 1532–1537.
Nguyen, H.V. & Bai, L. Cosine similarity metric learning for face verification. in Asian Conference on Computer Vision (Springer, Heidelberg, Germany, 2011) 709–720.
van der Maaten, L. & Hinton, G. Visualizing data using t-SNE. J. Mach. Learn. Res. 9, 2579–2605 (2008).
All authors are employed by Seed-X LTD, a commercial company that develops proprietary seed and grain quality prediction solutions. The authors declare no personal competing interests.
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Nehoshtan, Y., Carmon, E., Yaniv, O. et al. Robust seed germination prediction using deep learning and RGB image data. Sci Rep 11, 22030 (2021). https://doi.org/10.1038/s41598-021-01712-6
This article is cited by
By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.