A two-stage weakly supervised framework for endface defect detection in shaft metal parts | Synapse