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:<p>1) No support for JSON output
2) No support for PDFs<p>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.<p>Hope this saves you some time if you are building your own OCR stack on top of GPT and other LLMs!