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
You need to extract the data from the Aztec code on your ticket and then pass them into TicketParser.parse(). How you do that is up to you, you just need a parser that supports binary data. I've had success with zxing and built a Node.js wrapper around it, ZebraCrossing. It takes an image as input and tries to decode any 1d-/2d-barcodes in it.
If you have the original PDF that contained the ticket, then there's a single-purpose module for extracting the Aztec code from that too: ot-aztec-extract.
It’s been over a year since I last touched this code, but if you have the original ticket PDFs, you should be able to stick these three modules together quite neatly like this:
I’ve been meaning to combine that into a proper npm module for ages and never got around to it. (I don’t remember why iconv is in there, but it’s something to do with the fact that the data is binary.)
Hi,
could you give me requirement for this app? how could I test this?
The text was updated successfully, but these errors were encountered: