You might want to look at BookScanWizard for correcting keystone issues with barcodes.
Its got the following advantages:
- It seems to more reliably find the codes in a bookscanning environment. (At least for me).
- It will make use of multiple processors.
- It uses bilinear interpolation, so there should be less aliasing ("jaggies") in the output.
- It saves them as tiff files, which is a bit better than 100% jpgs' because even 100% jpegs have some loss.
[/list]
Here's a script you can run. This one assumes that the left & right images have already been merged into a single directory.
Create a file called book.bsw:
- Code: Select all
LoadImages = source
SetDestination = tiff
Barcodes =
ScaleToDPI = 300
then call the command:
- Code: Select all
bsw -batch
That will take the images in the directory called source, search for the barcodes, and use them to fix the perspective and write out the files to the tiff directory.
If you have the files in separate left and right folders, you can do this, which will automatically combine them:
First, move them to separate l & r directories.
Then use this script:
- Code: Select all
LoadLRImages = source
SetDestination = tiff
Barcodes =
ScaleToDPI = 300
(the l & r directories should be subdirectories of "source")
One small note: the ScaleToDPI is optional. If you don't have it, it will keep the original DPI
The barcodes themselves are printed by running the tool interactively and choosing the option under tools to print the keystone correction images.