Git Product home page Git Product logo

osm-bundler's People

Watchers

 avatar

osm-bundler's Issues

Scaling factor of 1 not accepted

What steps will reproduce the problem?
1. Call Bundler from ppt-gui with photoScalingFactor = 1

What is the expected output? What do you see instead?
The photos should not be scaled down, but it picks a random scaling argument 
instead (usually scale down to 1200 pixel)

What version of the product are you using? On what operating system?
v0.1 on Windows 7 x64

Please provide any additional information below.
In osmbundler/__init__.py, just replace
if val>0 and val<1: self.photoScalingFactor = val
with 
if val>0 and val<=1: self.photoScalingFactor = val

Original issue reported on code.google.com by [email protected] on 16 Oct 2014 at 8:16

RunCMVS loops!

What steps will reproduce the problem?
1. Use a photoset of 30 photos
2. RunBundler.py
3. RunCMVS.py

What is the expected output? What do you see instead?
Expected is a finite process during RunCMVS, however RunCMVS does loop during: 
"subprocess.call([cmvsExecutable, "./", clustersize])" (/osmcmvs/__init__.py, 
line 109)

What version of the product are you using? On what operating system?
svn r52, both Linux and Windows

Please provide any additional information below.
It seems that the clustersize is way too small. Setting a clustersize of 100 
(or omitting the clustersize) fixes the problem. Default is 4.

Original issue reported on code.google.com by [email protected] on 16 Oct 2010 at 7:43

sift.exe failure when scale of photos is set to 1

What steps will reproduce the problem?
1. Running OSMBundler 64bit version via command line, with photo scaling factor 
of 1 (previously inserted the change to allow for this scale, else i would get 
auto-scaled down result).
2. Getting error that sift.exe has stopped working. Please find included 
windows generated report.
3. No features are extracted, process continues for every photo, after i close 
the program, and for each image same report is generated, over and over again 
with same inquiry, to close the program.

What is the expected output? What do you see instead?
No output whatsoever - no sparse point cloud is generated or any of the 
additional files.

What version of the product are you using? On what operating system?
Bundle version with dense point cloud reconstruction solutions, Win7 64X

Please provide any additional information below.
This is almost certainly connected to scaling of the photos. I dont get any 
problems with resized photos workflow.

Problem signature:
  Problem Event Name:   APPCRASH
  Application Name: sift.exe
  Application Version:  0.0.0.0
  Application Timestamp:    4b5252fa
  Fault Module Name:    vl.dll
  Fault Module Version: 0.0.0.0
  Fault Module Timestamp:   4b5252f8
  Exception Code:   c0000005
  Exception Offset: 0000e84f
  OS Version:   6.1.7601.2.1.0.256.1
  Locale ID:    1033
  Additional Information 1: 0a9e
  Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
  Additional Information 3: 0a9e
  Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Original issue reported on code.google.com by [email protected] on 5 Jun 2015 at 12:48

running

What steps will reproduce the problem?

using the download of osm-bundler.zip on linux 64 bit system
1.

dave@dave-desktop:~/Downloads/osm-bundler$ python RunBundler.py 
--photos=example_OldTownHall/
Working directory created: /tmp/osm-bundler-xUoC86
BundlerMatching executable path: 
/home/dave/Downloads/osm-bundler/software/bundler/bin/KeyMatchFull
Sift executable path: 
/home/dave/Downloads/osm-bundler/software/vlfeat/bin/glx/sift

Processing photo 'IMGP3428.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/dave/Downloads/osm-bundler/osmbundler/__init__.py", line 121, in preparePhotos
    self._preparePhoto(photoInfo)
  File "/home/dave/Downloads/osm-bundler/osmbundler/__init__.py", line 176, in _preparePhoto
    self.extractFeatures(photo)
  File "/home/dave/Downloads/osm-bundler/osmbundler/__init__.py", line 244, in extractFeatures
    self.featureExtractor.extract(photo, self.photoDict[photo])
  File "/home/dave/Downloads/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 493, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory


What is the expected output? What do you see instead?

something other than an error

What version of the product are you using? On what operating system?

latest

Please provide any additional information below.

also tried the full distribution (osm-bundler-pmvs2-cmvs-full-32-64.zip) and 
got this

