class_docstr: Class to handle camera geometry.
class_docstr_tok: ["Class","to","handle","camera","geometry","."]
code: def to_json(self):
      return {
          k: (v.tolist() if hasattr(v, "tolist") else v)
          for k, v in self.get_parameters().items()
      }
  
imports: import copy
  import json
  from typing import Tuple, Union, Optional
  import numpy
  from nerfies import gpath
  from nerfies import types
label_desc: Use image node_id 3 for calling the Camera obj's underlying member method code with example usage: obj.to_json() and returns: unknown