Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
exapunks-hackmatch-bot
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
exapunks-hackmatch-bot
Commits
9f4b3f92
Commit
9f4b3f92
authored
Apr 08, 2020
by
Taddeüs Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve bomb/held detection parameters based on screenshots
parent
a296ca9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
parse.py
parse.py
+2
-2
No files found.
parse.py
View file @
9f4b3f92
...
...
@@ -24,7 +24,7 @@ DETECT_BASIC_Y = 15
DETECT_BOMB_X
=
22
DETECT_BOMB_Y
=
43
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_BOMB_SAT
=
130
...
...
@@ -36,7 +36,7 @@ DETECT_HELD_Y = 579
DETECT_EXA_LIGHT_X
=
30
DETECT_EXA_LIGHT_Y
=
609
EXA_LIGHT_HUE
=
226
MIN_EXA_LIGHT_VAL
=
1
80
MIN_EXA_LIGHT_VAL
=
1
72
def
is_hue
(
h
,
hexpect
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment