Commit 9f4b3f92 authored by Taddeüs Kroes's avatar Taddeüs Kroes

Improve bomb/held detection parameters based on screenshots

parent a296ca9c
...@@ -24,7 +24,7 @@ DETECT_BASIC_Y = 15 ...@@ -24,7 +24,7 @@ DETECT_BASIC_Y = 15
DETECT_BOMB_X = 22 DETECT_BOMB_X = 22
DETECT_BOMB_Y = 43 DETECT_BOMB_Y = 43
DETECT_BOMB_Y_TOLERANCE = 7 DETECT_BOMB_Y_TOLERANCE = 7
DETECT_BOMB_CHECK = 9, 20, 137, 230, 9 # x, y, hue, value, tolerance DETECT_BOMB_CHECK = 8, 20, 137, 185, 9 # x, y, hue, min_value, y_tolerance
MIN_BASIC_SAT = 180 MIN_BASIC_SAT = 180
MIN_BOMB_SAT = 130 MIN_BOMB_SAT = 130
...@@ -36,7 +36,7 @@ DETECT_HELD_Y = 579 ...@@ -36,7 +36,7 @@ DETECT_HELD_Y = 579
DETECT_EXA_LIGHT_X = 30 DETECT_EXA_LIGHT_X = 30
DETECT_EXA_LIGHT_Y = 609 DETECT_EXA_LIGHT_Y = 609
EXA_LIGHT_HUE = 226 EXA_LIGHT_HUE = 226
MIN_EXA_LIGHT_VAL = 180 MIN_EXA_LIGHT_VAL = 172
def is_hue(h, hexpect): def is_hue(h, hexpect):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment