Looking for resources on scanning textures

Looking for good resources on scanning mostly flat textures. Tried to use a photograph of a tatami mat and had a lot of problems with the lens distortion. I don't own any professional photo equipment so I have to use my Pixel 6 camera. I have a couple of Ideas but I'm not really sure how to tackle the problem. Using a 3d scan app / photogrametry could be an option, but I have yet to find a fitting application. Another approach could be using a handheld scanner, but the surface has to be relatively flat. A brick wall for example would be problematic.

What is your folks workflow for capturing textures?