Text this: Image Processing of Edge and Surface Defects