Use your smartphone to take some pictures of a book, then import these photos into meshroom, click the start button and it will generate mtl, obj and png files.
The files generated for the above 3D model:
https://www.weiy.city/Download/models/book/texture_0.png
https://www.weiy.city/Download/models/book/texture_1.png
https://www.weiy.city/Download/models/book/texturedMesh.mtl
https://www.weiy.city/Download/models/book/texturedMesh.obj