From 18d2421d8c776295a546ef74854c8b30d1606305 Mon Sep 17 00:00:00 2001 From: Louis-Guillaume DUBOIS Date: Sat, 23 May 2015 22:40:44 +0200 Subject: [PATCH] better default params in Filtre.cfg --- cfg/Filtre.cfg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cfg/Filtre.cfg b/cfg/Filtre.cfg index 94bab96..1ca11a9 100755 --- a/cfg/Filtre.cfg +++ b/cfg/Filtre.cfg @@ -11,10 +11,10 @@ gen = ParameterGenerator() gen.add("z_max", double_t, 0, "The maximal altitude of the hand", 50., 0.) gen.add("hue", double_t, 0, "The color hue of the hand", 0., 0., 180.) gen.add("delta_hue", double_t, 0, "The tolerance of the hue filter", 20., 0., 180.) -gen.add("sat_min", double_t, 0, "The minimum color sat of the hand", 0., 0., 1.) -gen.add("sat_max", double_t, 0, "The maximum color sat of the hand", 0., 0., 1.) -gen.add("val_min", double_t, 0, "The minimum color val of the hand", 0., 0., 1.) -gen.add("val_max", double_t, 0, "The maximum color val of the hand", 0., 0., 1.) +gen.add("sat_min", double_t, 0, "The minimum color saturation of the hand", 0.1, 0., 1.) +gen.add("sat_max", double_t, 0, "The maximum color saturation of the hand", 1., 0., 1.) +gen.add("val_min", double_t, 0, "The minimum color value of the hand", 0.1, 0., 1.) +gen.add("val_max", double_t, 0, "The maximum color value of the hand", 1., 0., 1.) #gen.add("bool_param", bool_t, 0, "A Boolean parameter", True)