code: def add_camera(
      db,
      model,
      width,
      height,
      params,
      prior_focal_length=False,
      camera_id=None,
  ):
      # TODO: Parameter count checks
      params = np.asarray(params, np.float64)
      db.execute(
          "INSERT INTO cameras VALUES (?, ?, ?, ?, ?, ?)",
          (
              camera_id,
              model,
              width,
              height,
              array_to_blob(params),
              prior_focal_length,
          ),
      )
  
file_path: nerfies/third_party/pycolmap/pycolmap/database.py
imports: import numpy
  import os
  import sqlite3
label_desc: Use image node_id 5 for calling a global function with example usage: add_camera(db, model, width, height, params, prior_focal_length, camera_id) without return types