Update recognize.c

merging offline developement