Script execution
This commit is contained in:
11
script/test/PuckDetectionTest.py
Normal file
11
script/test/PuckDetectionTest.py
Normal file
@@ -0,0 +1,11 @@
|
||||
import datetime
|
||||
index = 0
|
||||
prefix = str(datetime.datetime.now().strftime("%Y%m%d_%H%M%S"))
|
||||
|
||||
while True:
|
||||
suffix = "%04d - " % index
|
||||
print (suffix),
|
||||
run("imgproc/LedDetectionProc.py")
|
||||
index=index+1
|
||||
save_image(image, "{images}/" +prefix + "_" + suffix +".png", "png")
|
||||
|
||||
Reference in New Issue
Block a user