Giter VIP home page Giter VIP logo

synthetic_pdf_fill's Introduction

Kade Greenburg 2021

To run these programs, both pdf2json and pdfplumber are required. They can be found here: https://github.com/modesty/pdf2json https://github.com/jsvine/pdfplumber

To run all processing at once, the command will take this form: './pdf_processing.sh -f path/to/file -r int(resolution) -p true'

FOR EXAMPLE: ./pdf_processing.sh -f pdfs/my_pdf.pdf -r 300 -p true

The above example would run on 'my_pdf.pdf' inside the 'pdfs' directory. The resulting generation resolution of the image would be 300, and separate human readable JSON would be generated.

'-f' specifies a PDF file; this is required. Specify the path to the file from your current directory.

'-r' specifies a resolution for the PDFs converted to images - this is optional and will default to 150 if no resolution is specified.

'-p' determines whether human-readable JSON should be generated. If it is to be generated, use '-p true'. If anything else is used or the flag is dropped, no human-readable JSON will be created.

synthetic_pdf_fill's People

Contributors

katorade8 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.