Script execution

This commit is contained in:
gac-x04sa
2019-07-04 13:32:01 +02:00
parent 3bbb7f6fb0
commit 809d176b76

View File

@@ -15,7 +15,12 @@ class ImageIntensity(DeviceBase, Readable):
AUTO_THRESH1_COUNT=thresh1_count
AUTO_THRESH2_COUNT=thresh2_count
AUTO_THRESH3_COUNT=thresh3_count
AUTO_THRESH4_COUNT=thresh4_count
AUTO_THRESH4_COUNT=thresh4_count
AUTO_THRESH1 = self.pixel.threshold1
AUTO_THRESH2 = self.pixel.threshold2
AUTO_THRESH3 = self.pixel.threshold3
AUTO_THRESH4 = self.pixel.threshold4
ret = I_sum
#if area_bgr > 0:
# ret = ret - ((I_sum_bgr / area_bgr) * area_I)