TUPCAReader .decode Method
Locates and decodes a barcode in some format within an image. This method also accepts hints, each possibly associated to some data, which may help the implementation decode. Note that we don't try rotation without the try harder flag, even if rotation was supported.
function decode(const image: TBinaryBitmap; hints: TDictionary<TDecodeHintType, TObject>): TReadResult
Parameters
- image
- Type: ZXing.BinaryBitmap.TBinaryBitmap
image of barcode to decode
- hints
- Type: TDictionary<TDecodeHintType, TObject>
passed as a from to arbitrary data. The meaning of the data depends upon the hint type. The implementation may or may not do anything with these hints.