New ScreenPanel
This commit is contained in:
19
script/mxsc/Calibration1
Executable file
19
script/mxsc/Calibration1
Executable file
@@ -0,0 +1,19 @@
|
||||
CAMERA = tst
|
||||
|
||||
|
||||
r = show_panel(tst)
|
||||
|
||||
|
||||
def get_point(name):
|
||||
m = show_message("Click at point:" + name, title = "Calibration", blocking = False)
|
||||
return r.waitClick(100000)
|
||||
|
||||
|
||||
|
||||
p1 = get_point("p1")
|
||||
p2 = get_point("p2")
|
||||
p3 = get_point("p3")
|
||||
p4 = get_point("p4")
|
||||
|
||||
|
||||
print p1, p2, p3, p4
|
||||
Reference in New Issue
Block a user