This is code for fast visual object counting via example-based density estimation:
@inproceedings{wang2016fast, title={Fast visual object counting via example-based density estimation}, author={Wang, Yi and Zou, Yuexian}, booktitle={2016 IEEE International Conference on Image Processing (ICIP)}, pages={3653--3657}, year={2016}, organization={IEEE} }
When you use the code, please cite the above paper.