diff --git a/client/client.py b/client/client.py index 68dbabe..ce9b36d 100755 --- a/client/client.py +++ b/client/client.py @@ -114,6 +114,8 @@ def ups(): def color_correction(r,g,b): amp = [1,1,0.8] + if r < 5 and g < 5 and b < 5: + return 0,0,0 return int(r*amp[0]), int(g*amp[1]), int(b*amp[2]) def ambient_light():