摘要 |
There is disclosed a method for inspecting garments for holes comprising front-lighting the garment against a contrasting background and forming a pixel image thereof, isolating garment pixels from background pixels by automatically selecting an optimum binarisation threshold grey level, binarising the image at that level, determining the garment boundary, testing for consistency of grey level within the garment boundary on the binarised image along rows and columns of pixels within the garment boundary and noting inconsistent pixels, and identifying as holes only pixels which have been noted as inconsistent in both horizontal and vertical tests. |