Text this: A Multi-Dimensional Vision-Based System for External Thread Defect Detection with Integrated Security Defense.