Skip to main content

Easy to integrate Crowd Counting Library

Project description

CrowdCounting Made Easy 🤓 with CNN-based Cascaded Multi-task

codestyle This is a packaging implementation of the paper CNN-based Cascaded Multi-task Learning of High-level Prior and Density Estimation for Crowd Counting for single image crowd counting which is accepted at AVSS 2017

The package is compatible with all operating systems, provides a staggering fast and accurate prediction. It achieves a min of 20 fps on a 6 core intel cpu.

Installation

pip install ezcrowdcount

Usage

To run inference on your favorite image/video simply run the following on your terminal/console:

crowdcount --mode video --path /path/to/video
"""
mode (str): Whether to run prediction on video or image
path (str | int): Path to video or image. It can be an index to a camera feed, or a URL also. (Default = 0).
"""

The inference will run on your GPU (if available), and will be viewed right in front of you 👀 Also, the number of people during each frame will be printed on your console/terminal.

Demo

Input Image:

Input Image

Result Image:

Result Image

Number of people: 165.8 🎉

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ezcrowdcount-1.0.0.tar.gz (8.1 kB view hashes)

Uploaded Source

Built Distribution

ezcrowdcount-1.0.0-py3-none-any.whl (8.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page