|
The upcbarcode driver searches for standard, single-digit UPC barcodes in a camera image (a sample barcode is shown below)
Sample UPC barcode (one digit)
- Compile-time dependencies
- Provides
- blobfinder : outputs blob information on detected barcodes
- camera : passes through image data from underlying camera device (optional)
- Requires
- Configuration requests
- Configuration file options
- edgeThresh (float)
- Default: 20
- Edge threshold
- bit_width (length)
- Default: 0.08 m
- Width of a single bit
- bit_count (integer)
- Default: 3
- Number of bits per digit
- guardMin (integer)
- Default: 3
- Minimum height of bit (pixels)
- guardTol (length)
- Default: 0.2 m
- Height tolerance for bit (ratio)
- digit_errFirst (float)
- Default: 0.5
- Error threshold on the best bit
- digit_errSecond (float)
- Default: 1.0
- Error threshold on the second-best bit
- Example
driver
(
name "upcbarcode"
provides ["blobfinder:0"]
requires ["camera:0"]
)
- Authors
Andrew Howard
Generated on Tue May 3 14:16:10 2005 for Player by 1.3.6
|