The length of sweet potato seedling main stems is critical for harvest decisions, but accurately measuring it is challenging due to leaf occlusion and self-curvature. This study proposes a method for stem reconstruction and length estimation using a two-stage classifier, feature extraction, and semantic segmentation to obtain stem masks. Image processing separates clustered skeletons into singular lines for detailed analysis. Object detection identifies roots, stem-leaf intersections, and establishes a search relationship among segments. Stems are reconstructed based on directional, distance, and curvature constraints, then divided into four parts for length estimation using stereo depth information. Experimental results demonstrate effectiveness under various conditions: un-occluded, partially occluded, curved stems, and low-density clusters. Median length estimation error is 1.7 cm, with maximum and minimum errors of 3.2 cm and 0.3 cm respectively. This automated method provides a reliable solution for sweet potato seedling harvest and grading.
Read full abstract