Update regionals/bioglow_main.py

This commit is contained in:
2026-11-05 03:32:02 +00:00
parent c0329e4f42
commit c809f1ae9a

View File

@@ -35,7 +35,7 @@ def detect_color(h, s, v, reflected):
return "Orange" return "Orange"
elif 30 < h < 60 and v > 50: # yellow elif 30 < h < 60 and v > 50: # yellow
return "Yellow" return "Yellow"
elif 70 < h < 90 and s > 60: # neon green elif 70 < h < 95 and s > 55: # neon green
return "Lime" return "Lime"
elif 100 < h < 160: # green - do it vertically not horizontally for accuracy elif 100 < h < 160: # green - do it vertically not horizontally for accuracy
return "Green" return "Green"