Skip to content

Repository files navigation

Getting the Numbers—Modelling Multi-class Object Counting in Dense and Varied Scenes

Density map estimation enables accurate object counting in heavily occluded, and densely packed scenes where detection-based counting fails. In multi-class density estimation, class awareness can be introduced by modelling classes non-exclusively, better reflecting crowded and visually ambiguous contexts.

This repository contains the code used in our work.

Note

This work was supported by the UKRI AI Centre for Doctoral Training in Sustainable Understandable agri-food Systems Transformed by Artificial INtelligence (SUSTAIN) [grant reference: EP/Y03063X/1].

Published as part of the International Joint Conference on Computational Intelligence at IEEE World Congress of Computational Intelligence 2026.

The paper is available on arXiv, and on the University of Lincoln Figshare Site.

Datasets

You must download the datasets, and investigate the scripts within convert_datasets. The scripts are seeded, so will produce the same datasets used in this paper. Due to no suitable test/challenge set for iSAID and Hicks et al., those datasets are shuffled to a custom split. Ensure no seeds are changed.

Pre-trained Weights

The weights for the backbone must be downloaded from the Twins GitHub Repo.

For now, please email the first author for model weights, although these will eventually be uploaded somewhere open and permanent.

About

Code, Dockerfiles, and trained weights for Getting the Numbers Right—Modelling Multi-Class Object Counting in Dense and Varied Scenes

Resources

Code of conduct

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages