Document Pottery in Minutes, Not Months

An open-source desktop suite for archaeologists, researchers, and ceramic illustrators. From extracting vessel drawings in legacy PDF reports to digital inking, interactive contour vectorization, and publication-ready plate synthesis.


See PyPottery in Action

A full walkthrough of the suite, from a monograph PDF to a publication-ready plate.

Five Steps from Archive to Publication

Each tool solves a dedicated stage of ceramic documentation. Run them individually as standalone tools or orchestrated through the PyPottery Suite Launcher.

PyPotteryLens Logo

PyPotteryLens

Archive Mining & PDF Extraction
Stage 01

Mines historical archaeological reports and PDF monographs. Uses deep learning (YOLOv8) to automatically detect, isolate, and catalog pottery vessel illustrations directly from multi-page documents.

PyPotteryScan Logo

PyPotteryScan

Plate Digitization & OCR
Stage 02

Specialized tool for processing scanned multi-sherd drawing plates. Automatically segments drawing boundaries, extracts handwritten labels and stratigraphic context codes using OCR, and exports structured tables.

PyPotteryInk Logo

PyPotteryInk

AI Inking & Diffusion Engine
Stage 03

Transforms hand-drawn technical illustrations into publication-grade vectorized drawings in seconds, powered by a custom diffusion model tailored for archaeological illustration conventions.

PyPotteryTrace Logo

PyPotteryTrace

SAM 2 Interactive Vectorization
Stage 04

Interactive AI-powered vectorization tool for pottery drawings. Leverages Segment Anything 2 (SAM 2) for rapid sherd profile tracing, rim diameter curvature matching, and clean vector SVG export.

PyPotteryLayout Logo

PyPotteryLayout

Publication Plate Synthesis
Stage 05

Composes standardized publication plates. Automatically arranges ceramic illustrations with consistent metric scale bars, rim orientation rules, typological labels, and standardized print margins.

The PyPottery Suite Desktop Launcher

Launch, configure, and manage all five tools with zero command-line friction. Designed specifically for archaeologists and research teams.

One Control Center for Every Tool

The PyPottery Launcher coordinates all documentation modules from a single offline desktop interface. It monitors hardware, downloads, neural network weights, and manages an isolated Python execution environment.

Local-First, Private by Default

Unpublished excavation drawings and sensitive site data stay on your workstation. Optional cloud LLM assistance via OpenRouter is there if you want it, never required.

Auto GPU Acceleration

Automatically configures PyTorch for NVIDIA CUDA, Apple Silicon MPS, or multithreaded CPU.

Shared Model Zoo

Large AI model checkpoints are stored in a centralized cache.

Just Download & Run

Compiled installers let you download, install, and start working right away.

Download Windows EXE Installation Guide

Publications

Would you like to find out more about the technical details, including the experiments that have been carried out?

DAACH • Elsevier • 2025

PyPotteryLens: An Open-Source Framework for Automated Pottery Digitisation

Lorenzo Cardarelli (2025)

Digital Applications in Archaeology and Cultural Heritage DOI: 10.1016/j.daach.2025.e00380
JCH • Elsevier • 2025

PyPotteryInk: A One-Step Diffusion Model for Archaeological Drawing Vectorization

Lorenzo Cardarelli (2025)

Journal of Cultural Heritage DOI: 10.1016/j.culher.2025.01.010
Citing the software itself:

Frontier AI, in Service of Archaeology

Not generic image filters: every stage runs on new and exciting techniques, adapted specifically for archaeological drawing conventions rather than repurposed off the shelf.

Computer Vision

Detects and segments individual vessel drawings straight off monograph plates and scans. No more manual cropping.

OCR + Few-Shot LLMs

Reads handwritten notes and stratigraphic codes off decades-old inventory cards, then structures the result into clean, queryable tables.

One-Step Diffusion

A custom diffusion architecture, trained on archaeological line-weight conventions, turns a pencil sketch into publication-grade ink in seconds. Not hours on vector graphics software.

Segment Anything 2

Meta's interactive segmentation model, repurposed for vessel profiles: click a rim or a break line and get back an editable, smoothed Bézier curve.

Optional Cloud LLMs via OpenRouter

For metadata tasks that benefit from a larger model, you can opt into cloud inference. Never required, but extremely useful .

Comprehensive Documentation

I a dedicated Wiki you'll find step-by-step tutorials and practical tricks for getting the most out of every tool.

  • Complete Installation Manuals
  • Pretrained Diffusion Zoo
  • Video Workflows & Tutorials
  • REST & Python APIs
Read Documentation

Building from Source or Contributing?

PyPottery is an open-source, community-driven project, and archaeologists and programmers are equally welcome to take part. You can clone the repository to run standalone command-line scripts, inspect the neural architectures, or contribute improvements.

Contribute on GitHub Open Source & Community
bash — clone repository
$ git clone https://github.com/lrncrd/PyPottery.git
Lorenzo Cardarelli
Lead Author & Developer

Lorenzo Cardarelli

PhD

@lrncrd