Reverted to working color recognition and adjusted values for examination conditions.

This commit is contained in:
d3rped 2018-03-28 15:20:08 +02:00
parent 3d9f674eab
commit be9aa253cf

View file

@ -43,7 +43,7 @@ class Sensor:
self.lastcolor = None self.lastcolor = None
self.edgebrightness = None self.edgebrightness = None
self.red = (40, 30, 30) self.red = (40, 30, 30)
self.blue = (40, 40, 70) self.blue = (40, 40, 60)
def refresh(self): def refresh(self):
self.RGB = self._camera.bin_data("hhh") self.RGB = self._camera.bin_data("hhh")