BerryBox: An affordable computer vision system for postharvest phenotyping of cranberry and other small fruits
Jeffrey L. Neyhart, Collins Wakholi, Devin A. Rippner, John H. Price, Kayla R. Altendorf, Garett C. Heineck, Juan Zalapa, Jenyne Loarca, Gina M. SideliAbstract
Fruit size, shape, color, and percent fruit rot are important quality traits for breeding cranberry ( Vaccinium macrocarpon Ait.). Image analysis can be used to measure these traits, but affordable hardware for standardized image capture and integrated user‐friendly software pipelines are lacking. Additionally, no image‐based method exists to estimate percent fruit rot, an otherwise tediously and subjectively measured trait. We created the BerryBox, a simple and inexpensive lightbox, camera mount, and accompanying software pipeline to standardize the capture and analysis of postharvest fruit images. Trained deep neural network models were highly accurate for segmenting sound fruit (F1 score: 99.4%) and detecting rotten fruit (F1 score: 98.5%). We applied the BerryBox to images of cranberries harvested across 3 years from a 156‐clone breeding population. Narrow‐sense heritability estimates of image‐based fruit color, shape, size, and percent fruit rot ranged from 0.37 to 0.95. Random subsampling showed that 25–30 berries per genotype were sufficient to describe the variation in the full dataset. We demonstrated the utility of BerryBox traits in a small‐scale genetic linkage mapping analysis, detecting significant marker–trait associations that coincided with those of traditionally measured traits. The BerryBox software was able to accurately segment fruit from images of blueberries without model retraining, showing its applicability to other similarly shaped fruits. The software pipeline and BerryBox materials and assembly instructions are publicly available for others to adopt for low‐cost image‐based phenotyping.