dave@dave-desktop:~/Downloads/osm-bundler$ python RunBundler.py 
--photos=examples/kermit/
Traceback (most recent call last):
  File "RunBundler.py", line 2, in <module>
    import osmbundler
ImportError: No module named osmbundler

Original issue reported on code.google.com by [email protected] on 15 May 2013 at 9:47

Jpeg Compression Introduces Errors

What steps will reproduce the problem?
1) Run the "RunBundler.py" script with --maxPhotoDimension set to a small 
number.
2) In the generated Bundle out file, all JPEGS are saved with lossy 
compression, and compression artifacts make the results MUCH less accurate when 
compared with images that are resized beforehand using imagemagick for example.


What is the expected output? What do you see instead?
Much fewer, lower quality point clouds result.

To fix, change line 260 in osmbundler/__init__.py:

- photoHandle.save(outputFileNameJpg)
+ photoHandle.save(outputFileNameJpg, quality=100)

Then, although the images get scaled down for the algorithm, the downscaling 
doesn't introduce compression artifacts which significantly improves the 
quality of generated point cloud.


Original issue reported on code.google.com by [email protected] on 10 Jan 2012 at 2:46

Error when running python project

What steps will reproduce the problem?
1. python path_to/RunBundler.py --photo=example 

What is the expected output? What do you see instead?
Error message only

What version of the product are you using? On what operating system?
r-144-179-28-172:osm-bundler moonlight$ /usr/local/bin/python RunBundler.py 
--photo=example
Working directory created: 
/var/folders/c4/w8vrtsvs5rb6l256g889fk700000gn/T/osm-bundler-PNrQBD
BundlerMatching executable path: /Users/moonlight/Google 
Drive/nus/sem7/cs4243/osm-bundler/software/bundler/bin/KeyMatchFull
Sift executable path: /Users/moonlight/Google 
Drive/nus/sem7/cs4243/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 "/Users/moonlight/Google Drive/nus/sem7/cs4243/osm-bundler/osmbundler/__init__.py", line 121, in preparePhotos
    self._preparePhoto(photoInfo)
  File "/Users/moonlight/Google Drive/nus/sem7/cs4243/osm-bundler/osmbundler/__init__.py", line 176, in _preparePhoto
    self.extractFeatures(photo)
  File "/Users/moonlight/Google Drive/nus/sem7/cs4243/osm-bundler/osmbundler/__init__.py", line 244, in extractFeatures
    self.featureExtractor.extract(photo, self.photoDict[photo])
  File "/Users/moonlight/Google Drive/nus/sem7/cs4243/osm-bundler/osmbundler/features/siftvlfeat.py", line 16, in extract
    subprocess.call([self.executable, "%s.jpg.pgm" % photo, "-o", "%s.key" % photo])
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 524, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1308, in _execute_child
    raise child_exception
OSError: [Errno 8] Exec format error

Original issue reported on code.google.com by [email protected] on 13 Sep 2013 at 4:30

Point Cloud only contains a few points

What steps will reproduce the problem?
1. Originally the image is in bmp format, first I convert them to jpg format
2. run RunBundler.py 
3. Processing photo shows"can't estimate focal length in pixels" for all the 
input photos, but features can be found

What is the expected output? What do you see instead?
I expected a much denser point cloud but the output file only contains a few 
points

What version of the product are you using? On what operating system?
I am using the "osm-bundler-pmvs2-cmvs-full-32-64.zip" in windows 8.1  system

Please provide any additional information below.
A sample image I used is attached.

Thank you!
Rui

Original issue reported on code.google.com by [email protected] on 29 Oct 2013 at 7:15

Attachments:

Error When Executing CMVS on the output of Bundler

What steps will reproduce the problem?
1. Install osm-bundler on a windows machine (xp & 7 32 bits both) 
2. Run RunBundler.py on the ET set of images
3. Run RunCMVS.py on the output of RunBundler.py

What is the expected output? What do you see instead?
- it should give the expected dense reconstruction 
- The process crashes just after it begins giving the following error:
http://img689.imageshack.us/img689/219/errorqu.jpg (or see the attacged file)

