code: def colmap_cameras_path(tmp_path):
      data = _get_data(*_ref["cameras"])
  
      p = tmp_path / "camera.txt"
      p.write_text(data)
  
      return p
  
file_path: kornia/test/nerf/test_camera_utils.py
imports: import hashlib
  import urllib.request
  import pytest
  import torch
  from kornia.geometry.conversions import quaternion_to_rotation_matrix
  from kornia.nerf.camera_utils import create_spiral_path, parse_colmap_output
  from kornia.testing import assert_close
label_desc: Use image node_id 2 for calling a global function with example usage: colmap_cameras_path(tmp_path) and returns: p