CrowdH-Edit: Reference-Guided Instruction-Based Synthetic Hajj Crowd Image Generation for Crowd Counting
Amirah F. Alshammari, Bander A. Alzahrani, Nahed A. Alowidi
Key points
From the paper's conclusion- These findings indicate that reference-guided synthetic Hajj imagery can support crowd-counting training, although its benefits depend on the model and evaluation metric.
Abstract
The scarcity of domain-specific annotated images remains a major limitation for developing computer-vision systems for Hajj crowd analysis. Existing crowd-counting datasets and unconstrained generative models do not capture Hajj-specific visual conditions, including sacred-site geometry, white-clothed pilgrim crowds, and indoor/outdoor illumination variation. This study presents CrowdH-Edit, a reference-guided, instruction-based framework for synthetic Hajj crowd-image generation. Real Hajj images provide structural references, while textual instructions guide changes in crowd conditions and illumination and help preserve the main scene layout. Stable Diffusion 2.1 and Stable Diffusion XL 1.0 with low-rank adaptation were evaluated as comparative baselines. Qwen Image Edit was used without additional training within a ComfyUI workflow and selected for final dataset construction. The workflow produced CrowdH-Edit, a cleaned pool of 6,122 synthetic images, from which 387 images were selected and annotated to construct CrowdH-Edit-Ann-387. Among the evaluated generation pipelines, Qwen Image Edit achieved the highest semantic-alignment score and the lowest distributional and perceptual distances. Downstream evaluation across five crowd-counting models showed that adding the annotated synthetic subset to real training data reduced mean absolute error for three models and root mean squared error for two. These findings indicate that reference-guided synthetic Hajj imagery can support crowd-counting training, although its benefits depend on the model and evaluation metric.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Rethinking Underwater Image Enhancement: Learning through Text-Guided Degradation CurriculumarXiv · 2026
- Qwen-Image-HD: Autoregressive Diffusion for High Definition Image GenerationarXiv · 2026
- ThemeIQA:Theme-Oriented Generated Image Quality Assessment.IEEE transactions on image processing : a publication of the IEEE Signal Processing Society · 2026
- From Diffusion to Flow Matching: A Unified Survey and Dual-Branch Taxonomy for Image GenerationITM Web of Conferences · 2026
- Block-Wise Variable Conditional Diffusion for High-Fidelity Text-to-4D GenerationInternational Journal of Computer Vision · 2026
- Catch Me If You Can Describe Me: Open-Vocabulary Camouflaged Instance Segmentation with DiffusionInternational Journal of Computer Vision · 2026