code: def add_image(
      db,
      name,
      camera_id,
      prior_q=np.zeros(4),
      prior_t=np.zeros(3),
      image_id=None,
  ):
      db.execute(
          "INSERT INTO images VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",
          (
              image_id,
              name,
              camera_id,
              prior_q[0],
              prior_q[1],
              prior_q[2],
              prior_q[3],
              prior_t[0],
              prior_t[1],
              prior_t[2],
          ),
      )
  
file_path: nerfies/third_party/pycolmap/pycolmap/database.py
imports: import numpy
  import os
  import sqlite3
label_desc: Use image node_id 7 for calling a global function with example usage: add_image(db, name, camera_id, prior_q, prior_t, image_id) without return types