arXiv:2610.02421cs.CVOct 2026

Manuscript Offprint

arXiv:2610.02421

An AI-Based Multi-Stage Approach for Androgenetic Alopecia Assessment from Low-Magnification Scalp Images

Mahmoud Raslan, Nada Omar, Omar Khaled, Tarek Waleed, Mohamed Hazem, Rania Mounir, Solwan Elsamanoudy, Ahmed Mourad, Noura Adel, Muhammad Rushdi

Mahmoud Raslan*, Nada Omar*, Omar Khaled*, Tarek Waleed*, Mohamed Hazem*, Rania Mounir†, Solwan Elsamanoudy†, Ahmed Mourad†, Noura Adel†, Muhammad Rushdi*

*Faculty of Engineering, Cairo University, Giza, Egypt

†Dermatology Department, Faculty of Medicine, Cairo University, Cairo, Egypt

Abstract—Androgenetic alopecia (AGA) is characterized by patterned follicular miniaturization, increased single-hair follicular units, and altered hair-shaft diameter. We present an automated quantitative scalp-analysis and clinical decision-support framework combining FU localization, ordinal visible-shaft counting, calibrated shaft-width estimation, regional aggregation, and an interpretable rule layer. The clinical cohort comprised 243 patients (127 AGA, 116 non-AGA), while the computer-vision experiments used 160 expert-annotated patients, 2,400 trichoscopic images, and approximately 158,000 FU annotations. Under patient-disjoint evaluation, YOLOv8m achieved test mAP@0.5=0.920 and recall=0.860; EfficientNet-B5 with a support-map channel achieved 87.0% expert-box count accuracy (macro F1=0.85). A separate 500-image set was processed end-to-end with detector-generated boxes, yielding MAE of 6.56 for follicle detection and 16.59 for follicle classification relative to human-expert annotations. The system is intended to assist, rather than replace, dermatologist interpretation.

Index Terms—androgenetic alopecia, artificial intelligence, trichoscopy, follicular unit detection, hair shaft analysis, clinical decision support, medical image analysis

I. INTRODUCTION

Androgenetic alopecia (AGA), commonly known as pattern hair loss, is a widespread dermatological condition affecting both males and females worldwide [1], [2]. The disease is characterized by progressive hair thinning, reduced follicular density, and hair-shaft miniaturization, which may significantly affect patients psychologically and socially. Reliable severity assessment is important for treatment planning and longitudinal monitoring of therapeutic response.

Trichoscopy has become an important non-invasive imaging technique for evaluating scalp and hair disorders. Through magnified scalp visualization, dermatologists can assess clinically relevant features such as follicular density, hair-diameter variation, and miniaturized hairs. Despite its diagnostic value, trichoscopic analysis remains largely dependent on manual interpretation, which introduces subjectivity and inter-observer variability.

The clinical logic of the proposed pipeline is measurement-driven. Follicular-unit detection determines where individual units are located; ordinal follicle-count classification estimates whether each unit contains one, two, or three-plus visible shafts; and calibrated width analysis characterizes shaft miniaturization. These measurements are then summarized by anatomical region. For the AGA use case, frontal measurements are interpreted relative to an occipital reference because patterned miniaturization, increased single-hair units, and increased vellus-hair burden are established trichoscopic indicators of AGA [1], [7], [9]–[13]. Thus, each computer-vision stage provides a specific quantitative input to the final clinical decision-support layer rather than acting as an isolated prediction task.

Quantitative analysis remains challenging because follicular units occupy only a small fraction of a full image and may be densely packed. Natural shaft overlap and crossing can obscure follicular openings and proximal shaft boundaries, while dandruff can introduce additional scalp texture around the regions of interest. Because image acquisition was standardized, the analysis focuses on these content-related challenges.

To address these constraints, the detector uses a slicing-aided strategy inspired by SAHI(Slicing Aided Hyper Inference), in which the scalp region is divided into overlapping tiles so that small follicular units occupy a larger fraction of the detector input [6]. A handcrafted support map is used in the count-classification and shaft-tracing stages to emphasize dark filamentous structures, while the root-anchored width method traces candidate shafts outward from a detected follicular-unit location instead of relying on unattributed global skeleton branches.

Recent advances in deep learning and computer vision have shown strong potential in medical image analysis [2], [3]. YOLO-family detectors are attractive for small-object localization because they combine strong detection performance with single-stage inference, while EfficientNet backbones offer favorable accuracy-to-computation trade-offs for fine-grained classification. Classical image-processing methods remain valuable for thin filamentous structures when explicit geometric measurement is required.

The primary contribution of this work is therefore a systems-level integration of complementary techniques into an interpretable quantitative scalp-analysis framework. The framework is not presented as a stand-alone learned AGA-vs.-non-AGA classifier. Instead, it automates measurements that can support dermatologists in evaluating AGA and, with appropriately redefined clinical criteria, may be extended to other scalp

Figure

Fig. 1. Compact high-level workflow. Each stage passes interpretable measurements to the next module, ending with a clinician-facing rule-based summary.

and hair disorders.