add createThreadsForRecognition