# Neural Network Processing

Neural network processing is a step in the training Training is the process that your tool, which is a neural network, is learning about the features (pixels) based on the labels you made. For example, a tool will learn the defect/normal pixels in each image based on the defect/normal labels you drew. The goal of the tool Training is learning enough to give the correct inspection results of whether an unseen image is defective or not. The key to training is to ensure that you include all possible variations within your training set, and that your images are accurately labeled. Training times vary by the application, tool setup and the GPU in the PC being used to train the network. and the deployment phases. After training, the VisionPro Deep Learning application automatically processes the tool and generates markings on the images.

When processing, the application processes samples from the image and generates a response from the tool for each. Based on the response, the application assigns a probability to each pixel in the sampled region. The application assembles whole-image probability maps from the interpolated responses to the individual samples. The results are affected by the Threshold parameter. The meaning of the probabilities depends on the tool.

- Blue Locate tool:

  The probability means that the center of a labeled feature A feature is a visually distinguishable area in an image. Features typically represent something of interest for the application (a defect, an object, a particular component of an object). is within that pixel. If the probability is higher than the threshold you provide, the tool provides the feature identity and the probability that the identification is correct.

- Blue Read tool:

  Similar to the Blue Locate tool, but specifically for reading tasks.

- Green Classify tool:

  The probability that the classification is correct.

- Legacy and Standard type Red Analyze tool:

  The probability for each pixel in the sampling region that the pixel is within a defect.

- Unsupervised type Red Analyze tool:

  The probability is the deviation between the expected and the actual appearance of the sampling region.

Note: These probabilities might not align with your judgment. The tools have a limited view A view of an image is a region of pixels in an image. Tool processing is limited to the pixels within the view. You can manually specify a view, or you can use the results of an upstream tool to generate a view. of the world as opposed to the rich visual experience of human beings.