# pyRootHair: Machine learning accelerated software for high-throughput phenotyping of plant root hair traits

**Authors:** Ian Tsang, Lawrence Percival-Alwyn, Stephen Rawsthorne, James Cockram, Fiona Leigh, Jonathan A Atkinson

PMC · DOI: 10.1093/gigascience/giaf141 · 2025-11-13

## TL;DR

pyRootHair is a machine learning tool that automates the analysis of plant root hair traits from microscope images, enabling high-throughput phenotyping.

## Contribution

pyRootHair introduces an AI-powered, high-throughput software for automated root hair trait quantification in multiple plant species.

## Key findings

- pyRootHair can process over 600 images per hour, revealing significant variation in root hair traits among wheat cultivars.
- Root hair profiles fall into two distinct shape categories, with correlations between different traits observed.
- The software is applicable to multiple plant species including oat, rice, teff, and tomato.

## Abstract

Root hairs play a key role in plant nutrient and water uptake. Historically, root hair traits have largely been quantified manually. As such, this process has been laborious and low-throughput. However, given their importance for plant health and development, high-throughput quantification of root hair morphology could help underpin rapid advances in the genetic understanding of these traits. With recent increases in the accessibility and availability of artificial intelligence (AI) and machine learning techniques, the development of tools to automate plant phenotyping processes has been greatly accelerated.

We present pyRootHair, a high-throughput, AI-powered software application to automate root hair trait extraction from microscope images of plant roots grown on agar plates. pyRootHair is capable of batch processing over 600 images per hour without manual input from the end user. In this study, we deploy pyRootHair on a panel of 24 diverse wheat (Triticum aestivum and Triticum turgidum ssp. durum) cultivars and uncover a large, previously unresolved amount of variation in many root hair traits. We show that the overall root hair profile falls under 2 distinct shape categories and that different root hair traits often correlate with each other. We also demonstrate that pyRootHair can be deployed on a range of plant species, including oat (Avena sativa), rice (Oryza sativa), teff (Eragrostis tef), and tomato (Solanum lycopersicum).

The application of pyRootHair enables users to rapidly screen a large number of plant germplasm resources for variation in root hair morphology, supporting high-resolution measurements and high-throughput data analysis. This facilitates downstream investigation of the impacts of root hair genetic control and morphological variation on plant performance. pyRootHair is installable via PyPI (https://pypi.org/project/pyRootHair/) and can be accessed on GitHub at https://github.com/iantsang779/pyRootHair.

## Linked entities

- **Species:** Triticum aestivum (taxon 4565), Avena sativa (taxon 4498), Oryza sativa (taxon 4530), Eragrostis tef (taxon 110835), Solanum lycopersicum (taxon 4081)

## Full-text entities

- **Chemicals:** agar (MESH:D000362), water (MESH:D014867)
- **Species:** Solanum lycopersicum (tomato, species) [taxon 4081], Triticum aestivum (bread wheat, species) [taxon 4565], Eragrostis tef (tef, species) [taxon 110835], Oryza sativa (Asian cultivated rice, species) [taxon 4530], Avena sativa (cultivated oat, species) [taxon 4498]

## Figures

10 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12824728/full.md

---
Source: https://tomesphere.com/paper/PMC12824728