agmarrugo / camera-models

Simple camera models with NumPy and Matplotlib

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Medium Badge

Introduction

This repository contains a notebook and a library to explain the operation of some simple camera models. The theory presented is almost entirely taken from the book Multiple View Geometry in Computer Vision by Richard Hartley and Andrew Zisserman, in particular from chapter 6 "Camera Models". The purpose of this work is therefore not to explain the theory but to apply it, trying to improve the reader's understanding of these concepts.

Get Started

In order to use the notebook and library here, you must first create and activate a virtual environment using Anaconda. If you have not yet installed Anaconda, you can do so by following these instructions. After that you just need to run the following commands:

$ cd camera-models
$ conda env create --prefix ./env --file environment.yml
$ conda activate ./env
$ jupyter notebook

Changelog

2022-06-29

  • Fix the inconsistent use of F instead of FOCAL_LENGTH in the last part of the notebook thanks to @alexflorensa (#2)

2022-04-24

  • Fix the inconsistent use of the rotation matrix thanks to @estshorter (#1)

About

Simple camera models with NumPy and Matplotlib

License:MIT License


Languages

Language:Jupyter Notebook 98.8%Language:Python 1.2%