ghiobi / tally-ticketsystem

Making Expensing Better Than Great Again
MIT License
1 stars 0 forks source link

As a user, I should be able to scan my receipts to have my expenses filled #219

Closed n2chao closed 5 years ago

n2chao commented 5 years ago

Story Points: 5

Risk: LOW

Priority: MEDIUM

Description

Port the feature from Tally-bot. Lets a user upload a picture of their receipts and use OCR to parse it. Using regex, relevant information should be auto-filled when creating an expense. Since we don't have a license for Google Cloud Vision like Tally-bot, the library Tessract.js will be used for OCR.

http://tesseract.projectnaptha.com/

Mockup

The button was already added from a previous commit image

Acceptance Test

Test Reference Test Date Tester Test Steps Expected Result Actual Result
1 01/15/2019 Brian Vo 1)Login 2)Go to "My Expenses" 3)Click "New Expense" 4)Click Scan Receipt 5) Upload a valid receipt Should see some expense fields filled with data from the receipt Passed
2 01/15/2019 Brian Vo 1)Login 2)Go to "My Expenses" 3)Click "New Expense" 4)Click Scan Receipt 5) Upload a valid receipt 6) Click Submit Should be able to file the expense with the data from the receipt scanned Passed

Tasks