add possiblity to set a probability threshold for the auto recognition