Text this: High-resolution optical inspection system for fast detection and classification of surface defects.