From 8bdac13fca83bcc1c5603eb0b546435b7b493e3d Mon Sep 17 00:00:00 2001 From: gac-S_Changer Date: Wed, 5 Jul 2017 14:50:44 +0200 Subject: [PATCH] Script execution --- script/test/PuckDetectionTest.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 script/test/PuckDetectionTest.py diff --git a/script/test/PuckDetectionTest.py b/script/test/PuckDetectionTest.py new file mode 100644 index 0000000..2995f9a --- /dev/null +++ b/script/test/PuckDetectionTest.py @@ -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") + \ No newline at end of file