I know of several mobile apps designed to tidy up photos of documents, snapped directly from a phone camera, but I'd like a PC program to do the same thing. I already have a bunch of photos of documents as image files on my PC, which are at higher quality than my phone could ever take!
I can do this in Photoshop fairly easily but it takes time; I would like something more automatic, something that'll assume I have a photo of one rectangular thing, and work out the correct transform for me.
Absolute best form would be a program that can take image file paths as command line arguments and pump out fixed images without interaction, or a minimal GUI app with ability to work in batches. I don't want to have to spend ages setting up each conversion.
I would prefer for the output to be image files but PDFs would be fine too.
Platform needs to be Windows.