TMultiFormatReader Class
Definition
MultiFormatReader is a convenience class and the main entry point into the library for most uses. By default it attempts to decode all barcode formats that the library supports. Optionally, you can provide a hints object to request different behavior, for example only decoding QR codes.
type TMultiFormatReader = class(TInterfacedObject)
- Inheritance
-
TInterfacedObjectTMultiFormatReader
- Implements
Constructors
Properties
| hints |
This method adds state to the MultiFormatReader. By setting the hints once, subsequent calls to decodeWithState(image) can reuse the same set of readers without reallocating memory. This is important for performance in continuous scan clients. |
Methods
| DecodeInternal(TBinaryBitmap) | |
| DecodeWithState(TBinaryBitmap) |
Decode an image using the state set up by calling setHints() previously. Continuous scan clients will get a large speed increase by using this instead of decode(). |
| FreeReaders | |
| Get_Hints | |
| Reset | |
| Set_Hints(TDictionary<TDecodeHintType,TObject>) | |
| decode(TBinaryBitmap) | |
| decode(TBinaryBitmap, Boolean) | |
| decode(TBinaryBitmap, TDictionary<TDecodeHintType,TObject>) |
Decode an image using the hints provided. Does not honor existing state. |