libzbar-cli : ZBar Namespace

ImageScanner Class

Mid-level image scanner interface. reads barcodes from 2-D images

public class ImageScanner : IDisposable

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: ZBar
Assembly: libzbar-cli (in libzbar-cli.dll)
Assembly Versions: 0.9.3631.24519

Members

See Also: Inherited members from object.

Public Constructors

Create a new ImageScanner

Public Properties

Cache bool . Documentation for this section has not yet been entered.

Public Methods

Dispose ()
Release resources held by this object
Finalize ()
Finalize this object
Scan (Image) : int
Scan an image for symbols
SetConfiguration (SymbolType, Config, int)
Set config for indicated symbology (0 for all) to specified value.

Protected Methods

Dispose (bool)
Dispose this object

Member Details

ImageScanner Constructor

Create a new ImageScanner

public ImageScanner ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: ZBar
Assembly: libzbar-cli (in libzbar-cli.dll)
Assembly Versions: 0.9.3631.24519

Cache Property

Documentation for this section has not yet been entered.

public bool Cache { set; get; }

Value

Enable or disable the inter-image result cache (default disabled).

Remarks

Mostly useful for scanning video frames, the cache filters duplicate results from consecutive images, while adding some consistency checking and hysteresis to the results. this interface also clears the cache.

Requirements

Namespace: ZBar
Assembly: libzbar-cli (in libzbar-cli.dll)
Assembly Versions: 0.9.3631.24519

Dispose Method

Release resources held by this object

public void Dispose ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: ZBar
Assembly: libzbar-cli (in libzbar-cli.dll)
Assembly Versions: 0.9.3631.24519

Dispose Method

Dispose this object

protected virtual void Dispose (bool disposing)

Parameters

disposing
A bool False if called from the finalizer, True if called from Dispose.

Remarks

This boolean disposing parameter here ensures that objects with a finalizer is not disposed, this is method is invoked from the finalizer. Do overwrite, and call, this method in base classes if you use any unmanaged resources.

Requirements

Namespace: ZBar
Assembly: libzbar-cli (in libzbar-cli.dll)
Assembly Versions: 0.9.3631.24519

Finalize Method

Finalize this object

void Finalize ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: ZBar
Assembly: libzbar-cli (in libzbar-cli.dll)
Assembly Versions: 0.9.3631.24519

Scan Method

Scan an image for symbols

public int Scan (Image image)

Parameters

image
A ZBar.Image to be scanned

Returns

A int number of symbols decoded on the image.

Remarks

Once an image have been scanned the result will be associated with the image.

Requirements

Namespace: ZBar
Assembly: libzbar-cli (in libzbar-cli.dll)
Assembly Versions: 0.9.3631.24519

SetConfiguration Method

Set config for indicated symbology (0 for all) to specified value.

public void SetConfiguration (SymbolType symbology, Config config, int value)

Parameters

symbology
Documentation for this section has not yet been entered.
config
Documentation for this section has not yet been entered.
value
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: ZBar
Assembly: libzbar-cli (in libzbar-cli.dll)
Assembly Versions: 0.9.3631.24519