# Manual Mode Parameters

The table below describes the supported parameters in manual mode Manual mode is a grid-search mode in the Cognex Deep Learning Parameter Search utility, which runs tests on every selected parameter and their value ranges..

Parameter | Tool | Data Type | Description
--- | --- | --- | ---
Aspect Ratio | Blue Locate Blue Read Green Classify (Legacy) Red Analyze (Legacy, Unsupervised, Standard) | Double | The syntax is a number, 0 to 100 (where 0 = off), which will be displayed as a percentage. If you want to test 0%, 2% and 5%, you would enter: 0 2 5
Angle Range | Blue Locate Blue Locate | Interval | An interval by 2 angle values. Each angle (the minimum and the maximum) value is double-formatted.
Aspect-Ratio Range | Blue Locate | Interval | An interval by 2 aspect-ratio values. Each apsect-ratio (the minimum and the maximum) value is double-formatted.
Border Type | Blue Locate Blue Read Green Classify (Legacy) Red Analyze (Legacy, Unsupervised) | Enum: Black White Reflect Wrap Replicate | The syntax is the name of the parameter setting.
Capacity | Red Analyze (Unsupervised) | Enum: Huge Large Medium Small Tiny | The syntax is the name of the parameter setting.
Centered | Red Analyze (Legacy, Unsupervised) | Boolean | The syntax is the Boolean state, True or False.
Color | Blue Locate Green Classify (Legacy) Red Analyze (Legacy, Unsupervised) | Int32 | The syntax is a 32-bit integer, 1 through 4. If you want to test greyscale, BGR and BGR(A), enter: 1 3 4
Contrast | Blue Locate Blue Read Green Classify (Legacy) Red Analyze (Legacy, Unsupervised) | Double | The syntax is a number, 0 to 100 (where 0 = off), which will be displayed as a percentage.
Epoch Count | Blue Locate Blue Read Green Classify (Legacy) Red Analyze (Legacy, Unsupervised) | Int32 | The syntax is a 32-bit integer, 1 through 100000. Note: This parameter is selected by default on the Search page.
Exclusive | Green Classify (Legacy) | Boolean | The syntax is the Boolean state, True or False.
Feature Filter | Blue Locate Blue Locate | String | The syntax is a string representing the filter to be used. If you want to filter features whose center is within the 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., enter: x in [0,width] and y in [0,height]
Feature Size | Blue Locate Blue Read Green Classify (Legacy) Red Analyze (Legacy, Unsupervised) | Size | The width and height value of the feature size The subjective size of the image features that you feel are most important for analyzing image content. The feature size determines the size of the image region used for sampling. Only used with Blue Locate, Blue Read, and Legacy type tools.. Note: This parameter is selected by default on the Search page.
Size Range | Blue Locate Blue Locate | Interval | An interval by 2 size values. Each size (the minimum and the maximum) value is double-formatted
Flip | Blue Locate Green Classify (Legacy) Red Analyze (Legacy, Unsupervised) | Enum | The syntax is the name of the parameter setting. None, Horizontal, Vertical , or Both.
Polarity | Blue Read | String | The syntax is the name of the parameter setting. It also supports Enum type input in GUI. Actual or Invert.
Invert Contrast | Blue Locate Blue Read Green Classify (Legacy) Red Analyze (Legacy, Unsupervised) | Boolean | The syntax is the Boolean state, True or False.
Low Precision | Green Classify (Legacy) Red Analyze (Legacy, Unsupervised) | Boolean | The syntax is the Boolean state, True or False.
Luminance | Blue Locate Blue Read Green Classify (Legacy) Red Analyze (Legacy, Unsupervised) | Double | The syntax is a number, 0 to 100 (where 0 = off), which will be displayed as a percentage.
Masking Mode | Blue Locate Blue Read Green Classify (Legacy) Red Analyze (Legacy, Unsupervised) | Enum: Transparent Mask Overlay | The syntax is the name of the parameter setting.
Precision | Blue Locate | Double | The syntax is a number, 0 to 100 (where 0 = off), which will be displayed as a percentage.
Region Filter | Red Analyze (all) | String | The syntax is a string representing the filter to be used. Example: area > 500
Rotation | Blue Locate Green Classify (Legacy) Red Analyze (Legacy, Unsupervised) | List of intervals | The syntax is [low,high], where "low" and "high" are numbers.
Sampling Density | Blue Locate Blue Read Green Classify (Legacy) Red Analyze (Legacy, Unsupervised) | Double | The syntax is a number, 0 to 10 (where 0 = off), which will be displayed as a percentage.
Iterations | Red Analyze (Unsupervised) | Int32 | The syntax is a 32-bit integer, 1 through 10.
Scale | Blue Locate Green Classify (Legacy) Red Analyze (Legacy, Unsupervised) | Double | The syntax is a number, 0 to 100 (where 0 = off), which will be displayed as a percentage.
Shear | Blue Locate Blue Read Green Classify (Legacy) Red Analyze (Legacy, Unsupervised) | Double | The syntax is a number, 0 to 100 (where 0 = off), which will be displayed as a percentage.
Simple Regions | Red Analyze (Legacy, Unsupervised) | Boolean | The syntax is the Boolean state, True or False.
Threshold | Blue Locate Blue Read Green Classify (Legacy) | Double | The syntax is a number, 0 to 100 (where 0 = off), which will be displayed as a percentage.
Threshold | Green Classify (Standard) | Single | The syntax is a number, 0 through 100.
Threshold | Red Analyze Unsupervised | Double | The syntax is a number higher than 0. No upper bound limit.
Threshold | Red Analyze Legacy and Standard | Dictionary | Each threshold (for each class) value is double-formatted, between 0 and 1. Example of 3 parameter values: { "defect1": 0.5, "defect2": 0.5, "defect3": 0.5 } { "tag1": 0.5, "tag2": 0.8, "tag3": 0.5 } { "tag1": 0.5, "tag2": 0.7, "tag3": 0.6 }
Training Passes | Red Analyze (Unsupervised) | Int32 | The syntax is a 32-bit integer, 1 through 3.
Use Baseline | Red Analyze (Unsupervised) | Boolean | The syntax is the Boolean state, True or False.
Network Model | Blue Locate, Blue Read, all Legacy type tools | String | The syntax is the name of the parameter setting. It also supports Enum type input in GUI following the tool architectures: Small, Medium, Large. Note: This parameter is selected by default on the Search page.
Detail | Blue Locate | int32 | The syntax is a 32-bit integer, 1 to 4. It also supports Enum type input in GUI: 1, 2, 3, 4
Patch Size | Red Analyze (Standard) | String | It also supports Enum type input in GUI. 128x128, 256x256 Note: This parameter is selected by default on the Search page.
Patience Epochs | Green Classify (Standard) Red Analyze (Standard) | Int32 | The syntax is a 32-bit integer, 0 through 100.
Class Weight | Green Classify (Standard) | Dictionary | Example of 3 parameter values: { "tag1": 1, "tag2": 1, "tag3": 1 } { "tag1": 1, "tag2": 1, "tag3": 2 } { "tag1": 2, "tag2": 1, "tag3": 1 } The ratio of Class 1 to Class 2 as 2:1 means that the number of 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. images for Class 1 is as twice as Class 2.
Validation Set Ratio | Green Classify (Standard) Red Analyze (Standard) | Int32 | The syntax is a 32-bit integer, 1 through 50.
Horizontal Flip | Boolean | The syntax is the Boolean state, True or False. Note: This parameter is selected by default on the Search page.
Vertical Flip | Boolean | The syntax is the Boolean state, True or False. Note: This parameter is selected by default on the Search page.
Rotation 90º | Boolean | The syntax is the Boolean state, True or False. Note: This parameter is selected by default on the Search page.
Rotation | Boolean | The syntax is the Boolean state, True or False.
Zoom In | Boolean | The syntax is the Boolean state, True or False.
Colorwise | Boolean | The syntax is the Boolean state, True or False.
Gradation | Boolean | The syntax is the Boolean state, True or False.
Distortion | Boolean | The syntax is the Boolean state, True or False.
Contrast | Boolean | The syntax is the Boolean state, True or False.
Luminance | Boolean | The syntax is the Boolean state, True or False.
Sharpen | Boolean | The syntax is the Boolean state, True or False.
Blur | Boolean | The syntax is the Boolean state, True or False.
Noise | Boolean | The syntax is the Boolean state, True or False.