Manual

Table Of Contents
DobotVisionStudio User Guide
Issue V4.1.2 (2022-06-08) User Guide Copyright © Yuejiang Technology Co., Ltd.
139
The tool of OCR recognition is used to read the character text on the label. This tool requires
character training. The specific steps are shown below.
1. Drag the character recognition module in to the flow editing area and set relevant parameters after
double-click.
2. Set parameters before character training.
Running Parameters:
Character Polarity: it has two types, including dark on light and light on dark.
Character Width Range: it is used to set the min. width and max. width of character, and
the range is [1, 512].
Width Type: it has two types, including changeable type and equal-width type. When the
character width is the same, it is recommended to select equal-width type. Otherwise, select
changeable type.
Character Height Range: it sets the min. height and max. height of the character, and the
range is [1, 512].
Binary Ratio: it is the parameter of binaryzation threshold, and the range is [0, 100].
Area of Fragment: the area range of single character, and the range is [0, 100000].
Accept Threshold: it refers to the min. score of a character that can be recognized.
Advanced Parameters:
Distance Threshold: the distance from the Blob to the text baseline. If the actual value is
greater than this parameter, it will be deleted.
Ignore Borders: whether to delete the blob that is in touch with the ROI boundary.
Main Direction Range: the search range of text tilt angle, and the range is [0, 45].
Tilt Range: the max. range that allows characters to be tilted, and the range is [0, 45].
Min. Gap of Characters: the min. transverse gap between two characters.
Min. Gap of Lines: the min. gap between multi line characters.
Max Width and Height Ratio: the largest width and height ratio range of a single character
circumscribed rectangle is [1, 1000].
Classification Method: it has three methods, including the nearest distance, the highest
weight and the fastest rate.
Stroke Width Filter Enable: Whether to enable stroke width filter or not.
Stroke Width Range: the width range of a single stroke, and it can only take effect after
the width filter is enabled, and the max. range is [1, 64].
Similarity Type: it supports euclidean distance and cosine distance. Different types will
affect recognition rate.
3. Double-click fonts training.
- Select the target character area.
- Click Draw Character and it will show characters that are divided by red box.