Identification of non-glandular trichome hairs in cannabis using vision-based deep learning methods
- PMID: 40249026
- PMCID: PMC12223337
- DOI: 10.1111/1556-4029.70058
Identification of non-glandular trichome hairs in cannabis using vision-based deep learning methods
Abstract
The detection of cannabis and cannabis-related products is a critical task for forensic laboratories and law enforcement agencies, given their harmful effects. Forensic laboratories analyze large quantities of plant material annually to identify genuine cannabis and its illicit substitutes. Ensuring accurate identification is essential for supporting judicial proceedings and combating drug-related crimes. The naked eye alone cannot distinguish between genuine cannabis and non-cannabis plant material that has been sprayed with synthetic cannabinoids, especially after distribution into the market. Reliable forensic identification typically requires two colorimetric tests (Duquenois-Levine and Fast Blue BB), as well as a drug laboratory expert test for affirmation or negation of cannabis hair (non-glandular trichomes), making the process time-consuming and resource-intensive. Here, we propose a novel deep learning-based computer vision method for identifying non-glandular trichome hairs in cannabis. A dataset of several thousand annotated microscope images was collected, including genuine cannabis and non-cannabis plant material apparently sprayed with synthetic cannabinoids. Ground-truth labels were established using three forensic tests, two chemical assays, and expert microscopic analysis, ensuring reliable classification. The proposed method demonstrated an accuracy exceeding 97% in distinguishing cannabis from non-cannabis plant material. These results suggest that deep learning can reliably identify non-glandular trichome hairs in cannabis based on microscopic trichome features, potentially reducing reliance on costly and time-consuming expert microscopic analysis. This framework provides forensic departments and law enforcement agencies with an efficient and accurate tool for identifying non-glandular trichome hairs in cannabis, supporting efforts to combat illicit drug trafficking.
Keywords: cannabis detection; colorimetric chemical tests; computer vision; cystoliths; deep learning; non‐glandular trichomes; synthetic cannabinoids.
© 2025 The Author(s). Journal of Forensic Sciences published by Wiley Periodicals LLC on behalf of American Academy of Forensic Sciences.
Conflict of interest statement
The authors declare no conflict of interest.
Figures










References
-
- Hanuš LO, Levy R, De La Vega D, Katz L, Roman M, Tomíček P. The main cannabinoids content in hashish samples seized in Israel and Czech Republic. Isr J Plant Sci. 2016;63(3):182–190. 10.1080/07929978.2016.1177983 - DOI
-
- Mechoulam R. The pharmacohistory of Cannabis sativa . In: Mechoulam R, editor. Cannabinoids as therapeutic agents. Boca Raton, FL: Chapman and Hall/CRC; 2019. p. 1–20. 10.1201/9780429260667-1 - DOI
-
- Liu FH, Hu HR, Du GH, Deng G, Yang Y. Ethnobotanical research on origin, cultivation, distribution and utilization of hemp (Cannabis sativa L.) in China. 2017. [cited 2024 July 14]. Available from: https://nopr.niscpr.res.in/handle/123456789/40123.
-
- Fleming MP, Clarke RC. Physical evidence for the antiquity of Cannabis sativa L. J Int Hemp Assoc. 1998;5(2):80–95.
-
- Li HL. An archaeological and historical account of cannabis in China. Econ Bot. 1974;28(4):437–448. 10.1007/bf02862859 - DOI
MeSH terms
Substances
LinkOut - more resources
Full Text Sources