How To Install unpaper on CentOS 7

In this tutorial we learn how to install unpaper on CentOS 7. unpaper is Post-processing of scanned and photocopied book pages

Introduction

In this tutorial we learn how to install unpaper on CentOS 7.

What is unpaper

unpaper is a post-processing tool for scanned sheets of paper, especially for book pages that have been scanned from previously created photocopies. The main purpose is to make scanned book pages better readable on screen after conversion to PDF. Additionally, unpaper might be useful to enhance the quality of scanned pages before performing optical character recognition (OCR). unpaper tries to clean scanned images by removing dark edges that appeared through scanning or copying on areas outside the actual page content (e.g. dark areas between the left-hand-side and the right-hand-side of a double- sided book-page scan). The program also tries to detect disaligned centering and rotation of pages and will automatically straighten each page by rotating it to the correct angle. This process is called “deskewing”.

We can use yum or dnf to install unpaper on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install unpaper.

Install unpaper on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install unpaper using yum by running the following command:

sudo yum -y install unpaper

Install unpaper on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install unpaper using dnf by running the following command:

sudo dnf -y install unpaper

How To Uninstall unpaper on CentOS 7

To uninstall only the unpaper package we can use the following command:

sudo dnf remove unpaper

References

Summary

In this tutorial we learn how to install unpaper on CentOS 7 using yum and dnf.