Skip to content

Generate motion heatmaps from video sequences with Python. Ideal for analyzing motion patterns in images. Install via pip and start analyzing motion today!

License

Notifications You must be signed in to change notification settings

ylp1455/MotionHeatmapGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Generate motion heatmaps from video sequences with Python. Ideal for analyzing motion patterns in images. Install via pip and start analyzing motion today!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages