Fix wrong cords.
This commit is contained in:
+1
-1
@@ -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: {}')
|
||||
|
||||
Reference in New Issue
Block a user