code: def __init__(self, *args, **kwargs):
      super(COLMAPDatabase, self).__init__(*args, **kwargs)
  
      self.initialize_tables = lambda: self.executescript(CREATE_ALL)
  
      self.initialize_cameras = lambda: self.executescript(
          CREATE_CAMERAS_TABLE
      )
      self.initialize_descriptors = lambda: self.executescript(
          CREATE_DESCRIPTORS_TABLE
      )
      self.initialize_images = lambda: self.executescript(
          CREATE_IMAGES_TABLE
      )
      self.initialize_inlier_matches = lambda: self.executescript(
          CREATE_INLIER_MATCHES_TABLE
      )
      self.initialize_keypoints = lambda: self.executescript(
          CREATE_KEYPOINTS_TABLE
      )
      self.initialize_matches = lambda: self.executescript(
          CREATE_MATCHES_TABLE
      )
  
      self.create_name_index = lambda: self.executescript(
          CREATE_NAME_INDEX
      )
  
file_path: nerfies/third_party/pycolmap/pycolmap/database.py
imports: import numpy
  import os
  import sqlite3
label_desc: Use image node_id 2 to create a new COLMAPDatabase object from inherited base classes: sqlite3 with example: obj = COLMAPDatabase()