(root)
| 33 | |
| 34 | |
| 35 | def Canvas_(root): |
| 36 | # 创建画布 |
| 37 | canvas0 = tkinter.Canvas(root, bg='white', width=img_width, height=img_height) |
| 38 | canvas0.place(x=50, y=50) |
| 39 | # 创建画布 |
| 40 | canvas1 = tkinter.Canvas(root, bg='white', width=img_width, height=img_height) |
| 41 | canvas1.place(x=300, y=50) |
| 42 | |
| 43 | # 创建画布 |
| 44 | canvas2 = tkinter.Canvas(root, bg='white', width=img_width, height=img_height) |
| 45 | canvas2.place(x=300, y=270) |
| 46 | # 创建标签 |
| 47 | label1 = tkinter.Label(root, text='选择航拍图', font=('黑体', 13), width=30, height=1) |
| 48 | # `anchor=nw`则是把图片的左上角作为锚定点 |
| 49 | label1.place(x=15, y=20, anchor='nw') |
| 50 | # 创建标签 |
| 51 | label2 = tkinter.Label(root, text='对应航拍地图', font=('黑体', 13), width=25, height=1) |
| 52 | # `anchor=nw`则是把图片的左上角作为锚定点 |
| 53 | label2.place(x=280, y=20, anchor='nw') |
| 54 | |
| 55 | # 创建标签 |
| 56 | label3 = tkinter.Label(root, text='原始航拍地图', font=('黑体', 13), width=25, height=1) |
| 57 | # `anchor=nw`则是把图片的左上角作为锚定点 |
| 58 | label3.place(x=280, y=260, anchor='nw') |
| 59 | return [canvas0,canvas1,canvas2] |
| 60 | |
| 61 | def showImage(frame): |
| 62 | """ |
no outgoing calls
no test coverage detected