# Diagnostics

The Diagnostics tab displays information about how the OCRMax function segmented characters in the ROI. This data can be useful in determining which parameters to adjust, and how much, if characters and/or character fragments are not being correctly segmented. Use this tab in conjunction with the Show Diagnostics parameter for a graphic display of the diagnostic data.

Note: This tab will update automatically when any parameters are changed and/or a new image is acquired or loaded.

## Accepted Characters

- Width: Displays the minimum and maximum measured width of the accepted characters, in pixels.
- Height: Displays the minimum and maximum measured height of the accepted characters, in pixels.
- Size: Displays the minimum and maximum measured size of the accepted characters, in pixels.

## Accepted Fragments

- Size: Displays the minimum and maximum measured size of the accepted fragments, in pixels.
- Contrast: Displays the minimum and maximum measured contrast of the accepted fragments, as a percentage.
- Distance to Mainline (%): Displays the maximum Y distance of all the accepted fragments, as a percentage of the mainline height.

## Mainline Data

- Mainline Angle: Displays the angular orientation measurement of the character regions, relative to the ROI, in degrees.
- Character Skew: Displays the angular skew measurement of the character regions, relative to the ROI, in degrees.
- Character Pitch: Displays the minimum and maximum pitch measurement of the characters, in pixels.
- Inter-Character Gap: Displays the minimum and maximum measured inter-character gap, in pixels.
- Intra-Character Gap: Displays the minimum and maximum measured intra-character gap, in pixels.

## Rejected Characters

- Width: Displays the minimum and maximum measured width of the rejected characters, in pixels.
- Height: Displays the minimum and maximum measured height of the rejected characters, in pixels.
- Size: Displays the minimum and maximum measured size of the rejected characters, in pixels.

Note: If there are no rejected characters, #ERR will be displayed.

## Rejected Fragments

- Size: Displays the minimum and maximum measured size of the rejected fragments, in pixels.
- Contrast: Displays the minimum and maximum measured contrast of the rejected fragments, as a percentage.
- Distance to Mainline (%): Displays the maximum Y distance of all the rejected fragments, as a percentage of the mainline height.