A method of detecting the defects of floating seal is described. The proposed automatic inspection system consists of a high resolution line scan camera and a microcomputer. A 4096x4096 picture is taken from the line scan camera is 8-bit digital form and