EPro-PnP: Generalized End-to-End Probabilistic Perspective-n-Points for Monocular Object Pose Estimation

Hansheng Chen, Wei Tian, Pichao Wang, Fan Wang, Lu Xiong +1 more
3/22/2023
235 citations
cs.CV

Official code: tjiiv-cprg/EPro-PnP (1,178 stars, Python, Apache-2.0, PyTorch, last commit 2025-05-01). 1 more implementation below.

Abstract

Locating 3D objects from a single RGB image via Perspective-n-Point (PnP) is a long-standing problem in computer vision. Driven by end-to-end deep learning, recent studies suggest interpreting PnP as a differentiable layer, allowing for partial learning of 2D-3D point correspondences by backpropagating the gradients of pose loss.

Show full abstract

Yet, learning the entire correspondences from scratch is highly challenging, particularly for ambiguous pose solutions, where the globally optimal pose is theoretically non-differentiable w.r.t. the points. In this paper, we propose the EPro-PnP, a probabilistic PnP layer for general end-to-end pose estimation, which outputs a distribution of pose with differentiable probability density on the SE(3) manifold. The 2D-3D coordinates and corresponding weights are treated as intermediate variables learned by minimizing the KL divergence between the predicted and target pose distribution. The underlying principle generalizes previous approaches, and resembles the attention mechanism. EPro-PnP can enhance existing correspondence networks, closing the gap between PnP-based method and the task-specific leaders on the LineMOD 6DoF pose estimation benchmark. Furthermore, EPro-PnP helps to explore new possibilities of network design, as we demonstrate a novel deformable correspondence network with the state-of-the-art pose accuracy on the nuScenes 3D object detection benchmark. Our code is available at https://github.com/tjiiv-cprg/EPro-PnP-v2.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
tjiiv-cprg/EPro-PnPOfficial1,178PythonApache-2.02025-05-01
tjiiv-cprg/EPro-PnP-v2Official183PythonMIT2025-05-01
PyTorchApache-2.0

[CVPR 2022 Best Student Paper] EPro-PnP: Generalized End-to-End Probabilistic Perspective-n-Points for Monocular Object Pose Estimation

1,178110Python, CudaMar 20, 20221 years agoApache-2.0
3d-object-detection6dofcvprgauss-newtonlevenberg-marquardt+4 more
PyTorchMIT

[TPAMI 2024] EPro-PnP: Generalized End-to-End Probabilistic Perspective-n-Points for Monocular Object Pose Estimation

18316Python, CudaMar 22, 20231 years agoMIT
3d-object-detection6dofgauss-newtonlevenberg-marquardtmonocular+3 more

Similar Papers

Cite this paper

@article{chen2023epropnp,
  title  = {EPro-PnP: Generalized End-to-End Probabilistic Perspective-n-Points for Monocular Object Pose Estimation},
  author = {Hansheng Chen and Wei Tian and Pichao Wang and Fan Wang and Lu Xiong and Hao Li},
  year   = {2023},
  eprint = {2303.12787},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.12787v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.12787.svg)](https://codeofpaper.com/paper/2303.12787)

Discussion