Added possibility to set valid_points_threshold in detection configuration files. This is useful for setups where only few points are visible, thus this threshold has to be lowered for detection to start.