Skip to content

Instantly share code, notes, and snippets.

@AlansCodeLog
Last active January 1, 2020 17:54
Show Gist options
  • Save AlansCodeLog/6a3bf6f4cb0a6cf3bedb5a697c63aa3a to your computer and use it in GitHub Desktop.
Save AlansCodeLog/6a3bf6f4cb0a6cf3bedb5a697c63aa3a to your computer and use it in GitHub Desktop.
PPT-GUI Install Notes #photogrammetry

PPT-GUI (Python Photogrammetry GUI)

Install

Regular Install

Installing per site instructions works perfectly.

Conda

Through conda it wants to throw this error: File "B:\Programs\PPT-GUI\osm-bundler\osm-bundlerWin64\ppt_gui.py", line 6, in from PyQt4 import QtGui ImportError: No module named PyQt4

Fix

In program folder run cmd or cd to it then: activate python2 conda install PyQt pip install pyqt4-windows-whl pip install pillow python ppt_gui.py

Versions do not seem to matter.

Note: Running ppt_gui_start.bat still causes problems.

File "ppt_gui.py", line 55
self.help_button1 = QtGui.QPushButton("", self.tab)
                                                  ^
TabError: inconsistent use of tabs and spaces in indentation

If both Python 2 and 3 are installed do py -2 ppt_gui.py and it should work.

Usage

Once open, go to tab 1. Run Bundler and select the folder containing the photos. Add quotations around path if it has spaces. Set Set desired Photos Width to the photo width. Unchecking just defaults to 1200.

Hit run. This takes forever. The program appears to freeze. You can see the progress in the console.

After it's done a temp folder should open up. Copy it's path. Optionally, copy it somewhere safe then copy that path.

Next there are two options. Tab 2. Run CMVS/PMVS will ??? or tab or run PMVS without CMVS which will ???

If using 2. Run CMVS/PMVS paste the path (using quotes if needed) and if you have enough memory change the Number of Photos in each Cluster: to the number of photos, otherwise it will produce multiple models (though it should be easy to import them and combine them in meshlab).

If using or run PMVS without CMVS check Use directly PMVS2 (without cMVS) and paste the path (using quotes if needed).

Hit run, again this takes a while.

Copy the pmvs folder generated in the temp location to somewhere safe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment