Fast loop detector for sequences of monocular images