Papers › Solving the Blind Perspective-n-Point Problem End-To-End With Robust Differentiable...

Solving the Blind Perspective-n-Point Problem End-To-End With Robust Differentiable Geometric Optimization

29 Jul 2020ECCV 2020 8arXiv:2007.14628archive 2025-07-28

Dylan Campbell, Liu Liu, Stephen Gould

Blind Perspective-n-Point (PnP) is the problem of estimating the position and orientation of a camera relative to a scene, given 2D image points and 3D scene points, without prior knowledge of the 2D-3D correspondences. Solving for pose and correspondences simultaneously is extremely challenging since the search space is very large. Fortunately it is a coupled problem: the pose can be found easily given the correspondences and vice versa. Existing approaches assume that noisy correspondences are provided, that a good pose prior is available, or that the problem size is small. We instead propose the first fully end-to-end trainable network for solving the blind PnP problem efficiently and globally, that is, without the need for pose priors. We make use of recent results in differentiating optimization problems to incorporate geometric model fitting into an end-to-end learning framework, including Sinkhorn, RANSAC and PnP algorithms. Our proposed approach significantly outperforms other methods on synthetic and real data.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 19 code samples harvested from 2 repositories linked to this paper: 18 ran (of which 0 constructed an object rather than computing a result; 12 with no instrument failure: 0 honoured, 1 violated, 11 with no contract checked; 6 where Syntology's instrument failed) · 1 unverified. Where Syntology's instrument failed: 4 where our contract draft was wrong; 2 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: official repository: 1 sample from 1 repository, 1 ran (0 with no instrument failure; 1 where Syntology's instrument failed); community (archive-listed): 18 samples from 1 repository, 17 ran (12 with no instrument failure; 5 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written between 2026-09-22 and 2026-09-25 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed. 1 of the 18 samples that ran has no recorded date.

dylan-campbell/bpnpnet officialmentioned in papermentioned on GitHubpytorchSyntology: 1 sample, 1 ran (1 instrument-failed) · 0 unverified report
Liumouliu/Deep_blind_PnP mentioned on GitHubpytorchMITSyntology: 18 samples, 17 ran (5 instrument-failed) · 1 unverified report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

19 samples harvested: 18 ran (of which 0 constructed an object rather than computing a result; 12 with no instrument failure: 0 honoured, 1 violated, 11 with no contract checked; 6 where Syntology's instrument failed) · 1 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

1ran · violated contract
4ran · our draft was wrong
2ran; the contract check could not run
11ran
1unverified

Licence: 1 of the 19 samples is pointer only, meaning Syntology does not serve that copy's text. For that sample, this paper's copy is under a permissive licence and cleared, but the stored copy of the same code that Syntology serves is not; the licence label's tooltip gives Syntology's recorded reason. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; the list below is grouped by repository, each group headed by its name and what it is to the paper. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of six reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

dylan-campbell/bpnpnet official repository 1 sample, 1 ran (1 instrument-failed) · 0 unverified
Dy lib/nonlinear_weighted_blind_pnp.py ran; the contract check could not run (RAISES) MIT (permissive) · 50906fc42db82ac9 · report fixture: signature f:Tensor/1/float, x:Tensor/2/float, y:Tensor/2/float · returned Tensor · level recorded 2026-09-22
Liumouliu/Deep_blind_PnP community (archive-listed) 18 samples, 17 ran (5 instrument-failed) · 1 unverified
add_argument_group in 31 papers config.py ran · our draft was wrong MIT (permissive) · 6d80592fd6d47b2d · report fixture: signature name:str/0/str · returned _ArgumentGroup · level recorded 2026-09-22
bn_act model/ops.py ran MIT (permissive) · 5a0fa80f8d2294d9 · report fixture: signature in_channel:int/0/int, perform_gcn:bool/0/bool, perform_bn:bool/0/bool, activation:str/0/str · returned list · level recorded 2026-09-25
correspondenceLoss lib/loss.py ran fingerprinted MIT (permissive) · c53032885d220555 · report fixture: signature P:Tensor/3/float, C_gt:Tensor/3/float · returned Tensor · level recorded 2026-09-25
correspondenceProbabilityBCE lib/loss.py ran fingerprinted MIT (permissive) · 15fcc76407a58c98 · report fixture: signature P:Tensor/3/float, C:Tensor/3/float · returned Tensor · level recorded 2026-09-25
correspondenceProbabilityDistances lib/loss.py ran fingerprinted MIT (permissive) · 3753d4559e502380 · report fixture: signature P:Tensor/4/float, C:Tensor/4/float · returned Tensor · level recorded 2026-09-25
get_file_list in 10 papers lib/file.py ran · our draft was wrong MIT (permissive) · 262f74c5ade997a1 · report fixture: signature path:str/0/str, extension:str/0/str · returned list · level recorded 2026-09-24
get_graph_feature in 51 papers
census: 6 implementations from 5 papers, 4 distinct outputs across 2 buckets, one shared input per bucket
model/ops.py ran MIT (permissive) · f5dcd38523dc6217 · report fixture: signature x:Tensor/3/float, k:int/0/int, idx:NoneType/0/? · returned Tensor · level recorded 2026-09-25
knn in 87 papers
census: 12 implementations from 17 papers, 6 distinct outputs across 4 buckets, one shared input per bucket this sample: bucket 1 of 4, arg 1: rank 3, kind float, dtype float32
model/ops.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant fingerprinted MIT (permissive) · cdd0141594039dcb · report fixture: signature x:Tensor/3/float, k:int/0/int · returned Tensor · level recorded 2026-09-22
load_data_3d2d_pairs lib/data_loaders.py ran MIT (permissive) · bd6343637c69e84b · report fixture: signature config:Config/0/?, dataset_split:str/0/str · returned dict · level recorded 2026-09-25
make_data_loader in 13 papers lib/data_loaders.py ran MIT (permissive) · ad9e933f883a8298 · report fixture: signature config:Config/0/?, phase:str/0/str, batch_size:int/0/int, num_threads:int/0/int, shuffle:bool/0/bool · returned DataLoader · level recorded 2026-09-25
pairwiseL2Dist model/model.py ran fingerprinted MIT (permissive) · c2f2bf68ef50b018 · report fixture: signature x1:Tensor/3/float, x2:Tensor/3/float · returned Tensor · level recorded 2026-09-25
read_txt in 41 papers lib/file.py ran · our draft was wrong MIT (permissive) · 6f1f2152e78c5e6f · report fixture: signature path:str/0/str · returned list · level recorded 2026-09-24
reflection_matrix in 15 papers lib/transformations.py ran fingerprinted MIT (permissive) · f7f6bfdeee237f86 · report fixture: signature point:ndarray/1/float, normal:ndarray/1/float · returned ndarray · level recorded 2026-09-25
sorted_alphanum in 5 papers lib/file.py ran · our draft was wrong MIT (permissive) · 03faf5df924907dd · report fixture: signature file_list_ordered:list/1/str · returned list · level recorded 2026-09-24
str2bool in 533 papers config.py ran · violated contract MIT (permissive) here; the stored copy is pointer only · 248284f69adfeaad · report fixture: signature v:str/0/str · returned bool · level recorded, date not recorded
translation_from_matrix in 15 papers lib/transformations.py ran fingerprinted MIT (permissive) · 77cb383b0cd2a54e · report fixture: signature matrix:ndarray/2/float · returned ndarray · level recorded 2026-09-25
translation_matrix in 15 papers lib/transformations.py ran fingerprinted MIT (permissive) · edeb1406911ce025 · report fixture: signature direction:ndarray/1/float · returned ndarray · level recorded 2026-09-25
load_model in 479 papers lib/utils.py unverified MIT (permissive) · cf0cddae7aa96a4b · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections