Inspiration

Inspired by DeltaHacks' HyperCare - Automation Challenge

What it does

Allows a user to enter a .csv file as data. For example,

name, address Peter, 1 ABC Drive Mary, 2 CBA Avenue ...

The user also enters a blank PDF. We use OpenCV to analyze the PDF to determine the number and position of underlines to fill. The user then matches each field in the .csv file (in this case, name and address) with each empty field on the PDF. PDF Filler then generates a number of PDFs, one for each data point, and zips it into a .zip file that the user can download.

Challenges we ran into

  • Linking the React frontend to the Flask/Firebase backend
  • Correctly identifying the number and position of lines on a blank PDF
  • Mapping the user's data onto the blank PDFs

Accomplishments that we're proud of

Efficiently achieving the first 2 of the above challenges!

What we learned

Python's spawn method accepts a very small bytearray; small enough that we had no other choice but to implement a Flask backend too

Share this project:

Updates