Text this: Real-Time Detection of Lines and Grids