Taxes collected are not only used for whiskey.
I needed a place to list and share the coding projects I've done and this is it.
I look after PastForward, a digital repository about the hisory of Winnipeg. Our major, self-hosted collections are of historical postcards. Some of the work involves scanning postcards and processing those images for publication. Sometimes I write scripts to help with this. These are some of them.
postcardScanSimple.exe - An interface to the Windows command line scanning software, CMDTWAIN that allows for scan approval and automates naming to keep document fronts and backs together.
It asks for a document set (binder) name, creates a folder for it, and outputs scans files following the pattern (x)f.bmp, (x)b.bmp, (x+1)f.bmp, (x+1)b.bmp, ..., (x+n)f.bmp, (x+n)b.bmp.
findDocsInScanAndSeparate.ps1 - A PowerShell script to use ImageMagick to find documents arranged vertically in a scanned image and crop out each into separate images.
                It turns this  into this
 into this  given any
                number and size of cards in the original.
 given any
                number and size of cards in the original.