Integrating machine learning, deep learning, and image analysis for seed species classification
Related Experiment Video
Updated: Nov 2, 2026

Computer Vision-Based Biomass Estimation for Invasive Plants
Published on: February 9, 2024
Jonathan Ashworth1, Eloise Barrett1, Rebonto Haque1
1Earlham Institute Norwich Research Park Norwich NR4 7UZ United Kingdom.
Premise:
The growing demand for wildflower seeds in ecological restoration requires reliable species identification, yet current market products often contain heterogeneous species. As seed identification is labor-intensive and requires advanced botanical knowledge, we evaluated multiple segmentation and classification approaches to determine which combination performed better for identifying species and quantifying their frequencies under real-life constraints.
Methods:
We generated seed images from common wildflower species using a flatbed scanner. Artificial intelligence (AI) and non-AI segmentation pipelines were compared. We evaluated over 20 classifiers on tabulated features and convolutional neural networks (CNNs) on single seed image inputs. Open-set conditions were simulated using "mock seed mixes" with previously unseen taxa using decision thresholds.
Results:
With tabulated data, the XGBoost and Multi-layer Perceptron (MLP) models exceeded F1 > 0.96, while AutoGluon's CNN and ensemble models reached F1 > 0.97. ResNet-50 achieved an F1 score over 0.99 on single-seed images obtained with Cellpose segmentation. Random forest achieved the highest accuracy (0.92) with unseen species in open-set classification.
Discussion:
Deep learning segmentation substantially enhanced CNN accuracy, yet tabulated-feature machine learning models remained competitive and efficient. Threshold-based rejection enabled robust open-set classification, with random forest outperforming deeper models in rejecting unseen seeds. No single method was universally optimal; the best strategy depends on whether the task involves closed-set or open-set classification and on trade-offs between accuracy and computational cost.