Estimating Cannabis Flower Maturity in Greenhouse Conditions Using Computer Vision
2026
Etay Lorberboym | Silit Lazare | Polina Golshmid | Guy Shani
The maturity of cannabis flowers at harvest critically influences cannabinoid yield and product quality. However, conventional assessment methods rely on subjective visual inspection of trichomes and stigmas, making them inherently inconsistent. This research presents an automated framework integrating computer vision and deep learning to objectively evaluate cannabis flower maturity. High-resolution macro images were acquired using low-cost smartphone-based systems under greenhouse and laboratory conditions. A two-stage pipeline was implemented: a fine-tuned Faster R-CNN model detected trichomes (Precision: 0.815: Recall: 0.802), while a YOLOv8 classifier categorized them into clear, milky, or amber classes (Accuracy: 98.6%). In parallel, a YOLOv8 segmentation model delineated stigmas (AP50: 52.2%) to compute color ratios as maturity indicators. Features were aggregated at the flower level and correlated with HPLC-measured cannabinoid concentrations. A dataset of over 14,000 images was collected across multiple imaging sessions to support training, evaluation, and correlation experiments. Results demonstrated that stigma coloration&mdash:detectable with low-end devices&mdash:provides a robust visual indicator of peak chemical maturity, with the green-to-orange transition aligning with maximum cannabinoid concentration. This work offers a scalable, cost-effective solution for real-time maturity assessment in cannabis cultivation, contributing to improved harvest timing and quality control.
Show more [+] Less [-]AGROVOC Keywords
Bibliographic information
This bibliographic record has been provided by Multidisciplinary Digital Publishing Institute