Embodiments of the present disclosure relate to a method and apparatus for outputting information. The method can include: acquiring an image of a to-be-inspected object; segmenting the image into at least one subimage; for a subimage in the at least one subimage, inputting the subimage into a pre-trained defect classification model to obtain a defect category corresponding to the subimage; and outputting defect information of the object based on a defect category corresponding to each subimage.