Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/orasik/parsevision
Parse vision is an open source tool to visualise what OCR is parsing in a PDF document to help developers and product teams identify if the parsing has missed some vital information from the document.
https://github.com/orasik/parsevision
idp ocr
Last synced: 10 days ago
JSON representation
Parse vision is an open source tool to visualise what OCR is parsing in a PDF document to help developers and product teams identify if the parsing has missed some vital information from the document.
- Host: GitHub
- URL: https://github.com/orasik/parsevision
- Owner: orasik
- License: apache-2.0
- Created: 2024-07-13T10:36:13.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-14T09:45:12.000Z (6 months ago)
- Last Synced: 2024-12-06T21:37:46.007Z (22 days ago)
- Topics: idp, ocr
- Language: Python
- Homepage:
- Size: 2.51 MB
- Stars: 55
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Parse Vision
Parse Vision is an open-source tool for visualising what OCR is parsing in a PDF document. It helps developers and product teams identify if the parsing has missed vital information.
## Why?
I was working on a proof of concept for an IDP platform (Intelligent Document Processing) when I noticed that some information was missing from documents. So, I decided to visualise the output to identify missing information quickly and validate which library would work better for different use cases.
Seeing many tutorials online claiming that parsing PDFs is easy and adding LLMs on top to extract information, I decided to open-source the tool to help developers and product teams make informed decisions about which library to use.
In the demo video, you'll notice that EasyOCR missed a quantity in the table, and Tesseract missed all the quantities.
## How to run
- Clone the repo.
- `pip install -r requirements.txt`
- `streamlit run index.py`## Example
You can try the PDF example in the `example` folder.
Credit: [docmosis.com](https://resources.docmosis.com/example-templates/generate-multi-page-invoice-from-template)
## Demo Video
https://github.com/user-attachments/assets/d3386c79-1cdf-470a-acf4-2eaf018532ba
## Privacy
The tool runs locally, no data are sent outside your machine, no external logs, and no telemetry.
## OCR Libraries
- Tesseract
- EasyOCR## Limitations & future work
- Configure the level of detection (blocks, lines, words).
- Configure using GPU or CPU.
- Add more libraries, such as PaddleOCR## Connect
Feel free to connect with me on LinkedIn [Oras Al-Kubaisi](https://www.linkedin.com/in/oras-al-kubaisi/)