Added clear image on recognize phase