You are here:
Start »
Program Examples »
Barcodes (Code39)
Barcodes (Code39)
Aim:
The task is to detect and recognize a Code39 barcode.
Input:
An image containing a Code39 barcode. The position of the barcode is variable.

Output:
The detected barcode and decoded text.

Hints:
Solution (FIS):
►Click here to show the solution.
▼Click here to hide the solution.
- In the Workspace Explorer, open the workspace Examples, and in the Filmstrip window, select the Barcode_Code39 dataset. Drag the Image channel to the ACQUIRE section.
- Add the ReadSingleBarcode filter to detect and recognize the barcode.
- Set the inBarcodeParams.Format parameter to CODE39.
- Show the decoded text in a new preview window.
Macrofilter Main

Used Filters
►Click here to show the filters list.
▼Click here to hide the filters list.
Icon |
Name |
Description |
 |
ReadSingleBarcode |
To be used as an easy all-in-one solution for typical barcode reading applications. |