BerryPortraits (Phenotyping of Ripening Traits) is open source Python-based image-analysis software that rapidly detects and segments berriesand extracts morphometric data on fruit quality traits such as berry color, size, shape, and uniformity. Utilizing the YOLOv8 framework and community-developed, actively-maintained Python libraries such as OpenCV, BerryPortraits software was trained on 512 postharvest images (taken under controlled lighting conditions) of phenotypically diverse cranberry populations (Vaccinium macrocarpon Ait.) from the two largest public cranberry breeding programs in the U.S. The implementation of CIELAB, an intuitive and perceptually uniform color space, enables differentiation between berry color and berry brightness, which are confounded in classic RGB color channel measurements. Furthermore, computer vision enables precise and quantifiable color phenotyping, thus facilitating inclusion of researchers and data analysts with color vision deficiency. BerryPortraits is a phenotyping tool for researchers in plant breeding, plant genetics, horticulture, food science, plant physiology, plant pathology, and related fields. BerryPortraits has strong potential applications for other specialty crops such as blueberry, lingonberry, caneberry, grape, and more. As an open source phenotyping tool based on widely-used python libraries, BerryPortraits allows anyone to use, fork, modify, optimize, and embed this software into other tools or pipelines.
Read full abstract