Simple Camera Models with NumPy and Matplotlib

Mario Larcher
Analytics Vidhya
Published in
12 min readMar 16, 2021

--

Photo by ShareGrid on Unsplash.

Introduction

The code presented in this article can be found here. I suggest you take a look at it and try to play around with it to fully assimilate the concepts that will be presented.

import matplotlib.pyplot as plt
import numpy as np

from camera_models import * # our package


DECIMALS = 2 # how many decimal places to use in print

--

--

Mario Larcher
Analytics Vidhya

I like spaghetti code with 🍅. Currently Staff Applied Scientist in the Canva Image Generation team, formerly Head of Computer Vision at Enel Group.