Real-Time Recognition of Planar Targets on Mobile Devices. A Framework for Fast and Robust Homography Estimation