Example #1
0
 def process_remote(self, done):
     octx = OSFMContext(self.path("opensfm"))
     if not octx.is_feature_matching_done() or not octx.is_reconstruction_done() or self.params['rerun']:
         self.execute_remote_task(done, seed_files=["opensfm/exif", 
                                             "opensfm/camera_models.json",
                                             "opensfm/reference_lla.json"],
                                 seed_touch_files=["opensfm/split_merge_stop_at_reconstruction.txt"],
                                 outputs=["opensfm/matches", "opensfm/features", 
                                         "opensfm/reconstruction.json",
                                         "opensfm/tracks.csv",
                                         "cameras.json"])
     else:
         log.ODM_INFO("Already processed feature matching and reconstruction for %s" % octx.name())
         done()
Example #2
0
 def process_local(self):
     octx = OSFMContext(self.path("opensfm"))
     log.ODM_INFO("==================================")
     log.ODM_INFO("Local Reconstruction %s" % octx.name())
     log.ODM_INFO("==================================")
     octx.feature_matching(self.params['rerun'])
     octx.reconstruct(self.params['rerun'])