low lightning flashing reduction
This commit is contained in:
parent
74b5f83998
commit
180d4ebe13
@ -114,6 +114,8 @@ def ups():
|
|||||||
|
|
||||||
def color_correction(r,g,b):
|
def color_correction(r,g,b):
|
||||||
amp = [1,1,0.8]
|
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])
|
return int(r*amp[0]), int(g*amp[1]), int(b*amp[2])
|
||||||
|
|
||||||
def ambient_light():
|
def ambient_light():
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user