Fix wrong cords.
This commit is contained in:
parent
87938079b3
commit
276bcb7ff9
@ -37,6 +37,6 @@ def nn(root,im):
|
||||
tk.Misc.lift(label)
|
||||
sleep(0.05)
|
||||
|
||||
print("Image cords: ", label.winfo_x(), 670 - label.winfo_y())
|
||||
print("Image cords: ", label.winfo_x(), 720 - label.winfo_y() - image.height())
|
||||
#x1, y1 = image.coords(image)
|
||||
# print(f'Image cords: {}')
|
||||
|
Loading…
Reference in New Issue
Block a user