I’ve read this wiki.
So I was just interested how it work but for me it didn’t work.
Python is already installed on my system.
Installing of PIL also worked. (testet with python selftest build)
Installing libgfortran3 also worked.
Export of path for libANN_char.so worked.
Trying to start osm-bundler worked (showed the help)
Starting with list of example photos crashed… Any ideas?
python RunBundler.py --photos=list.txt
Working directory created: /tmp/osm-bundler-wG6y5m
BundlerMatching executable path: /home/myubuntu/osm/osm-bundler/software/bundler/bin/KeyMatchFull
Sift executable path: /home/myubuntu/osm/osm-bundler/software/vlfeat/bin/glx/sift
Processing photo 'IMGP3417.jpg':
Copy of the photo has been scaled down to 1200x900
Extracting features with the SIFT method from VLFeat library...
Traceback (most recent call last):
File "RunBundler.py", line 9, in <module>
manager.preparePhotos()
File "/home/myubuntu/osm/osm-bundler/osmbundler/__init__.py", line 134, in preparePhotos
self._preparePhoto(photoInfo)
File "/home/myubuntu/osm/osm-bundler/osmbundler/__init__.py", line 176, in _preparePhoto
self.extractFeatures(photo)
File "/home/myubuntu/osm/osm-bundler/osmbundler/__init__.py", line 244, in extractFeatures
self.featureExtractor.extract(photo, self.photoDict[photo])
File "/home/myubuntu/osm/osm-bundler/osmbundler/features/siftvlfeat.py", line 16, in extract
subprocess.call([self.executable, "%s.jpg.pgm" % photo, "-o", "%s.key" % photo])
File "/usr/lib/python2.7/subprocess.py", line 486, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 672, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1213, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied
Something is wrong with permissions. Unfortunately I don’t have Linux.
In general, if you want to extract building outlines from photos, I’d recommend you to use OpenStreetMap Plugin for Google Sketchup.
Though I’m not sure if it works on Linux
Second problem was the permission-problem you described.
The solution is, to change the permission of the files in the subdirs of osm-bundler/software/ to executable.
In special the following command changes the permissions:
The third problem was something like “libgfortran could not be found”. Even though i installed the package.
I solved it in a very quick and dirty way:
I downloaded the amd64-deb package from http://packages.ubuntu.com/natty/amd64/lib32gfortran3/download and unpacked the file libgfortran.so.3.0.0 to software/bundler/bin/libgfortran.so.3
Hi, photogrammetry seems to be interesting to get 3D models but currently there is no easy to use tool out there?
I guess this has to change if we want even non 3D aware novices to contribute models