Inspecting surface mounted devices using k nearest neighbor and Multilayer Perceptron | Synapse