Added sliders to dynamically adjust detection.