Python OCR Data Translation Project -- 2

Job ID: 38271255

Budget: $10 – $30 AUD

I'm looking for a Python developer who can help me translate the text from Trader Joe shopping receipt that has already been through OCR, into a dictionary. I have attached an interpreter for another shop's receipt layout. ALL you need to do is use the code format and adapt it for Trader Joes, unless you can give a valid reason why it won't work. If you use AI you will find it will not correctly translate the code. You only get paid if the code works.

One way to test the results is to ask chatGPT to decode an example receipt image, and then you need to edit the OCR text it gives you back so that it matches the layout of the receipts line for line.

You will need to test your code against multiple receipts to capture the variations they have (price each, price per OZ, "A potato bag sweet 2 LB 1.79"). I have attached a single example receipt but I expect it to be tested against multiple examples. Make sure that use a recent version of their shopping receipt because formats do change over time.

Key Requirements:
- Extract all available data such as item names, quantities, units and prices.
- Provide output in the exact structure and formatting specified in an example code that is provided in the example code

So, for example, "A-POTATO BAG SWEET 2 LB 1.79" Would be decoded as
{
'price': 1.79,
'ocr': "A-POTATO BAG SWEET 2 LB 1.79",
'qty': 1,
'every': 2,
'units':'lb'
}

Additional Details:
- The main task for this project is building a Python script capable of efficiently processing OCR text from Trader Joe receipts.
- The OCR has already been done. You do not have to give me code to do the OCR!
- The code has to deal with items that run over 1 or more lines.
- It should be a very simple project. The issue is that I may have many different retailers to deal with. If it was only 1 or 2 I would do it myself.
- I would like to have it completed as soon as possible.

Ideal Skills and Experience:
- Strong Python programming skills
- Experience in regular expressions
Related categories: Python Regular Expressions