Python Script for Creating Searchable PDFs

Job ID: 39316171

Budget: $30 – $250 USD

I'm looking for a skilled Python developer to create a script that converts my scanned images, PDFs, and JSON files into searchable PDFs.

Ideal Skills:
- Proficiency in Python
- Experience with PDF manipulation and creation
- Familiarity with data processing from JSON files
- Knowledge of working with scanned images
- Understanding of creating searchable PDFs
- Bonus if you understand Amazon Textract

Basically, I have access to Amazon Textract and I have run some of my PDFs through their software and it outputs a JSON file. However, I want to make the PDF searchable with the words found through Textract that it put on the JSON file. Here is a github that seems to do what I want (and feel free to even just edit this code to meet my extra wants below) I just don't want to have to run the whole script/code in the Amazon environment (like with Lambda, DynamoDB, CWI, S3, etc.).

https://github.com/aws-samples/amazon-textract-large-scale-selectable-pdf/tree/main

I want the script to just run from pulling the documents (the original PDF and the Textract JSON) from a folder on my device (would love for the script to ask me which folder to pull from each time, but can also manually enter it into the code if needed. I don't need a magnificent UI as I can lightly handle things like PowerShell and Command Prompt). I do not want it interacting with AWS, I just want all the code to run, point, and save on my computer.

With the script I would like some decent documentation within the code (notes explaining what functions/class inputs/outputs are and their formats. Along with all needed libraries and libraries' revision to be installed (if used). Also, quick notes on library specific functions of what they do).

Also, the script has to be optimized such that it can handle massive PDFs and the JSON file generated from the massive PDFs. The PDFs will be about 25,000 pages long. I would imagine the code pulls, sequentially, the pages of the original PDF, overlays it with the JSON information to make the identified text searchable, then writes it in order to the searchable PDF it is generating. But that is from a beginner programmer so if you know a better/faster way to make the searchable PDF without causing memory crashes I will not complain.

I don't need it complicated and able to handle an automation line of say multiple PDFs and JSON files to output multiple PDFs. I just plan on placing one original PDF and one JSON file in a folder at a time; and I just want one searchable PDF from those files. And then I will just repeat the process manually myself for each PDF.

Please bid if you can provide a script that meets these requirements.
Related categories: Python Data Processing JSON AWS Textract