A platform that implements 4 crowd counting algorithms and helps you to predict the number of people in images, videos, and in your camera. It would be used to facilitate crowd counting and face detection for the users.
CrowdCounting.AI include the latest and the most powerful crowd counting algorithms that use different crowd counting approaches. It combines both heavyweight models and lightweight models. The heavyweight models can be used both on server-based platforms and powerful devices to get the best accuracy when dealing with dense crowds, while lightweight models can be used for real-time applications on devices with limited computational resources.
-
Pull this repository
-
Install requirements:
$ pip install -r requirements.txt
. -
Download the models from the links bellow:
- FIDTM: https://drive.google.com/file/d/1drjYZW7hp6bQI39u7ffPYwt4Kno9cLu8/view?usp=sharing
- P2PNet: https://drive.google.com/file/d/1-189sscpNZBFaSHOz7dnEgAaFeUALiow/view?usp=sharing
- CSRNet: https://drive.google.com/file/d/16PaKCz37FCe6ARsjFQK8lcQ6BeU-U3X1/view?usp=sharing
- YOLO-CROWD: https://drive.google.com/file/d/1xxXVCzseuzmHv7NoMQ03RVU_tDisWXjM/view?usp=sharing
-
Run the website:
$ python app.py
.
NB: If you want to use TensorRT you can download yolo-crowd.engine: https://drive.google.com/file/d/1-189sscpNZBFaSHOz7dnEgAaFeUALiow/view?usp=sharing