Skip to content

Individual-plant snap bean yield estimation from smartphone RGB images under agrivoltaic shading using canopy traits and frozen DINOv2 embeddings

Justin Jinchuan Zheng, Hansheng Liu, Marcus Wu, Haotian Li, Anna Stuhlmacher, Ana Dyreson, Joshua M. Pearce

cs.CV

Abstract

Image-based yield estimation for individual plants often relies on costly sensors or visible fruit. This study tested whether repeated smartphone images can estimate seasonal harvested pod mass of individual snap bean (Phaseolus vulgaris) plants without detecting pods or fine-tuning vision models. Thirty potted plants in five rows spanning three shading treatments at a single-axis tracking agrivoltaic testbed were photographed from oblique and side views three times weekly over 66 days. Pots were detected with Mask R-CNN and plants were localized with Grounding DINO and segmented with the Segment Anything Model. Processing took approximately 16 s per photograph on a laptop CPU. Predictions from an ordinary least-squares model using oblique-view canopy area and side-view greenness were averaged with those from a ridge regression on principal components of frozen DINOv2 embeddings. The combined model reached r = 0.84 and RMSE = 10.8g under leave-one-plant-out cross-validation and r = 0.83 and RMSE = 11.3g under leave-one-row-out cross-validation, compared with training-mean baselines of 20.5 and 21.4 g, respectively. The corresponding RMSEs were approximately 44% and 46% of the mean seasonal harvested pod mass (24.34g per plant). Averaging reduced RMSE by 0.2-0.7g relative to the better individual model. The largest errors came from overlapping canopies, background vegetation within masks, and early plant mortality. The results show that low-cost imaging with off-the-shelf vision foundation models can be used to estimate individual-plant yield in pot-based trials such as agrivoltaic shading studies, but future work is needed across other crops, seasons and sites to reduce RMSE.

Create a lesson

Metadata

Comments
31 pages, 4 figures. Justin Jinchuan Zheng and Hansheng Liu contributed equally