code: def blob_to_array(blob, dtype, shape=(-1,)):
      return np.frombuffer(blob, dtype).reshape(*shape)
  
file_path: nerfies/third_party/pycolmap/pycolmap/database.py
imports: import numpy
  import os
  import sqlite3
label_desc: Use image node_id 2 for calling a global function with example usage: blob_to_array(blob, dtype, shape) and returns: np