# Creating Models in Blue Locate

The Blue Locate tool can generate a model A specific spatial arrangement of a set of features (Blue Locate and Blue Read tools only.) During a post-processing step, the Blue Locate and Blue Read tools can fit all of the features detected in an image to the models defined for the tool. The overall pose and identity of the model is then returned. based on the geometric relationship of features (Node Model) or areas of the image (Layout Model).

## Blue Locate Node Model

Node models are a used to group features together that appear in a similar geometrical position, and a node model provides a transform that can be consumed by downstream tools to adjust the orientation of Views.

The node model has its own properties relating to the number of features that can be found (nodes), the identifier of each node that can be found, as well as the minimum distances and angle range that the model can exist in. Models can also be created and detected after 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. the tool.

Each node of the node model also has some of its own information, such as angle, position in the node model, and what the valid features are for that node.

## Blue Locate Layout Model

The Blue Locate tool also gives you the option of creating a region-based model, where you can instruct the tool to search specific areas of the image for specified features. The layout model can be used to do the following:

- Check for the presence of a 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). within one or more regions.
- Verify that the correct feature is in the region, along with the number of instances of that feature within the region.
- Provide a Region of Interest (ROI The Region of Interest (ROI) defines the area of operation for the tool. The ROI preserves the positions, angles, stretch and skew of the original image.) for a downstream tool.

Note: For more information on using a model to provide a 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. for a downstream tool, see ROI Options Following a Blue Locate Tool.