Inspecting patterns on the surface of objects {using a comparative method with stored comparision signal}