TOne DReader Class
Encapsulates functionality and implementation that is common to all families of one-dimensional barcodes.
ZXing.OneD.OneDReader.TOneDReader
ZXing.OneD.UPCEANReader.TUPCEANReader
ZXing.OneD.ITFReader.TITFReader
ZXing.OneD.Code93Reader.TCode93Reader
ZXing.OneD.Code39Reader.TCode39Reader
ZXing.OneD.Code128Reader.TCode128Reader
The TOneDReader type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | RecordPatternInReverse | Records the pattern in reverse. |
![]() | decode | Overloaded. 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. |
![]() | decode | Overloaded. Locates and decodes a barcode in some format within an image. |
![]() | decodeRow | Attempts to decode a one-dimensional barcode format given a single row of an image. |
![]() ![]() | patternMatchVariance | Determines how closely a set of observed counts of runs of black/white values matches a given target pattern. This is reported as the ratio of the total variance from the expected pattern proportions across all pattern elements, to the length of the pattern. |
![]() ![]() | recordPattern | Overloaded. Records the size of successive runs of white and black pixels in a row, starting at a given point. The values are recorded in the given array, and the number of runs recorded is equal to the size of the array. If the row starts on a white pixel at the given start point, then the first count recorded is the run of white pixels starting from that point; likewise it is the count of a run of black pixels if the row begin on a black pixels at that point. |
![]() ![]() | recordPattern | Overloaded. Records the size of successive runs of white and black pixels in a row, starting at a given point. The values are recorded in the given array, and the number of runs recorded is equal to the size of the array. If the row starts on a white pixel at the given start point, then the first count recorded is the run of white pixels starting from that point; likewise it is the count of a run of black pixels if the row begin on a black pixels at that point. |
![]() | reset | Resets any internal state the implementation has after a decode, to prepare it for reuse. |