upcbarcode
Drivers

UPC barcode detection. More...

UPC barcode detection.

Todo:
  This driver is currently disabled because it needs to be updated to the Player 2.0 API.

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

- OpenCV

Provides

- blobfinder : outputs blob information on detected barcodes
- camera : passes through image data from underlying camera device (optional)

Requires

- camera

Configuration requests

- none

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"]
    )

Author
  Andrew Howard

Last updated 12 September 2005 21:38:45