Appearance-based methods for object recognition and visual localisation from hand-held and wearable cameras