(model1,root)
| 173 | |
| 174 | #点击生成图片按钮 |
| 175 | def ButtonImage(model1,root): |
| 176 | # root.withdraw() # 仅显示对话框,隐藏主窗口 |
| 177 | btn_gen0 = tkinter.Button(root, text='选择航拍图', font=('黑体', 14), height=1, width=20, |
| 178 | command = lambda : selectFilename(root)) |
| 179 | btn_gen0.place(x=20, y=355) |
| 180 | |
| 181 | btn_gen1 = tkinter.Button(root, text='生成航拍地图', font=('黑体', 14), height=1, width=20, |
| 182 | command = lambda : loadModel(model1,root)) |
| 183 | btn_gen1.place(x=20, y=400) |
| 184 | |
| 185 | |
| 186 | if __name__ == '__main__': |
no test coverage detected