Set up the recognition process