From 1c005d4ecf0cc063b13b0c258b345cad8b98cf68 Mon Sep 17 00:00:00 2001 From: gac-x04sa Date: Tue, 30 Oct 2018 17:11:49 +0100 Subject: [PATCH] Script execution --- script/device/Image.py | 1 + 1 file changed, 1 insertion(+) diff --git a/script/device/Image.py b/script/device/Image.py index 86f9ba7..365caf4 100644 --- a/script/device/Image.py +++ b/script/device/Image.py @@ -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