What version of the product are you using? On what operating system?
osm-bundler-pmvs2-cmvs-full-32-64.zip with both visual studio and c++ express 
2010.

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 9 Apr 2012 at 6:22

Attachments:

Sensor Size not found in Exif

In Noah original shell script he first checks the database for camera 
info for a particular model.  If he doesn't find it he then looks in the 
EXIF data.

With the sensor size Bundler incorporated twice as many image in my 
particular test.

I've written a patch.  The second index of the FocalPlaneXResolution tag 
tells you how large the sensor is in . . . some units.  And the 
FocalPlaneResolutionUnit tells you what those units are.

Noah uses jhead to read the EXIF data so I looked at jhead's source, his 
formula for finding the CCD size didn't work or make sense to me.

line 1054 - ImageInfo.CCDWidth = (float)(ExifImageWidth * FocalplaneUnits 
/ FocalplaneXRes);

My formula is simply CCDWidht = FocalPlaneXResolution[1] * 
FocalPlaneResolutionUnit

Original issue reported on code.google.com by [email protected] on 18 Apr 2010 at 8:14

Attachments:

OSError: [Errno 2] No such file or directory

What steps will reproduce the problem?
1. Install libgfortran3, libjpeg, PIL, python-dev, exported library paths, etc.
2. download osm-bundler, and fix all the permissions.
3. RunBundler.py, but getting the error. 

What is the expected output? What do you see instead?
Expected to run the RunBundler.py file and get .ply output.

What version of the product are you using? On what operating system?
Ubuntu 12.04 LTS & Ubuntu 14.04 LTS

Please provide any additional information below.
Tried the solution in issue 8, but no help. Tried the follow as well, but it 
hasn't solved the issue: http://forum.openstreetmap.org/viewtopic.php?id=13652. 
I've tried both siftlowe and vlfeat, and I get the same error. 

I get the following:
Working directory created: /tmp/osm-bundler-HcmIHP
BundlerMatching executable path: 
/home/ubuntu/osm-bundler-cli/software/bundler/bin/KeyMatchFull
Sift executable path: /home/ubuntu/osm-bundler-cli/software/sift-lowe/sift

Processing photo 'kermit007.jpg':
Traceback (most recent call last):
  File "./RunBundler.py", line 9, in <module>
    manager.preparePhotos()
  File "/home/ubuntu/osm-bundler-cli/osmbundler/__init__.py", line 121, in preparePhotos
    self._preparePhoto(photoInfo)
  File "/home/ubuntu/osm-bundler-cli/osmbundler/__init__.py", line 176, in _preparePhoto
    self.extractFeatures(photo)
  File "/home/ubuntu/osm-bundler-cli/osmbundler/__init__.py", line 244, in extractFeatures
    self.featureExtractor.extract(photo, self.photoDict[photo])
  File "/home/ubuntu/osm-bundler-cli/osmbundler/features/siftlowe.py", line 17, in extract
    subprocess.call(self.executable, **dict(stdin=photoFile, stdout=siftTextFile))
  File "/usr/lib/python2.7/subprocess.py", line 493, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory


Would appreciate any help possible! Thanks in advance...

Original issue reported on code.google.com by [email protected] on 9 Aug 2014 at 5:49

Microsoft Visual C++ 2010 Redistributable Package (x86) required

What steps will reproduce the problem?
1. Install osm-bundler-pmvs2-cmvs-full-32-64.zip package on a computer that 
does not have Visual C++ 2010 installed.
2. Run RunBundler.py as described at the download page 
http://code.google.com/p/osm-bundler/downloads/detail?name=osm-bundler-pmvs2-cmv
s-full-32-64.zip&can=2&q=
3. KeyMatchFull.exe fails to run without the MSVCP100.dll

What is the expected output? What do you see instead?
KeyMatchFull.exe fails to run without the MSVCP100.dll

What version of the product are you using? On what operating system?
osm-bundler-pmvs2-cmvs-full-32-64.zip / 32 bit on Windows 7

Please provide any additional information below.
Installing vcredist_x86.exe from 
http://www.microsoft.com/download/en/details.aspx?id=5555 fixed the issue.


Original issue reported on code.google.com by [email protected] on 23 Jul 2011 at 2:43

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.