Update regionals/bioglow_main.py
This commit is contained in:
@@ -35,7 +35,7 @@ def detect_color(h, s, v, reflected):
|
||||
return "Orange"
|
||||
elif 30 < h < 60 and v > 50: # yellow
|
||||
return "Yellow"
|
||||
elif 70 < h < 90 and s > 60: # neon green
|
||||
elif 70 < h < 95 and s > 55: # neon green
|
||||
return "Lime"
|
||||
elif 100 < h < 160: # green - do it vertically not horizontally for accuracy
|
||||
return "Green"
|
||||
|
||||
Reference in New Issue
Block a user