Re:Writing a fuzzy receipt parser in Python
by tonyedgecombe on Tuesday October 06, 2015 @11:51AM
(#10339716)
I'd be happy if they made the store name, date and total more prominent, it's amazing how often that is hard to find despite it being the most important information to the customer.
Re:Writing a fuzzy receipt parser in Python
by omn1 on Tuesday October 06, 2015 @11:59AM
(#10339820)
Exactly. Even the term for the total changes with every receipt. I disovered all the possible terms you can imagine, like "sum", "total amount", "overall",... (in German obviously)
Re:Writing a fuzzy receipt parser in Python
by wyldfire on Tuesday October 06, 2015 @02:08PM
(#10341010)
I think it'd be awesome for some commerce/business organization to champion electronic data on paper receipts.
But I think it's much more likely that we'll sooner see itemized electronic receipt data from the smartphone-based payment brokers (Apple Pay, Android Pay, etc) -- assuming it doesn't already do that.
Re:Writing a fuzzy receipt parser in Python
by ap22213 on Tuesday October 06, 2015 @11:36AM
(#10339588)
Partly, because they're designed that way.
Stores that are mandated to issue receipts are giving away trade secrets. If the format was standardized and easily readable then it'd be much easier for competitors to analyze their data.
QR codes can hold even more than that. V40 stores just over 3000 characters.
You could do some pretty amazing things in QR codes by base64 encoding compressed textual data.
Re:Writing a fuzzy receipt parser in Python
by omn1 on Tuesday October 06, 2015 @11:28AM
(#10339511)
Yeah. Some receipts also have barcode on them, but it's not guaranteed that it contains all required information.
Or that it's not encrypted. Probably, most of the time, it's simply a record pointing to a database. Useless to everyone except the creator who has context and access to the database.
QR codes can hold a little over 1,200 characters, which should be more than enough for most receipts.
https://en.wikipedia.org/wiki/QR_code#Storage
Edit: related link: https://www.quora.com/Can-and-how-cash-register-receipts-be-...