← All projects

2022

PoseNet Camera Relocalization

Regressing a camera's 6-DoF position and orientation directly from a single image with a GoogLeNet-based CNN, following the PoseNet paper.

  • PyTorch
  • Camera pose
  • GoogLeNet
  • SFU CMPT 733
  • 6-DoF pose regression
  • GoogLeNet / Inception backbone

Overview

PoseNet (Kendall et al., 2015) treats camera relocalization as a regression problem: given one image, predict where the camera is (a 3D position) and which way it is facing (a quaternion). I built this for a lab in SFU’s CMPT 733, on the King’s College scene from the Cambridge Landmarks dataset.

  • Built the GoogLeNet (Inception) backbone following Going Deeper with Convolutions.
  • Replaced the classifier heads with pose-regression heads for position and orientation.
  • Trained with a weighted loss that balances translation error against rotation error.