heatmappy:在python中绘制图像和视频热图

时间:2021-05-01 01:56:10
【文件属性】:
文件名称:heatmappy:在python中绘制图像和视频热图
文件大小:3.49MB
文件格式:ZIP
更新时间:2021-05-01 01:56:10
Python 热图 在python中绘制图像和视频热图 图像 视频 安装 pip install heatmappy 要求 matplotlib 电影 麻木 枕头 PySide(可选:比单独的Pillow快约20%) 例子 给定一些点(坐标)和基本图像 from heatmappy import Heatmapper from PIL import Image example_points = [( 100 , 20 ), ( 120 , 25 ), ( 200 , 50 ), ( 60 , 300 ), ( 170 , 250 )] example_img_path = 'cat.jpg' example_img = Image . open ( example_img_path ) 在PIL图像对象上绘制基本的热图 heatmapper = Heatmapper () heatmap = hea
【文件预览】:
heatmappy-master
----MANIFEST.in(51B)
----requirements.txt(166B)
----examples()
--------paper.png(433KB)
--------reveal-cat.png(99KB)
--------example.gif(1.71MB)
--------default-cat.png(168KB)
----LICENSE(1KB)
----setup.cfg(39B)
----setup.py(624B)
----README.md(3KB)
----.gitignore(2KB)
----heatmappy()
--------__init__.py(192B)
--------assets()
--------heatmap.py(7KB)
--------video.py(4KB)

网友评论