Gemini 3 was able to come up with a python script after a few back and forths of the console output/image outputs that could identify the rectangle of a Pokemon card and use it to straighten the image how I wanted. There’s still a small bug to fix but progress was made finally.