What are the other alternatives to Photoshop's "cropping and straightening" for digitized images with rounded angles

I digitize a lot of cards and use Photoshop's automated "trimming and straightening" feature to rotate and crop them automatically. But the result was not very accurate because some of the sides of the scans were clearly cut out. I think that may have to do with my rounded cards? What other alternative program do I have on this?