File size: 837 Bytes
68be446
 
4c59a47
 
 
68be446
 
 
 
 
4c59a47
68be446
 
4c59a47
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
title: CrowdCounter
emoji: 👥
colorFrom: purple
colorTo: indigo
sdk: gradio
sdk_version: 6.19.0
python_version: '3.12'
app_file: app.py
pinned: false
short_description: Count people in aerial/crowd photos with a dot overlay
---

# Crowd Counter

Upload an aerial or dense crowd photo; get back the image with a dot on every detected
head and the total count printed underneath.

- **Model:** fine-tuned PET (Point-quEry Transformer), point-localization crowd counter.
- **Inference:** native-resolution tiling for dense-scene recall; adjustable head-confidence
  threshold to recover packed-core heads.
- **Hardware:** ZeroGPU (GPU attached per request via `@spaces.GPU`).

Accuracy is best on higher-resolution stills; expect ±10–15% on very dense scenes. The dot
overlay is the audit trail — check whether dots track heads.