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 ], [