{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "%load_ext autoreload\n", "%autoreload 2" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Model differencing\n", "\n", "`lensboy` has tools to compare two different camera intrinsics.\n", "\n", "This can be useful to, for example\n", "* Cross-validate your calibration\n", "* Check whether your camera calibrtion has changed\n", "* Compare two cameras of the same type to see how much the intrinsics differ\n", "\n", "In this notebook, we'll explore how to do this with `lensboy`.\n" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [], "source": [ "from pathlib import Path\n", "import imageio.v3 as iio\n", "import mediapy\n", "import cv2\n", "\n", "import lensboy as lb\n", "import lensboy.analysis as lba" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Load dataset" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [ { "data": { "text/html": [ "