Generate motion heatmaps from video sequences with Python. Ideal for analyzing motion patterns in images. Install via pip and start analyzing motion today!
MIT License
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.
To install MotionHeatmapGenerator
, you can use pip:
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.
To install MotionHeatmapGenerator
, you can use pip:
pip install MotionHeatmapGenerator
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
.
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.
This project is licensed under the MIT License - see the LICENSE file for details.
pip install MotionHeatmapGenerator
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
.
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.
This project is licensed under the MIT License - see the LICENSE file for details.