Abstract

Cannabis (Cannabis sativa L.) is cultivated by licensed producers in Canada for medicinal and recreational uses. The recent legalization of this plant in 2018 has resulted in rapid expansion of the industry, with greenhouse production representing the most common method of cultivation. Female cannabis plants produce inflorescences that contain bracts densely covered by glandular trichomes, which synthesize a range of commercially important cannabinoids (e.g., THC, CBD) as well as terpenes. Cannabinoid content and quality varies over the 8-week flowering period to such an extent that the time of harvest can significantly impact product quality. Cannabis flower maturation is accompanied by a transition in the color of trichome heads that progresses from clear to milky to brown (amber) and can be seen visually using low magnification. However, the importance of this transition as it impacts quality and describes maturity has never been investigated. To establish a relationship between trichome maturation and trichome head color changes (phenotype), we developed a novel automatic trichome gland analysis pipeline using deep learning. We first collected a macro-photography dataset based on 4 commercially grown cannabis strains, namely ‘Afghan Kush’, ‘Green Death Bubba’, ‘Pink Kush’, and ‘White Rhino’. Images were obtained in two modalities: conventional macroscopic light photography and macroscopic UV induced fluorescence. We then implemented a pipeline where the clear-milky-brown heuristic was injected into the algorithm to quantify trichome phenotype progression during the 8-week flowering period. A series of clear, milky, and brown phenotype curves were recorded for each strain over the flowering period that were validated as indicators of trichome maturation and corresponded to previously described parameters of trichome development, such as trichome gland head diameter and stalk elongation. We also derived morphological metrics describing trichome gland geometry from deep learning segmentation predictions that profiled trichome maturation over the flowering period. We observed that mature and senescing trichomes displayed fluorescent properties that were reflected in the clear, milky, and brown phenotypes. Our method was validated by two experiments where factors affecting trichome quality and flower development were imposed and the effects were then quantified using the deep learning pipeline. Our results indicate the feasibility of automated trichome analysis as a method to evaluate the maturation of female flowers cultivated in a highly variable environment, regardless of strain. These findings have broad applicability in a growing industry in which cannabis flower quality is receiving increased circumspection for medicinal and recreational uses.