127
Smart Camera / Vision-Sensor / 1D-/2D-Code-Scanner / OCR Reader
11.11.3.2. Search Box
Objective
The region of interest within codes are detected can be specified. With the help of a
smaller search box, processing time is reduced and the refresh rate is increased.
Note: The area to examined must lie completely within the search box.
Image Area
By default, the search box encompasses the entire camera image. It appears in the
image area as a dashed frame, where it can be adjusted.
Property
Search box settings are also displayed in the settings/results area.
Width Width of the search box
Height Height of the search box
The following settings/results are displayed for the search box under origin:
X (px)
Coordinate of the sensor image coordinate system (see section 18.3)
Y (px)
11.11.3.3. Enhanced Parameter
Element
Size Min
Minimum size of bar code elements, i.e. the minimum width of bars and spaces. For
small bar codes, the value should be reduced to 1.5. In the case of huge barcodes, the
value should be increased, which results in a shorter execution time. Typical values:
[1.5 . . . 10.0] Default: 2.0
Element
Size Max
Maximum size of bar code elements, i.e. the maximum width of bars and spaces. This
value should be sufficiently high in order to find the complete bar code region. On the
other hand the value should be adequately low such that two neighboring bar codes
are not fused into a single one. Typical values: [4.0 . . . 60.0] Default: 8.0
Element
Height Min
Minimum bar code height. The default value of this parameter is -1, meaning that the
bar code reader automatically derives a reasonable height from the other parameters.
Just for very flat and very high bar codes a manual adjustment of this parameter can
be necessary. In the case of a bar code with a height of less than 16 pixels the respec-
tive height should be set by the user. Note, that the minimum value is 8 pixels. If the
bar code is very high, i.e. 70 pixels and more, manually adjusting to the respective
height can lead to a speedup of the subsequent finding and reading operation. Typical
values: [-1, 8 . . . 64] Default: -1