Both GIMP and Photoshop have really neat tools that allow you to automatically bulk crop and straighten photos. It’s the perfect thing to use if you are trying to scan in a deck of cards or other boardgame pieces by placing 9 at a time on a flat-scanner.
Walkthrough here
francoismalan.com/2013/01/how-to … ed-photos/