Tweaked and debugged recognition pipeline in preparation for wet test.