Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 954 Bytes

README.md

File metadata and controls

39 lines (23 loc) · 954 Bytes

AI-Tools

Various AI tools that I use for ChatGPT / OpenAI.

PDF-JSON.PY

Script that extracts data from PDF files in order to be used for OpenAI / ChatGPT Analyzation and Processing.

Was this script helpful to you? Please donate:

I put a lot of work into these scripts so please donate if you can. Even $1 helps!

C++ OCR to JSON

Instructions

Install Dependencies:

Install Tesseract and Leptonica: sudo apt install tesseract-ocr libtesseract-dev libleptonica-dev Install Poppler: sudo apt install libpoppler-dev

Install nlohmann/json header file via package manager or manually.

Build the Script:

bash g++ -o ocr_extractor ocr_extractor.cpp -ltesseract -llept -lpoppler-cpp -std=c++17 Run the Script:

bash ./ocr_extractor output.json file1.pdf file2.jpg file3.png

Output:

Extracted data will be saved in output.json.

PayPal: alex@alexandermirvis.com

CashApp / Venmo: LynxGeekNYC

BitCoin: bc1q8sthd96c7chhq5kr3u80xrxs26jna9d8c0mjh7