Text this: Integrating PCA and GVF snakes for high-accuracy metal surface defect detection in robotics automation