A computer vision inspection system has been developed that learns the difference between good and bad parts by being shown several identified good and bad parts. The model, formed during the training session, contains identifying points which are used for locating parts and inspection tests which apply only to pertinent regions of the part. Using the model, the system can distinguish between good parts and bad parts with an arbitrary number of defects. It can also learn to classify parts if it is shown the different parts during the training session. Examples of INSPECTOR inspecting industrial parts are shown.