~/talk

Fast Jigsaw Puzzle Solving with Python: From CV Algorithms to Applications

Talkat PyCon Italia 2025 · 2025-05-28..05-31· [computer-vision]
links:none on file
slides:none on file

A pipeline extracts contours from images with OpenCV and NumPy, smooths and simplifies them (Gaussian + Douglas-Peucker), filters candidates by cosine similarity and a fast collision test, then scores matches with a weighted mix of LCSS and soft distance measures; critical hotspots are pairwise complexity and contour noise. Parts compile to native code with pybind11 C++ extensions to push per-comparison time under ~50 ms. Dataset size hits 150,000 fragments for oracle bones; the prototype produces human-comparable joins but has not yet yielded confirmed new reconstructions.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:29Speaker background
  3. 5:05Oracle bones and need for reconstruction
  4. 8:38Jigsaw puzzle analogy for fragments
  5. 13:58Model construction approach
  6. 16:08Contour extraction process
  7. 19:23Contour simplification
  8. 21:11Similarity and collision testing
  9. 22:35Evaluating reconstruction results
  10. 24:46Optimizing with C++
  11. 26:11Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.