You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current examples are nice, short, sweet examples of how to read barcodes from a vector of values (example01) and from an image file (example02). However example01 currently uses parser.read_barcode (which calls parser.parse_linescan) and example02 currently uses scanner.scan_image_y (which calls parser.read_barcode which calls parser.parse_linescan), and it seems like parser.parse_linescan has fallen out of use after the repo rewrite, in favor of linescan.scan. linescan.scan returns a Barcode object (which has nice features like a .center attribute that returns the center coordinate, among other things) which is preferable to what parser.parse_linescan returns. Let's update the examples to show how to use linescan.scan on a vector of values or an image file.
The text was updated successfully, but these errors were encountered:
The current examples are nice, short, sweet examples of how to read barcodes from a vector of values (example01) and from an image file (example02). However example01 currently uses
parser.read_barcode
(which callsparser.parse_linescan
) and example02 currently usesscanner.scan_image_y
(which callsparser.read_barcode
which callsparser.parse_linescan
), and it seems likeparser.parse_linescan
has fallen out of use after the repo rewrite, in favor of linescan.scan.linescan.scan
returns a Barcode object (which has nice features like a.center
attribute that returns the center coordinate, among other things) which is preferable to whatparser.parse_linescan
returns. Let's update the examples to show how to uselinescan.scan
on a vector of values or an image file.The text was updated successfully, but these errors were encountered: