Real time object recognition