run_unpaper: Run 'unpaper' to fix rotation angles

Description Usage Arguments Value Examples

Description

A significant number of scanned PDFs are slightly rotated, and even a 1- degree rotation can substantially reduce the accuracy of OCR. This is a computationally expensive step, but works much better than not doing it.

Usage

1
run_unpaper(png_dir)

Arguments

png_dir

Path to a directory of raw PNGs

Value

png_dir Path to a directory with 'unpaper'-ed PNGs

Examples

1
2
3
4
## Not run: 
run_unpaper("IMGs/test")

## End(Not run)

jacob-ogre/pdftext documentation built on May 18, 2019, 8:01 a.m.