3.2 Surface defect image processing
⑴ Image marking
A prerequisite for deep learning models to achieve better image recognition and classification results is a large-scale dataset of labeled training sets [16]. LabelIMG is a free, open source graphical image annotation tool. The LabelIMG tool is used to label the training set with the labels of pits, wears, snowflakes and cracks. A digital image of the Si3N4 ceramic bearing inner ring surface defects is acquired and an annotation file is output. The file comes with an interactive drawing containing the borders of all pixels of the Si3N4 ceramic bearing inner ring surface defects, with bounding boxes drawn around each identified defect in the image.