Google Vission / Tesseract receipt scanner

Job ID: 39001734

Budget: £250 – £750 GBP

Key requirements:
- Create a page where a phone camera will be opened.
- User can scan a receipt
- Using OCR (ideally interchangeable between Google Vision and Tesseract, but Google Vision as the priority)
- Find specific offer on the receipt to validate it based on presence of specific word combinations and price
- Find the date / time stamp on the receipt
- Find the unique identifier on the receipt
- If successfully read, then show a green tick
- Ask user for the following information
First Name, Last Name, Email Address, Customer Number
- Record all information onto a table along with the OCR validated fields, the full OCR response, timestamp of the scan and a unique session id


Error messaging
1. If a receipt has already been scanned
"Sorry we've already seen this receipt."
2. If any of the criteria are not met
"Sorry we were unable to find or read the [VARIABLE] on the receipt. Please check your receipt and try again.
3. If the receipt remains unreadable after 5 attempts
"Sorry we weren't able to read the receipt. Please go to xyz.com for further assistance"
4. If the receipt is being scanned outside of the approved date range or the date on the receipt is outside of the approved date range
"Sorry this purchase was not made within the promotional period."

SECURITY
Post data and applicaiton must be handled securely and meed OWASP top 10 as a minimum

FRAMEWORK
We do not want this within any framework. It should ideally be handled in pure PHP.
Related categories: JavaScript CSS HTML5 jQuery / Prototype OCR