Text this: Variable illumination and invariant features for detecting and classifying varnish defects