Configure a Bar Code Locator
Use the procedure in this topic to configure a Bar Code Locator.
The Enhanced Bar Code Locator is processed during production only. As a result, the design time results may differ from the runtime results when Enhanced Bar Code settings are used.
Before you can configure an Bar Code Locator verify that the following steps are complete:
-
Open the
Bar Code Locator
Properties.
-
On the
General tab, configure the following settings.
Setting
Description
Bar Code Recognition Engines
Select one of the following methods to recognize bar codes.
- OmniPage:
-
Uses the OmniPage recognition engine to detect and extract bar codes. (Default: Selected)
- Enhanced Bar Code:
-
Uses Enhanced Bar Code recognition engine to detect and extract bar codes.
- OmniPage and Enhanced Bar Code:
-
Uses both the OmniPage recognition and Enhanced Bar Code recognition to extract bar codes.
When this value is selected, the Voting behavior when locations match setting is available to determine which recognition engine results are used if the bar code locations for each engine are found at the same coordinates.
- Use OmniPage result:
-
The OmniPage result is extracted rather than the Enhanced Bar Code result.
- Use Enhanced Bar Code result:
-
The Enhanced Bar Code result is extracted rather than the OmniPage result.
- Use Both results:
-
Both recognition engine results are returned. The voting between the two results is then done via script.
Restrict length
Filters out any unwanted bar codes from the results. (Default: Cleared)
Min. length
Available only when the "Restrict length" setting is selected. Set the minimum length so shorter bar codes are excluded from the results. (Default: 5)
This setting is not related to the Min. length to avoid 1D misrecognition setting on the Settings tab. The Min. length to avoid 1D misrecognition setting does not include bar codes in the recognition results unless they have the specified length. Whereas this setting filters the recognition results based on its value.
Max. length
Available only when the "Restrict length" setting is selected. Set the maximum length so longer bar codes are excluded from the results. (Default: 10)
-
On the
Settings tab, configure the following settings.
Setting
Description
Bar Code Type
This group contains a list of bar code types. At least one bar code type is required. (Default: Auto detect)
Use the default value only if you do not know the expected bar code types. This is because the Auto detect value negatively impacts the performance and accuracy of bar code recognition and includes only a subset of the full list of available bar code types.
For the best results, select one or more specific bar code types from this list and then use the page number or a region to narrow down the bar code location. This ensures that recognition is more likely to find a bar code. If you are recognizing multiple bar codes in multiple locations, use a separate Bar Code Locator for each bar code, restricting the search area using specific page numbers and regions.
When Auto detect is selected, all other bar code types are unavailable. If you clear the Auto detect value, select one or more of the bar code types. When testing the locator, any recognized bar codes are displayed on the Test tab along with their bar code type, confidence, value, and page location.
You can select only one of the Code 39 or Code 39 without start/stop character bar code types.
Min. length to avoid 1D misrecognition
Set minimum length of a valid bar code. This ensures that bar codes with a shorter length are not included in the recognition results. (Default: 3)
This setting is not related to the Min. length setting on the General tab. The Min. length setting filters the recognition results based on its value, whereas this setting does not include bar codes in the recognition results unless they have the specified length.
Enable 1D bar code checksum
Helps reduce errors if the bar code is misinterpreted. (Default: Cleared)
Remove 2D bar code noise on image
Removes any noise on the image around a 2D bar code. (Default: Cleared)
High Accuracy
When selected, bar code extraction uses high accuracy, prioritizing accuracy over performance. The Bar Code Type list includes high accuracy bar code types. (Default: Selected)
When cleared, no high accuracy is performed and performance is prioritized over accuracy. Also, the Data Matrix High Accuracy, PDF417 High Accuracy, and QR High Accuracy bar code types are no longer available in the "Bar Code Type" list. If these high accuracy bar code types are selected when this "High Accuracy" setting is cleared, the three high accuracy bar codes are reverted to their non-high-accuracy versions.
-
"Data Matrix High Accuracy" reverts to "Data Matrix"
-
"PDF417 High Accuracy" reverts to "PDF417"
-
"QR High Accuracy" reverts to "QR"
-
- Optional. Configure regions.
-
In the
Document pane, open a test document.
The selected test document is displayed in the Document Viewer.
-
In the locator properties window, select
Test.
The Test tab is displayed with the results from the locator for each subfield. The fields are also highlighted on the document.
- Optional. Test again using other documents.
- Click Close to save the changes to the locator.
-
Assign a field to a locator manually or use the Create and Assign Fields button to create fields automatically.