An apparatus for defect detection in a printing system, comprising a sensor device for sensing a surface of a sheet and for generating data representing a height map of the sheet, and a processor device for processing the data from the sensor device, wherein the processor device is configured to analyze the height map to detect a presence of a deformation in the sheet. The processor device is further configured to, when a deformation is detected, to determine at least one property of the deformation, to classify the deformation with respect to a plurality of deformation classes by means of the at least one property of the deformation, and to determine a suitability of the sheet for printing based on the deformation class wherein the deformation has been classified.