“…To overcome these limitations, many groups turned to machine learning algorithms, typically some kind of convolutional neural network (CNN), which can categorize individual pixels as members of discrete classes (Ott et al, 2020; Weaver et al, 2020; Younis et al, 2020; Triki et al, 2020, 2021; Goëau et al, 2020, 2022; Guo et al, 2021; Love et al, 2021; Hussein et al, 2021b; Gu et al, 2022; Ott and Lautenschlager, 2022; Milleville et al, 2023). For the task of isolating and measuring individual leaves, semantic segmentation algorithms still lack the power to resolve complex situations (e.g., overlapping leaves) because they produce one mask that contains all leaf pixels and require postprocessing to obtain usable results (Weaver et al, 2020; Hussein et al, 2021b, 2022). Instance segmentation algorithms improve on this as they can directly isolate a single leaf from nearby leaves (Guo et al, 2021; Triki et al, 2021).…”