Abstract:It was designed to clarify the mechanical behaviour and crack propagation mechanisms of deep-ridged walnuts under compression shell-breaking, and improve kernel integrity rate by directly observing and quantifying crack evolution. A dual-view synchronous high-speed imaging platform integrating force-displacement acquisition was constructed, and a pixel-level crack segmentation pipeline based on YOLO v8m-seg was developed. In comparison with YOLO v8n-seg and YOLO 11n-seg, the proposed model was found to achieve a precision of 86.3% and an mAP50 of 82.3% for the crack class. An annotated dataset comprising 3,600 pairs of front- and back-view images was established, and an imaging magnification calibration coefficient was introduced to unify crack measurements between the two views;on this basis, total crack number, total crack area ratio, and crack quadrant count were defined as three reproducible crack descriptors to describe the spatiotemporal evolution of cracks. A two-factor full factorial design was adopted, with equivalent diameter (30~42 mm, six levels) and compression direction (transverse, ridge, longitudinal) as independent variables, and compression strokes were set to 6,7,8 mm according to walnut size. Two-way ANOVA results showed that equivalent diameter and compression direction had highly significant effects (p≤0.01) on mechanical response, crack features, and kernel integrity rate. Typical force-displacement curves were observed to be divided into three stages, consisting of an elastic rising stage, a stage in which primary cracks were initiated and were accompanied by a sharp force drop, and a subsequent stage of stable crack growth. For all test groups, the maximum compression force was found to range from 190 N to 280 N and the total work was found to range from 620 J to 1,000 J;transverse compression was associated with lower energy and more stable shell opening than the other directions. During mid-stage loading, the crack number was observed to reach 4~7 and then to merge into 2~3 cracks toward the end of compression, while the final crack area ratio was found to stabilize at 10%~20%. When the crack area ratio reached a peak of 29% and then was reduced to 18% as compression progressed, this range was shown to coincide with the best kernel integrity rate performance. Walnuts with an equivalent diameter of 34~36 mm compressed along the transverse direction were demonstrated to perform best, combining lower energy consumption, a stable shell-breaking mode, and a maximum kernel integrity rate of 73%. The proposed vision-based segmentation framework and crack descriptors were shown to provide an effective basis for in-situ fracture analysis of biological shells under load and to offer practical guidance for the design and optimization of low-damage, controllable shell-breaking equipment.