{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "1eaeed6a", "metadata": {}, "outputs": [], "source": [ "%load_ext autoreload\n", "%autoreload 2" ] }, { "cell_type": "markdown", "id": "d01fd6a9", "metadata": {}, "source": [ "# LensBoy quickstart\n", "\n", "This notebook shows you how to use lensboy to calibrate a camera, and verify it using the analysis tools." ] }, { "cell_type": "code", "execution_count": 2, "id": "c4ec7dc4", "metadata": { "lines_to_next_cell": 2 }, "outputs": [], "source": [ "import lensboy as lb\n", "import lensboy.analysis as lba\n", "import cv2\n", "import imageio.v3 as iio\n", "import mediapy\n", "from pathlib import Path" ] }, { "cell_type": "markdown", "id": "9cc3e94a", "metadata": {}, "source": [ "First, load the images, and look at an example image." ] }, { "cell_type": "code", "execution_count": 3, "id": "866b3a8b", "metadata": {}, "outputs": [ { "data": { "text/html": [ "