# ViDi Tools Tips

Consider the following tips when using the various Cognex ViDi Tools:

- To centralize focus of the tool, add a mask around the border of the view, and set the Masking Mode parameter to Mask (one of the Sampling Tool Parameters). This setting will focus the response of the network to the center of the ROI.

- If your application contains rotated features, teach the Blue Locate tool to properly handle rotation.

  - Enable the Oriented parameter (see the Set a Feature Label Graphic to Oriented topic for more information).
  - Make sure that all of the various rotation variances are accurately labled.
- When using a Node Model, enable Shear. With Shear enabled, this will allow the tool's model search space to apply an affine transform to the found region for downstream tools.

- When using the Red Analyze tool in Unsupervised Mode, use the View Inspector to set the Iterations parameter (one of the Processing Tool Parameters) and the Training Passes parameter (one of the Training Tool Parameters).

  The View Inspector graphically illustrates areas of the image where the tool may not be responding (or not responding strongly enough) to small defects in the image. The heat map that is generated may show "warmth" where there are defects, but not enough heat for the defect to be returned. By increasing the iterative trainings, this will force the tool to spend more time searching these "warm spot" areas, allowing the tool to find and report the defects.

  The Iteration parameter, when increased, will cause the tool to spend more time searching the warm spots in the image.

  The Training Passes parameter, when increased, will attempt to have the tool's response more homogenous between low-noise and high-noise regions. A typical indication that this parameter should be increased is when the heat map is much "hotter" on high-noise (i.e. highly structured, but good regions, of the image) than it is on low-noise regions (i.e. low complexity, normal regions of the image).