Text this: A noise elimination procedure for printed circuit board inspection system