CrowdH-Edit: Reference-Guided Instruction-Based Synthetic Hajj Crowd Image Generation for Crowd Counting
On the map: Diffusion models → Image generation, text-to-image and editing also fits: 3D, point cloud and scene generation
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 41 of its 73 references that are in the map. Submitted 8 Oct 2026.
Builds on
41 of 73 references.
Closest ancestors · 5
Same direction, newest first
- 2024Diffusion-based Data Augmentation for Object Counting Problems25 Jan
- 2022InstructPix2Pix: Learning to Follow Image Editing Instructions17 Nov
- 2022Imagic: Text-Based Real Image Editing with Diffusion Models17 Oct
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr
- 2021Blended Diffusion for Text-driven Editing of Natural Images29 Nov
Other references · 36
- 2020Denoising Diffusion Probabilistic Modelscited by 21,784
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 19,429
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 15,591
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,842
- 2016Image-to-Image Translation with Conditional Adversarial Networkscited by 4,601
- 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,586
- 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,411
- 2016Improved Techniques for Training GANscited by 3,032
- 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,537
- 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,521
- 2021SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equationscited by 2,021
- 2025Qwen-Image Technical Reportcited by 1,215
24 more
- 2018CSRNet: Dilated Convolutional Neural Networks for Understanding the Highly Congested Scenescited by 274
- 2018Composition Loss for Counting, Density Map Estimation and Localization in Dense Crowdscited by 189
- 2019Bayesian Loss for Crowd Count Estimation with Point Supervisioncited by 163
- 2021Rethinking Counting and Localization in Crowds:A Purely Point-Based Frameworkcited by 157
- 2020NWPU-Crowd: A Large-Scale Benchmark for Crowd Counting and Localizationcited by 154
- 2019Learning from Synthetic Data for Crowd Counting in the Wildcited by 150
- 2020Distribution Matching for Crowd Countingcited by 146
- 2020JHU-CROWD++: Large-Scale Crowd Counting Dataset and A Benchmark Methodcited by 112
- 2022Boosting Crowd Counting via Multifaceted Attentioncited by 74
- 2021TransCrowd: weakly-supervised crowd counting with transformerscited by 63
- 2019Perspective-Guided Convolution Networks for Crowd Countingcited by 55
- 2016CrowdNet: A Deep Convolutional Network for Dense Crowd Countingcited by 54
- 2020Cross-Modal Collaborative Representation Learning and a Large-Scale RGBT Benchmark for Crowd Countingcited by 53
- 2022Cross-View Cross-Scene Multi-View Crowd Countingcited by 29
- 2017Multi-scale Convolutional Neural Networks for Crowd Countingcited by 27
- 2024Improving Point-based Crowd Counting and Localization Based on Auxiliary Point Guidancecited by 24
- 2019Crowd Counting Using Scale-Aware Attention Networkscited by 21
- 2021Rethinking Global Context in Crowd Countingcited by 9
- 2023RGB-T Multi-Modal Crowd Counting Based on Transformercited by 8
- 2018Stacked Pooling: Improving Crowd Counting by Boosting Scale Invariancecited by 6
- 2020A Survey on Deep Learning-based Single Image Crowd Counting: Network Design, Loss Function and Supervisory Signalcited by 6
- 2018In Defense of Single-column Networks for Crowd Countingcited by 4
- 2022Enhancing and Dissecting Crowd Counting By Synthetic Datacited by 4
- 2026Pix2Pix-Hybrid: Structure-Guided Conditional Synthesis of Hajj Crowd Images with Multi-Channel Conditioning and Weak Attribute Supervisioncited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2023SYRAC: Synthesize, Rank, and Count
- 2023EditVal: Benchmarking Diffusion Based Text-Guided Image Editing Methods
- 2025IMAGHarmony: Controllable Image Editing with Consistent Object Quantity and Layout
- 2025EditAR: Unified Conditional Generation with Autoregressive Models
- 2024Autoregressive Model Beats Diffusion: Llama for Scalable Image Generation
- 2025ImgEdit: A Unified Image Editing Dataset and Benchmark
- 2023EditShield: Protecting Unauthorized Image Editing by Instruction-guided Diffusion Models
- 2026CrowdGaussian: Reconstructing High-Fidelity 3D Gaussians for Human Crowd from a Single Image