Reverted to working color recognition and adjusted values for examination conditions.
This commit is contained in:
parent
3d9f674eab
commit
be9aa253cf
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue