I try to take pictures of circuit boards with my phone in high res… Since the light is angled when it enters my camera the edges of the board are distorted so that the small texts are blocked and/or distorted.

And I don’t know if getting a camera with a bigger lense (flattening) and sensor (lighting) would fix it. Regardless I don’t want to do that right now. Or do I need to rely on optical zoom?

So is there an app that can use the phones’ instruments and with giving me guidance would give me a flat image result?

Or I need some solution?