摘要: 生成热度图: import matplotlib.pyplot as plt from PIL import Image import numpy as np # 使用PIL读取图像 img = Image.open('img/high/5.png') # 将图像转换为灰度模式 img_gray = 阅读全文
posted @ 2024-01-24 19:36 helloWorldhelloWorld 阅读(162) 评论(0) 推荐(0)