ABSTRACT: The stem-related phenotype of mature stage soybean is important in soybean material selection. How to improve on traditional manual methods and obtain the stem-related phenotype of soybean more quickly and accurately is a problem faced by producers. With the development of smart agriculture, many scientists have explored soybean phenotypes and proposed new acquisition methods, but soybean mature stem-related phenotype studies are relatively scarce. In this study, we used a deep learning method within the convolutional neural network to detect mature soybean stem nodes and identified soybean structural features through a novel directed search algorithm. We subsequently obtained the pitch number, internodal length, branch number, branching angle, plant type spatial conformation, plant height, main stem length, and new phenotype-stem curvature. After 300 epochs, we compared the recognition results of various detection algorithms to select the best. Among them, YOLOX had a maximum average accuracy (mAP) of 94.36% for soybean stem nodes and scale markers. Through comparison of the phenotypic information extracted by the directed search algorithm with the manual measurement results, we obtained the Pearson correlation coefficients, R, of plant height, pitch number, internodal length, main stem length, stem curvature, and branching angle, which were 0.9904, 0.9853, 0.9861, 0.9925, 0.9084, and 0.9391, respectively. These results show that our algorithm can be used for robust measurements and counting of soybean phenotype information, which can reduce labor intensity, improve efficiency, and accelerate soybean breeding.