Closed ManishSahu53 closed 6 years ago
Have the cam and jpg the same prefix?
Yes they same name with .cam and .jpg part different. I exported .cam file from openmvg module.
So there is a issue with the concatenation of paths? The file _/home/indshine-2/Downloads/openMVG_Build/Linux-x86_64-RELEASE/cam/cam/DJI0001.JPG does not exist but the file _/home/indshine-2/Downloads/openMVG_Build/Linux-x86_64-RELEASE/cam/DJI0001.JPG does?
no. opposite. Actually I did 2 runs. 1 run -- images are in cam folder. So the program thrown an error stating "cam/cam/*.jpg doesnt exit". 2 run -- I moved my images to cam/cam folder then ran the program now it gives an error stating "Generating texture views: No proper input scene descriptor given. A input descriptor can be: BUNDLE_FILE - a bundle file (currently onle .nvm files are supported) SCENE_FOLDER - a folder containing images and .cam files MVE_SCENE::EMBEDDING - a mve scene and embedding"
But on the first run, where texrecon
complains about the file not existing, it complains about a file in cam/cam/ although the file is in cam/ or not? Can you try running the first one again with cam/? Just to be sure it isn't something stupid with the path concatenation...
ok Sure I will try to run it again. Just to make sure I am doing ok here. I will put .cam and .jpg files in cam folder. mesh.ply in current folder and a textured folder to put textured mesh. Then run "./texrecon cam mesh.ply textured " Thanks
'./texrecon cam/ mesh.ply textured'
@nmoehrle I have tried everything now. I really cant understand what is going wrong. I made sure names are same. tried each and every combination but this is not working for me. Same error is coming. I tried creating another mesh from point cloud also but it vain. Can you please look into my files once? Thanks https://drive.google.com/file/d/1VDJpen8JrGGCpasaWfllBRh1aseRw1KO/view?usp=sharing
Thanks for providing the files, I can reproduce the issue - investigating.
Thank You very much. I am eagerly waiting for your response.
Sorry that this took so long I must have broken this in when merging #91, please check if this fix works for you.
Best
It is working now. Thank you very much
@ManishSahu53 I met a same situation as you ,can you give me an advice on how to prepare the cam and the images? thanks a lot
I have a mesh.ply file and .cam and .jpg files in cam folder. I am running this command "./texrecon cam mesh.ply textured " I got this error "Load and prepare mesh: Reading PLY: 478986 verts... 956298 faces... done. Generating texture views: Loading 0%...Could not load image header of /home/indshine-2/Downloads/openMVG_Build/Linux-x86_64-RELEASE/cam/cam/DJI_0001.JPG /home/indshine-2/Downloads/openMVG_Build/Linux-x86_64-RELEASE/cam/cam/DJI_0001.JPG: No such file or directory" Then I included cam/cam folder and moved my .cam and .jpg data in it and again ran. Generating texture views: No proper input scene descriptor given. A input descriptor can be: BUNDLE_FILE - a bundle file (currently onle .nvm files are supported) SCENE_FOLDER - a folder containing images and .cam files MVE_SCENE::EMBEDDING - a mve scene and embedding
Can you tell me what am I missing here? Thank You.