New OS X Post-processing Software
Posted: 14 Dec 2012, 18:19
Paginator is a new post-processing package I’m currently putting together. This basis for the project is to use QR-Codes to mark the borders of the scanned book and crop/deskew based on that data, the DPI is also calculated and written to the file. Current functionality is limited to this narrow purpose, but I would like to add some fancy image processing in the future and perhaps further processing to bind the images together into a complete pdf (or maybe even DjVU). It only runs on OS X 10.7 and later, this is a requirement of ZXingObjC (it depends on NSRegularExpresion in the foundation framework from 10.7 and later).
The source can be downloaded from https://github.com/shaknum/Paginator, the compiled app is stored there as well and it should be runnable as is (OS X 10.7 and later). The software is alpha and somewhat of a prototype right now, but I would be glad for some real world testing and advice.
When you run the program, you can click on “File” the “Print QR Codes...” to print out the necessary QR codes. It would probably be best to attach these to a ruler or something with the top QR Codes being slidable up and down the ruler (I'll do this soon). Then capture the images of your book pages like this: Then you can return to Paginator and click on either “Load Page Images” on the bottom left or “File” then “open”, they both work the same. Then select the directory where your left page images are stored (I’ve only tested with jpg files, other types may work and I will soon start testing with raw), only portrait files work presently, landscape will fail. Now an alert will pop up asking if you want to load right page images, you can either say yes and select the folder with the right images, or if you keep both pages in one directory say no, they will all appear in the left hand column.
Now you can reorder any of the images in the browser columns (original order numbering is preserved in the title for your reference). You can delete images from either column and you can drag and drop new images onto the browser window as well to add pages you may have missed. When everything looks right, set your desired output DPI, choose color, grayscale, or black and white image output and hit “Process” in the bottom middle. Now there will be a pop up asking if you want to change the default output directory (this is based on the location of the left page image directory you selected earlier), you can say “NO” and accept the default or “YES” and select a new directory. Now sit back, relax, and watch the progress bar go. Failures will probably be silent (minimal reports will be output to the Console), hopefully everything will just work right and your processed files will appear in the output directory.
Example output:
--Current Workflow:The source can be downloaded from https://github.com/shaknum/Paginator, the compiled app is stored there as well and it should be runnable as is (OS X 10.7 and later). The software is alpha and somewhat of a prototype right now, but I would be glad for some real world testing and advice.
When you run the program, you can click on “File” the “Print QR Codes...” to print out the necessary QR codes. It would probably be best to attach these to a ruler or something with the top QR Codes being slidable up and down the ruler (I'll do this soon). Then capture the images of your book pages like this: Then you can return to Paginator and click on either “Load Page Images” on the bottom left or “File” then “open”, they both work the same. Then select the directory where your left page images are stored (I’ve only tested with jpg files, other types may work and I will soon start testing with raw), only portrait files work presently, landscape will fail. Now an alert will pop up asking if you want to load right page images, you can either say yes and select the folder with the right images, or if you keep both pages in one directory say no, they will all appear in the left hand column.
Now you can reorder any of the images in the browser columns (original order numbering is preserved in the title for your reference). You can delete images from either column and you can drag and drop new images onto the browser window as well to add pages you may have missed. When everything looks right, set your desired output DPI, choose color, grayscale, or black and white image output and hit “Process” in the bottom middle. Now there will be a pop up asking if you want to change the default output directory (this is based on the location of the left page image directory you selected earlier), you can say “NO” and accept the default or “YES” and select a new directory. Now sit back, relax, and watch the progress bar go. Failures will probably be silent (minimal reports will be output to the Console), hopefully everything will just work right and your processed files will appear in the output directory.
Example output: