code: def GetNumParams(type_):
      if type_ == 0 or type_ == "SIMPLE_PINHOLE":
          return 3
      if type_ == 1 or type_ == "PINHOLE":
          return 4
      if type_ == 2 or type_ == "SIMPLE_RADIAL":
          return 4
      if type_ == 3 or type_ == "RADIAL":
          return 5
      if type_ == 4 or type_ == "OPENCV":
          return 8
      # if type_ == 5 or type_ == 'OPENCV_FISHEYE':
      #    return 8
      # if type_ == 6 or type_ == 'FULL_OPENCV':
      #    return 12
      # if type_ == 7 or type_ == 'FOV':
      #    return 5
      # if type_ == 8 or type_ == 'SIMPLE_RADIAL_FISHEYE':
      #    return 4
      # if type_ == 9 or type_ == 'RADIAL_FISHEYE':
      #    return 5
      # if type_ == 10 or type_ == 'THIN_PRISM_FISHEYE':
      #    return 12
  
      # TODO: not supporting other camera types, currently
      raise Exception("Camera type not supported")
  
file_path: nerfies/third_party/pycolmap/pycolmap/camera.py
imports: import numpy
  from scipy.optimize import root
label_desc: Use image node_id 1 for calling the Camera obj's underlying member method code with example usage: obj.GetNumParams(type_) and returns: int, int, int, int, int