sarlinpe · GitHub

IMHO regular users don't need to know about statistics during reconstruction. This PR changes some logs to verbose. To enable them:

  • prefix the command with GLOG_v=1
  • add the CLI argument --v=1
  • or set pycolmap.logging.verbose_level = 1 in Python

Example of default output (python example.py):

I20240213 23:45:11.468131 139676170342400 misc.cc:198]
==============================================================================
Finding good initial image pair
==============================================================================
I20240213 23:45:11.576729 139676170342400 misc.cc:198]
==============================================================================
Initializing with image pair #6 and #4
==============================================================================
I20240213 23:45:11.584307 139676170342400 misc.cc:198]
==============================================================================
Global bundle adjustment
==============================================================================
I20240213 23:45:12.467502 139676170342400 misc.cc:198]
==============================================================================
Registering image #5 (3)
==============================================================================
I20240213 23:45:12.467517 139676170342400 incremental_mapper.cc:496] => Image sees 3755 / 8696 points
I20240213 23:45:13.138308 139676170342400 misc.cc:198]
==============================================================================
Retriangulation
==============================================================================
I20240213 23:45:13.141402 139676170342400 misc.cc:198]
==============================================================================
Global bundle adjustment
==============================================================================
I20240213 23:45:13.533418 139676170342400 misc.cc:198]
==============================================================================
Registering image #7 (4)
==============================================================================
I20240213 23:45:13.533433 139676170342400 incremental_mapper.cc:496] => Image sees 4844 / 8946 points
I20240213 23:45:14.172859 139676170342400 misc.cc:198]
==============================================================================
Retriangulation
==============================================================================
I20240213 23:45:14.177424 139676170342400 misc.cc:198]
==============================================================================
Global bundle adjustment
==============================================================================

Read the original on github.com ↗