Script execution

This commit is contained in:
gac-x04sa
2018-10-30 16:25:04 +01:00
parent 7adaad6530
commit 55f7a4221c
+1 -1
View File
@@ -32,7 +32,7 @@ class Image(DeviceBase, Readable):
#unixCommand = "%s%s %s %d %d %d %d -median 30" % (commandDir,"/bin/image_get_int.py","/tmp/spec_image_info.dat", \
# threshold1, threshold2, threshold3, threshold4)
#ret = run("image_get_int.py", [None, tmp_file, threshold1, threshold2, threshold3, threshold4, "-median", 30])
#I_sum, area_I, thresh1_count, thresh2_count, thresh3_count, thresh4_count, I_sum_bgr, area_bgr) = ret
(I_sum, area_I, thresh1_count, thresh2_count, thresh3_count, thresh4_count, I_sum_bgr, area_bgr) = ret
print ret
return I_sum