Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

Remove create_pinhole test

Pau Ribafe903dc6cc1f
diff --git a/kornia/testing/__init__.py b/kornia/testing/__init__.py
index 21ed5c50f..b77c23372 100644
--- a/kornia/testing/__init__.py
+++ b/kornia/testing/__init__.py
@@ -11,13 +11,6 @@ __all__ = [
]
-def create_pinhole(fx, fy, cx, cy, height, width, rx, ry, rz, tx, ty, tz):
- """Creates pinhole model encoded to a torch.Tensor.
- """
- return torch.Tensor([
- [fx, fy, cx, cy, height, width, rx, ry, rz, tx, ty, tz]])
-
-
def create_checkerboard(h, w, nw):
"""Creates a synthetic checkerd board of shape HxW and window size `nw`.
"""