barvin04 / BPnP

Back-propagatable PnP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repo provides the code used in the paper

Watch our video demo

Watch the video

Install

bash requirements.sh

Back-propagatable PnP (BPnP)

Using BPnP is easy. Just add the following line in your code

import BPnP
bpnp = BPnP.BPnP.apply

Then you can use it as any autograd function in Pytorch.

Demo experiments

To see the demos presented in the paper, run

python demoPoseEst.py

or

python demoSfM.py

or

python demoCamCali.py

Cite this work

@inproceedings{BPnP2020,
    Author = {Chen, Bo and Parra, Alvaro and Cao, Jiewei and Li, Nan and Chin, Tat-Jun},
    Title = {End-to-End Learnable Geometric Vision by Backpropagating PnP Optimization},
    Booktitle = {CVPR},
    Year = {2020}}

About

Back-propagatable PnP

License:MIT License


Languages

Language:Python 97.0%Language:Shell 3.0%