Easy to integrate Crowd Counting Library
Project description
CrowdCounting Made Easy 🤓 with CNN-based Cascaded Multi-task
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:
Result Image:
Number of people: 165.8 🎉
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ezcrowdcount-1.0.0.tar.gz
.
File metadata
- Download URL: ezcrowdcount-1.0.0.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f88ff7d7d8690be9f0ca5995407370b0e7ddd2c439c57a119de1ca71c14b1d6 |
|
MD5 | ddef1a4f825f90a814213bd9b85a3a12 |
|
BLAKE2b-256 | 163a5ddeb232b2cb18eeb16424774144b5b5244398c67f24152ffdd9d863dd86 |
File details
Details for the file ezcrowdcount-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: ezcrowdcount-1.0.0-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54b05092dee4e33b37f7a2a34ba76bedc2ed0d53e37ff25faefcdf61aef137bf |
|
MD5 | db749e0d9f1f3f4b1d4705b5b9bb48b5 |
|
BLAKE2b-256 | f8ab27f1f83183cc2f7a3c2762860a56933043a07c3ca93351b196c53026a254 |