Powered by OPF
OPF WIKI STATIC ARCHIVE
2,681 pages · 153 spaces · 776 tags · 4,025 history records · 96.2% of the original wiki recovered
Archived copy. This page was recovered from the Internet Archive snapshot of /display/SP/Cropping error detection taken on 2016-09-11. The original wiki at wiki.opf-labs.org is being decommissioned.

Cropping error detection

Created by Roman Graf on Dec 04, 2013 · last edited by Roman Graf · on Dec 04, 2013 (view history) · 2 versions

Cropping problems

One of the often problems for digital book collections is a wrong cropping during the automated scan process. This method supports analysis of digital collection (e.g. JPG files) for cropping problems during the automated scan process.
              
In order to detect cropping problems we regard three use cases:

  1.      Text is shifted to the right side of the image and left rand is much wider than right rand.
  2.      There is no gap between gap and image rand - text is cutted by the rand.
  3.      Image comprises part of the text from previous page.

Tool

Image profile based image cropping detection in digital book collection for quality assurance employs evaluation paramters that can be defined for each book. Tool works independent of the image size and color.

USAGE
     croppingDetection.py [-randdistance=3] [-randrelation=5] [ <source dir> ]

Evaluation

We have analyzed a test collection with two correct images and five corrupted images. Our tool correctly detected all corrupted images as corrupted and correct images as correct.

See samples for correct and corrupted image with associated analyzis results.

This is a corrupted image 00000047_1.jpg from Austrian National Library collection with associated profile:

This is a corrupted image 00000077_1.jpg from Austrian National Library collection with associated profile:

This is a corrupted image 00000087_1.jpg from Austrian National Library collection with associated profile:

This is a corrupted image 00000092_1.jpg from Austrian National Library collection with associated profile:

And here is a correct image 000000145_1.jpg from Austrian National Library collection with associated profile: