Skip to content

TzviGreenfeld/pdf_scan_splitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Scan splitter

Re-organize a pdf file of an horizontally scanned book

Table of Contents

Installation

Download scan_splitter.py and install libraries from requirements.txt

$ git clone https://github.com/TzviGreenfeld/pdf_scan_splitter
$ pip install -r requirements.txt

Usage

Send as first argument the file name, second argument is the output file name (both should be *.pdf) second and third arguments rightmost x value (in px) of left page and the leftmost x value of the right pages (they can overlap) By default, it will split in the middle.

$ python3 scan_splitter.py <in.pdf> <out.pdf> <x1> <x2>

Support

Please open an issue for support.

About

splits a file of an horizontal scanned book

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages