Text this: Research on Surface Defect Detection of Rare-Earth Magnetic Materials Based on Improved SSD