Amazon Textract AnalyzeExpense vs Tesseract OCR
Amazon Textract AnalyzeExpense
aws.amazon.comTesseract OCR
tesseract-ocr.github.ioSide by side
| Figure | Amazon Textract AnalyzeExpense | Tesseract OCR |
|---|---|---|
| Price from | $0.01/mo | Free |
| Free plan | Yes | Yes |
| Free trial | Yes | — |
| Open source | — | — |
| Web | Yes | — |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | — | Yes |
| iOS | — | Yes |
| Android | — | Yes |
| API | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 5 | 1 |
| Spec score · OCR API Software | 9.3 (#1) | 8.2 (#15) |
| Integrations | AWS lists robotic-process-automation partners Blue Prism, Ripcord and UiPath, plus service and software partners including Accenture, Deloitte, Box and PwC. | The project documentation lists language wrappers including Python, Java, Swift, Flutter, Ruby, Rust, and Go. |
| Purpose | AnalyzeExpense processes invoices and receipts to extract financially related text and data. | Tesseract is an open source text recognition (OCR) engine for extracting printed text from images. |
| What it does | Amazon Textract is a managed machine-learning service that extracts printed text, handwriting, forms, tables and structured data from scanned documents. | Tesseract is an open source OCR engine that extracts printed text from images. |
Plans
Amazon Textract AnalyzeExpense
- AWS Free TierFree
- AWS Free Tier — Analyze ExpenseFree
- Analyze Expense API$0.01 a month
- Analyze Expense API — first 1 million pages$0.01 a month
- Analyze Expense API — over 1 million pages$0.01 a month
In their own words
Amazon Textract AnalyzeExpense
Amazon Textract AnalyzeExpense extracts financial text and data from invoices and receipts through an API or web service. Results can include grouped line items and summary fields such as purchased items, prices, receipt headers, and vendor names. The API can normalize field names and column headers to help downstream applications compare documents. It can also identify vendors from logos and extract items, quantities, and prices when those details have no labels or column headers. Supply documents as image bytes or an Amazon S3 object; AWS advises PDF, JPG, or PNG files, and invoice and receipt processing is English only. AnalyzeExpense processes synchronously. Asynchronous invoice and receipt analysis uses StartExpenseAnalysis and GetExpenseAnalysis. The listed rate is $0.01 per page for the first 1 million pages per month in US West (Oregon), then $0.008 per page; custom high-volume pricing is available. New AWS customers can use the Free Tier for three months, up to 100 pages per month. AWS says inputs may be used to improve Textract and related AI technologies, with an Organizations opt-out policy.
Tesseract OCR
Tesseract OCR is a free, open-source engine that extracts printed text from images. It can be run from the command line or used through an API; the project does not include a graphical application. It recognizes more than 100 languages out of the box and supports Unicode UTF-8. Version 4 introduced an LSTM neural-network engine for line recognition while retaining the legacy character-pattern engine. Input formats include PNG, JPEG, TIFF, JPEG 2000, GIF, WebP, BMP, and PNM. Output formats include plain text, hOCR, PDF, TSV, ALTO, and PAGE. Tesseract cannot read PDF files directly, although PDF is available as an output format; the documentation suggests converting files or using OCRmyPDF. The project documents wrappers for several languages, including Python, Java, Swift, Flutter, Ruby, Rust, and Go, as well as C and C++ APIs. The repository code uses Apache License 2.0, though dependencies may have different licenses. Image quality may need improvement for better recognition results.