How to remove specular reflections from the image?

Thanks! That would be a great solution. However, my goal is to build an app that can match unprocessed photos of tiles, taken in a fast-paced environment, with images from a catalog.