Some time back, was talking about an offline tool to extract textures from photos. Now there is an online tool to do the same thing. And maybe more, in the future. From my short experimentation it seems to struggle a bit with big images, but maybe it will improve in future (or I should try other browsers).
https://sandripper.vercel.app/
..and a presentation video:
https://sandripper.vercel.app/
..and a presentation video: