Text this: Practical algorithms for image analysis