rhiestan / Regard3D

A open source structure-from-motion program based on OpenMVG.
241 stars 43 forks source link

"Find putative matches" step does not advance the progress bar #14

Open omgitsraven opened 7 years ago

omgitsraven commented 7 years ago

When I compute matches, the it takes about twenty minutes for the progress bar to reach 75%, at which point the status becomes "find putative matches", and it sits for several hours with the bar not moving whatsoever.

Obviously the finding matches step will take a while, that's fine—but is there really no way to approximate how far through the search it is? Even if not in time, just in the number of searches that are already complete out of the total possible number.... something so it's possible to see roughly the rate that the bar is moving at, and have some idea of vaguely how many hours might be remaining. I never know if it might end sometime today or next week. (I'm certain that the bar is literally not moving at all: I had it lined up with the edge of my screen for five hours yesterday before it finally finished .)

rhiestan commented 7 years ago

This is the same problem as with the Cancel button: Since Regard3D is calling a method of a library, there is no telling how far it is. For some steps, it is visible in the console output window, for some not.

omgitsraven commented 7 years ago

Well, what library is used for this step, so I can go raise an issue there instead :)

rhiestan commented 7 years ago

It's OpenMVG. But you see, creating an issue is very easy. Since OpenMVG and Regard3D are open source, collaborative projects, the motto is: Collaboration, do it yourself!

omgitsraven commented 7 years ago

I considered it, but I'm no good with C++, and I know nearly nothing about machine vision, and even less about native Windows development. If this was an HTML5 project I'd jump right in, but this is outside my lane in too many ways for me to even know where to start :)

Duckeded commented 4 years ago

Same here. Ran for 18 hours with apparently nothing happening so eventually I shut the machine down.

I assumed it was hung up and would never complete.

Its awkward not having ANY indication of progress or the lack of it,, since the machine is unusable for anything else while its running, if it is running.

Whatever its doing is keeping it pretty busy according to Performance Monitor.

EpicLPer commented 4 years ago

I know this is an older issue but same happened to me. Left it running for 10+ hours, CPU was constantly at ~90%, 18GB RAM usage, no advancement whatsoever. I had to cancel it now...

It was a simply dataset of about 182 pictures, some other solutions that I tried (even the old free Dronedeploy back then) were finished in roughly 2 hours, even on lower end hardware. I can't remember the name anymore that I had set up but it was also OpenSource running on Ubuntu as a Docker container, wasn't OpenMVG tho.

Seems to not work for me rn :( I'll try the Stable version as this is the Beta of Regard 3D but I doubt it'll change anything much.
EDIT: Apparently there is no Stable since the whole project is a Beta thing. My bad sorry.

rhiestan commented 4 years ago

I suggest to start with only a few images, for example 10, and try to find good parameters to obtain a triangulation. Regard3D matches every picture with every other, so you will see an exponential increase in computation time with the amount of pictures (actually n!/2). So please start small, then slowly increase the amount of pictures.