English

nvTorchCam: An Open-source Library for Camera-Agnostic Differentiable Geometric Vision

Computer Vision and Pattern Recognition 2024-10-17 v1

Abstract

We introduce nvTorchCam, an open-source library under the Apache 2.0 license, designed to make deep learning algorithms camera model-independent. nvTorchCam abstracts critical camera operations such as projection and unprojection, allowing developers to implement algorithms once and apply them across diverse camera models--including pinhole, fisheye, and 360 equirectangular panoramas, which are commonly used in automotive and real estate capture applications. Built on PyTorch, nvTorchCam is fully differentiable and supports GPU acceleration and batching for efficient computation. Furthermore, deep learning models trained for one camera type can be directly transferred to other camera types without requiring additional modification. In this paper, we provide an overview of nvTorchCam, its functionality, and present various code examples and diagrams to demonstrate its usage. Source code and installation instructions can be found on the nvTorchCam GitHub page at https://github.com/NVlabs/nvTorchCam.

Cite

@article{arxiv.2410.12074,
  title  = {nvTorchCam: An Open-source Library for Camera-Agnostic Differentiable Geometric Vision},
  author = {Daniel Lichy and Hang Su and Abhishek Badki and Jan Kautz and Orazio Gallo},
  journal= {arXiv preprint arXiv:2410.12074},
  year   = {2024}
}

Comments

Source code and installation instructions are available at https://github.com/NVlabs/nvTorchCam

R2 v1 2026-06-28T19:23:23.182Z