Classes | Enumerations

Package ZBar

ZBar is a library for reading bar codes from video streams. More...

Classes

class  Image
 Representation of an image in ZBar. More...
class  ImageScanner
 Mid-level image scanner interface. reads barcodes from 2-D images. More...
class  Symbol
 Representation of a decoded symbol. More...
class  Video
 Mid-level video source abstraction. captures images from a video device. More...
class  ZBar
class  ZBarException
 An exception that happened in ZBar. More...

Enumerations

enum  Config {
  Enable = 0, AddCheck, EmitCheck, ASCII,
  Num, MinimumLength = 0x20, MaximumLength, Position = 0x80,
  XDensity = 0x100, YDensity
}
 

Configuration parameters for the image scanner.

More...
enum  SymbolType {
  None = 0, Partial = 1, EAN8 = 8, UPCE = 9,
  ISBN10 = 10, UPCA = 12, EAN13 = 13, ISBN13 = 14,
  I25 = 25, CODE39 = 39, PDF417 = 57, QRCODE = 64,
  CODE128 = 128, Symbole = 0x00ff, Addon2 = 0x0200, Addon5 = 0x0500,
  Addon = 0x0700
}
 

Different symbol types.

More...
enum  ZBarError {
  Ok = 0, OutOfMemory, InternalLibraryError, Unsupported,
  InvalidRequest, SystemError, LockingError, AllResourcesBusyError,
  X11DisplayError, X11ProtocolError, OutputWindowClosed, WindowsAPIError
}
 

Error codes.

More...

Detailed Description

ZBar is a library for reading bar codes from video streams.


Enumeration Type Documentation

Configuration parameters for the image scanner.

Enumerator:
Enable 

Enable symbology/feature.

AddCheck 

Enable check digit when optional.

EmitCheck 

Return check digit when present.

ASCII 

Enable full ASCII character set.

Num 

Number of boolean decoder configs.

MinimumLength 

Minimum data length for valid decode.

MaximumLength 

Maximum data length for valid decode.

Position 

Enable scanner to collect position data.

XDensity 

Image scanner vertical scan density.

YDensity 

Image scanner horizontical scan density.

Definition at line 228 of file ImageScanner.cs.

Different symbol types.

Enumerator:
None 

No symbol decoded.

Partial 

Intermediate status.

EAN8 

EAN-8.

UPCE 

UPC-E.

ISBN10 

ISBN-10 (from EAN-13).

UPCA 

UPC-A.

EAN13 

EAN-13.

ISBN13 

ISBN-13 (from EAN-13).

I25 

Interleaved 2 of 5.

CODE39 

Code 39.

PDF417 

PDF417.

QRCODE 

QR Code.

CODE128 

Code 128.

Symbole 

mask for base symbol type

Addon2 

2-digit add-on flag

Addon5 

5-digit add-on flag

Addon 

add-on flag mask

Definition at line 236 of file Symbol.cs.

Error codes.

The ordering matches zbar_error_t from zbar.h

Enumerator:
Ok 

No error, or zbar is not aware of the error.

OutOfMemory 

Out of memory.

InternalLibraryError 

Internal library error.

Unsupported 

Unsupported request.

InvalidRequest 

Invalid request.

SystemError 

System error.

LockingError 

Locking error.

AllResourcesBusyError 

All resources busy.

X11DisplayError 

X11 display error.

X11ProtocolError 

X11 Protocol error.

OutputWindowClosed 

Output window closed.

WindowsAPIError 

Windows system error.

Definition at line 84 of file ZBarException.cs.