This pipeline combined object detection (YOLO) with traditional image pixel analysis to identify and quantify hollow area within each alfalfa stem at the pixel level.