docstr: Unproject one or more Vector2 from the canonical z=1 plane into the camera frame.
  
  Args:
      points: Vector2 representing the points to unproject.
      depth: Tensor representing the depth of the points to unproject.
  
  Returns:
      Vector3 representing the unprojected points.
  
  Example:
      >>> points = Vector2.from_coords(1., 2.)
      >>> Z1Projection().unproject(points, 3)
      x: tensor([3.])
      y: tensor([6.])
      z: tensor([3.])
docstr_tok: ["Unproject","one","or","more","Vector2","from","the","canonical","z=1","plane","into","the","camera","frame",".","Args",":","points",":","Vector2","representing","the","points","to","unproject",".","depth",":","Tensor","representing","the","depth","of","the","points","to","unproject",".","Returns",":","Vector3","representing","the","unprojected","points",".","Example",":",">",">",">","points","=","Vector2.from_coords","(","1.",",","2",".",")",">",">",">","Z1Projection","(",")",".unproject","(","points",",","3",")","x",":","tensor","(","[","3",".","]",")","y",":","tensor","(","[","6",".","]",")","z",":","tensor","(","[","3",".","]",")"]
code: def unproject(
      self, points: Vector2, depth: Tensor | float
  ) -> Vector3:
      """Unproject one or more Vector2 from the canonical z=1 plane into the camera frame.
  
      Args:
          points: Vector2 representing the points to unproject.
          depth: Tensor representing the depth of the points to unproject.
  
      Returns:
          Vector3 representing the unprojected points.
  
      Example:
          >>> points = Vector2.from_coords(1., 2.)
          >>> Z1Projection().unproject(points, 3)
          x: tensor([3.])
          y: tensor([6.])
          z: tensor([3.])
      """
      if isinstance(depth, (float, int)):
          depth = Tensor([depth])
      return Vector3.from_coords(
          points.x * depth, points.y * depth, depth
      )
  
file_path: kornia/kornia/sensors/camera/projection_model.py
imports: from __future__ import annotations
  from kornia.core import Tensor, diag
  from kornia.geometry.vector import Vector2, Vector3
label_desc: Use image node_id 2 for calling the Z1Projection obj's underlying member method code with example usage: obj.unproject(points, depth) and returns: Vector3