After the ROI The Region of Interest (ROI) is the area of the image where the vision tool operates. step, proceed to the Train step.

1. Set the Training parameters.

   Note: The default settings work well only in cases where the image and pattern to be trained have good contrast and little or no background clutter, such as a textured surface. Even in cases where the image is clear and uncluttered, it is still useful to optimize the tool for speed, efficiency, and accuracy.
   Training Parameters

   Parameter | Description
   Coarse Granularity | Specifies the coarse granularity in pixels. The tool uses coarse granularity to find large features to find an approximate pattern match in a run-time image quickly (1 to 30; 2 = default). Note: When the Auto Select Coarse Granularity parameter is enabled, the Coarse Granularity parameter is not available.
   Auto Select Coarse | When enabled, automatically selects the pattern granularity size to be used during the course search phase. Coarse granularity is used to find large features to find an approximate pattern match in a run-time image quickly. Note: The Auto Select Coarse Granularity parameter is enabled by default.
   Feature Threshold | Specifies the minimum contrast of trained features. Decrease the value to train additional low contrast features, or increase it to ignore them (1 to 100; 20 = default).
   Fine Granularity | Specifies the fine granularity in pixels. Fine granularity is used to find small features to determine the pattern location precisely (1 to 10; 1 = default). Note: When the Auto Select Fine Granularity parameter is enabled, the Fine Granularity parameter is not available. The value for Fine Granularity cannot be greater than the value for Coarse Granularity.
   Auto Select Fine Granularity | When enabled, automatically selects the pattern granularity to be used during the fine search phase. Note: The Auto Select Fine Granularity parameter is enabled by default.
   Timeout | Specifies the amount of time, in seconds (0 to 300; 5 = default), that the tool searches for a valid pattern before execution is halted.
   Pattern Origin | Specifies the X and Y origin of the training pattern, as offsets from the center of the training region.
   X | Specifies the X offset from the center of the trained pattern.
   Y | Specifies the Y offset from the center of the trained pattern.
   Width | Specifies the width of the trained pattern.
   Height | Specifies the height of the trained pattern.
   Rotation | Specifies the rotation of the trained pattern.

2. Click Train Model.