Text this: A knowledge based approach for detecting defects on a textured surface /