Matcher

class Matcher.Matcher(projdir, imgdir, clean)[source]

Bases: object

Matcher is a python class designed to be run as a subprocess. It uses Colmap to create a dense point cloud and database of image data from the images in the user-selected image directory.

Parameters:
  • projdir (pathlib.Path) – Project directory containing .vrp file

  • imgdir (pathlib.Path) – Image directory

  • clean (char) – ‘T’ to remove database, ‘F’ to use existing database (if one exists). A command-line flag.

image2dense(clean)[source]

Method to run the colmap commands sequentially as subprocesses. Generates the fused.ply file.

Parameters:

clean (char) – ‘T’ to remove database, ‘F’ to use existing database (if one exists). A command-line flag.