Skip to content

AmadeussSystem/FieldNotesDigitizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

PDF to Transparent Images Converter

This Python script converts each page of a PDF document into an image with a transparent background, removing any ink (black text) and leaving the background transparent. The output images are saved as PNG files with transparency.

Results

  • Before
  • image

  • After
  • image
  • image
  • As a Student this works fine and most importantly its is automated so Yee Boi.

Features

  • Convert PDF pages to images.
  • Remove black ink (text) and make the background transparent.
  • Save the processed images as PNG files.

Requirements

Make sure you have the following:

  • That you have prescanned the pdf with a Scanner and Btw Mobile scanner appilcation also work.
  • Also Make sure that After scanning Ink should be of some colour of black I haven't tried it with a physical scanner so I don't how it much effective it may be on that.
  • Install the dependencies given the following requirements.txt

You can install these dependencies using pip by running:

pip install -r requirements.txt

Developments

  • Feel Free to Open PR Requests If you find better Configuration to optimize the Output results.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages