Hacker News new | ask | show | jobs
Show HN: Document OCR for Node.js with GPT Vision (github.com)
1 points by thesandlord 951 days ago
GPT Vision is probably the best generic OCR and document parsing tool out there. It can handle invoices, contracts, receipts, and even hand written notes. However, there are some limitations to the API that make it hard to work with:

1) No support for JSON output 2) No support for PDFs

llm-document-ocr is a simple Node library that does these pre and post processing steps for you. It converts PDFs into PNGs, crops whitespace around the images, and parses the JSON output.

Hope this saves you some time if you are building your own OCR stack on top of GPT and other LLMs!

1 comments

is it possible to extract the citation list of a pdf paper using this tool?