Skip to main content

A Python package for generating motion heatmaps from video sequences.

Project description

MotionHeatmapGenerator

63e3bba673776bd9e9955af0_Using Heat Maps to Analyze Traffic Flow (2)

A Python package for generating motion heatmaps from video sequences. This package allows you to analyze areas of motion within a sequence of images by highlighting these areas in a heatmap.

Features

  • Generate motion heatmaps from a sequence of images.
  • Highlight areas of motion within the images.
  • Customize the appearance of the heatmap, including color intensity and smoothing.

Installation

To install MotionHeatmapGenerator, you can use pip:

MotionHeatmapGenerator# MotionHeatmapGenerator

hqdefault

A Python package for generating motion heatmaps from video sequences. This package allows you to analyze areas of motion within a sequence of images by highlighting these areas in a heatmap.

Features

  • Generate motion heatmaps from a sequence of images.
  • Highlight areas of motion within the images.
  • Customize the appearance of the heatmap, including color intensity and smoothing.

Installation

To install MotionHeatmapGenerator, you can use pip:

pip install MotionHeatmapGenerator

Usage

Here's a basic example of how to use MotionHeatmapGenerator:

python from MotionHeatmapGenerator import MotionHeatmapGenerator Initialize the generator with the desired number of divisions and a list of images

generator = MotionHeatmapGenerator(num_vertical_divisions=2, num_horizontal_divisions=2, images=["image1.jpg", "image2.jpg"]) Generate the motion heatmap

generator.generate_motion_heatmap("output_heatmap.jpg")

This will generate a motion heatmap from the provided images and save it as output_heatmap.jpg.

Contributing

Contributions are welcome Please feel free to submit a pull request or open an issue if you encounter any problems or have suggestions for improvements.

License

This project is licensed under the MIT License - see the LICENSE file for details.

pip install MotionHeatmapGenerator

Usage

Here's a basic example of how to use MotionHeatmapGenerator:

python from MotionHeatmapGenerator import MotionHeatmapGenerator Initialize the generator with the desired number of divisions and a list of images

generator = MotionHeatmapGenerator(num_vertical_divisions=2, num_horizontal_divisions=2, images=["image1.jpg", "image2.jpg"]) Generate the motion heatmap

generator.generate_motion_heatmap("output_heatmap.jpg")

This will generate a motion heatmap from the provided images and save it as output_heatmap.jpg.

Contributing

Contributions are welcome Please feel free to submit a pull request or open an issue if you encounter any problems or have suggestions for improvements.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

motionheatmapgenerator-0.1.0.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

MotionHeatmapGenerator-0.1.0-py3-none-any.whl (3.0 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