mapillary / OpenSfM

Open source Structure-from-Motion pipeline
https://www.opensfm.org/
BSD 2-Clause "Simplified" License
3.38k stars 858 forks source link

Viewer stuck "loading" #139

Closed mattbrown11 closed 7 years ago

mattbrown11 commented 7 years ago

I follwed the instructions in the README.md and ran on the Berlin data set. It seems to have finished without issue and created a number of files including reconstruction.meshed.json.

I ran

$sudo python -m SimpleHTTPServer

from the main OpenSfM folder and then used Mozilla to browse

http://localhost:8000/viewer/reconstruction.html#file=/data/berlin/reconstruction.meshed.json

However, it is stuck at the loading animation.

I am on Ubuntu 14.04. Any ideas? Thanks.

paulinus commented 7 years ago

you can make sure that the file data/berlin/reconstruction.meshed.json exists. If it does, check the javascript console for errors Also, no need to use sudo here

mattbrown11 commented 7 years ago

After updating from cv2 3.10 to 3.2.0 as discussed in my issue #138 seemed to fix things. I guess it wasn't fully completing the SfM operations. It is possible that I was ignoring exif orientation, causing bad results. Now the viewer works. Thanks.

paulinus commented 7 years ago

glad to hear, thanks for reporting @mattbrown11