ICRA/config.toml

35 lines
1.3 KiB
TOML

# Optional global settings
# language must correspond to a file name in app/lang (e.g. "en", "de").
language = "en"
[options]
# Set to true to clear exclusion shapes whenever the image changes in the preview viewer.
reset_exclusions_on_image_change = false
# Hex color code for the match overlay (e.g. "#ff0000" for Red, "#00ff00" for Green)
# This is the color that paints over pixels that successfully match your HSV ranges.
overlay_color = "#ff0000"
# Hex color code for the background to be excluded (default #1f2937)
# This is useful for automatically removing flat background colors from UI screenshots
# or web scrapings before the analysis runs.
exclude_bg_color = "#1f2937"
# Tolerance for background color matching (0-255, default 5)
# A higher value will exclude pixels that are "close" to the hex color above, allowing
# you to bypass slight compression artifacts or noise in the image background.
exclude_bg_tolerance = 5
[defaults]
# Override any of the following keys to tweak the initial slider values whenever
# the application starts.
# hue_min, hue_max, sat_min, val_min, val_max accept floating point numbers.
# alpha accepts an integer between 0 and 255.
hue_min = 250.0
hue_max = 310.0
sat_min = 15.0
sat_max = 100.0
val_min = 15.0
val_max = 100.0
alpha = 150