Script execution

This commit is contained in:
gac-x04sa
2018-10-30 17:11:49 +01:00
parent a915790e8a
commit 1c005d4ecf
+1
View File
@@ -60,6 +60,7 @@ class Image(DeviceBase, Readable):
def read(self):
(I_sum, area_I, thresh1_count, thresh2_count, thresh3_count, thresh4_count, I_sum_bgr, area_bgr) = self.get_int()
ret = I_sum
print ret
if area_bgr > 0:
ret = ret - ((I_sum_bgr / area_bgr) * area_I)
return ret