open-anatomy / SfM_gui_for_openMVG

SfM workflow GUI for the open Multiple View Geometry library. Including openMVG sources.
Other
35 stars 7 forks source link

OpenMVS halted and PMVS/CMVS not found #5

Closed NicolaFr closed 8 years ago

NicolaFr commented 8 years ago

Hi @mad-de, I'm sorry but I'm still here :/

i tried all the process with my images but when i was near the end, I get the following error openvms_error

so I decided to switch on PMVS and CMVS but (also testing with castle example images) I get the following errors cmvs_castel_error pmvs_castel_error

here you can find the images I use and the line I added to sensor camera db in SM-G920F;6.828

For the first error (about OpenMVS) do you think that I should open an issue in OpenMVS thread?

thanks in advance, N1k0l4

mad-de commented 8 years ago

Yep - first one is definitely an openMVS issue - as this repo is synced with the latest openMVS sources, feel free to open an issue there. I encountered this problem myself when running on slower machines. It probably has to do with openMVS memory management. From my experience, the amount of images / image size might just be too big. In the gui you can try 2 things: 1) scale down your images (eg with photobatch) or use less images 2) you can either run without Densify Point cloud (unclick checkbox "Run Densify Pointcloud") or change the resolution settings with DensifyPointcloud (click Desnify settings and set resolutionlevel to a higher number - 1 2 3 4 - try them out until it succeeds) screenshot from 2016-08-10 11-35-52

For number 2 I recommend that you delete the content of the MVS_out folder before running it again with the new settings. maybe this temporary manual will help you: https://docs.google.com/document/d/1FR1zZcTJPukZI2nQn9BWBUvj-Z7_49YeWgk8rH88MPM/pub

As for the CMVS/PMVS error - I can't reproduce it, but please paste me the contents of your /openMVG_build/software/SfM/workflow.py file.

Best wishes,

Martin

NicolaFr commented 8 years ago

Hi @mad-de, as always thank you for your fast answer!!

here the workflow.py file workflow.py.txt

for the other problems, i'll just try different ways as you wrote, and i'll report the result as soon as it'll be finished :)

mad-de commented 8 years ago

In the workflow.py change OPENMVG_PMVS_BIN = "~/CMVS-PMVS_build/main" to OPENMVG_PMVS_BIN = "/home/n1k0l4/CMVS-PMVS_build/main" that should fix the PMVS/CMVS error. I made a mistake in the building instructions for Ubuntu 16.04 - sorry about that.

NicolaFr commented 8 years ago

Well, the fix to workflow.py work, so first test with castle images:

I'll continue test with my images...

mad-de commented 8 years ago

PMVS should still have made a succesful output regardless of the error, which Il fix in a PR right away - thanks for reporting.