ShanghaiTech

Dataset Information
Modalities
Images
Introduced
2016
License
Unknown
Homepage

Overview

The Shanghaitech dataset is a large-scale crowd counting dataset. It consists of 1198 annotated crowd images. The dataset is divided into two parts, Part-A containing 482 images and Part-B containing 716 images. Part-A is split into train and test subsets consisting of 300 and 182 images, respectively. Part-B is split into train and test subsets consisting of 400 and 316 images. Each person in a crowd image is annotated with one point close to the center of the head. In total, the dataset consists of 330,165 annotated people. Images from Part-A were collected from the Internet, while images from Part-B were collected on the busy streets of Shanghai.

Source: Iterative Crowd Counting

Image Source: Li et al

Variants: ShanghaiTech, ShanghaiTech A, ShanghaiTech B

Associated Benchmarks

This dataset is used in 2 benchmarks:

Recent Benchmark Submissions

Task Model Paper Date
Video Anomaly Detection AnyAnomaly AnyAnomaly: Zero-Shot Customizable Video Anomaly … 2025-03-06
Video Anomaly Detection VideoPatchCore VideoPatchCore: An Effective Method to … 2024-09-24
Anomaly Detection VideoPatchCore VideoPatchCore: An Effective Method to … 2024-09-24
Anomaly Detection AnomalyRuler Follow the Rules: Reasoning for … 2024-07-14
Video Anomaly Detection AnomalyRuler Follow the Rules: Reasoning for … 2024-07-14
Anomaly Detection PGM Bounding Boxes and Probabilistic Graphical … 2024-07-08
Video Anomaly Detection PGM Bounding Boxes and Probabilistic Graphical … 2024-07-08
Anomaly Detection TSGAD An Exploratory Study on Human-Centric … 2024-04-29
Video Anomaly Detection TSGAD An Exploratory Study on Human-Centric … 2024-04-29
Anomaly Detection MULDE-frame-centric-micro MULDE: Multiscale Log-Density Estimation via … 2024-03-21
Video Anomaly Detection MULDE-frame-centric-micro MULDE: Multiscale Log-Density Estimation via … 2024-03-21
Video Anomaly Detection MULDE-object-centric-micro MULDE: Multiscale Log-Density Estimation via … 2024-03-21
Anomaly Detection MULDE-object-centric-micro MULDE: Multiscale Log-Density Estimation via … 2024-03-21
Anomaly Detection DAC(STG-NF + Jigsaw) Divide and Conquer in Video … 2023-09-26
Anomaly Detection DMAD Diversity-Measurable Anomaly Detection 2023-03-09
Anomaly Detection EVAL EVAL: Explainable Video Anomaly Localization 2022-12-15
Anomaly Detection AI-VAD An Attribute-based Method for Video … 2022-12-01
Anomaly Detection STG-NF Normalizing Flows for Human Pose … 2022-11-20
Anomaly Detection STPT Spatio-temporal predictive tasks for abnormal … 2022-10-27
Anomaly Detection SSMTL+++SSMCTB Self-Supervised Masked Convolutional Transformer Block … 2022-09-25

Research Papers

Recent papers with results on this dataset: