文件名称:tkshow:使用基于图形命令列表的覆盖图可视化图像或图像序列
文件大小:13KB
文件格式:ZIP
更新时间:2024-04-03 14:05:37
tkshow 可视化图像或图像序列以及基于图形命令列表的覆盖图 此处的代码存储库: : 依存关系 Python≥3.4 (PIL前叉) 使用范例 初始化环境 import tkshow as tks def main (): """main application code goes here""" # ... # get image from from somewhere img = ... # draw some overlays gcl = tks . GraphicsCmdList () gcl . rectangle ( 20 , 40 , 40 , 60 , outline = "black" , fill = "blue" ) gcl . marker ( [ 20 , 20 , 40 , 40 ], [
【文件预览】:
tkshow-main
----LICENSE(34KB)
----README.md(3KB)