On-line inspection and accuracy analysis for parts using neural networks