Back to projects

Public experiment · Computer vision

Puzzle Cheat

Locating a puzzle piece from two photographs.

Result of locating a piece in a puzzle
Project previewGitHub

Context

The project

Puzzle Cheat is a computer-vision experiment published in 2024. From a photograph of the puzzle and another of one or more assembled pieces, the script suggests where they may fit.

Objectives

Design challenges

  1. 01

    Turn real-world photographs into comparable inputs.

  2. 02

    Handle rotation and scale differences before matching.

  3. 03

    Return several candidate areas visually instead of an opaque answer.

Architecture

Technical flow

Puzzle and piece photos → background removal → rotation and rescaling → feature extraction → visual matches

Scroll through the flow

Puzzle and piece photos
background removal
rotation and rescaling
feature extraction
visual matches
  • Python
  • OpenCV
  • NumPy
  • Feature matching
  • Computer Vision

Approach

Working steps

  1. 01

    Remove the piece background to isolate its shape and visual content.

  2. 02

    Test rotations and adapt the piece scale to the puzzle.

  3. 03

    Extract and compare features to visualize possible locations.

Public repository

What the sources document

  • The repository documents the full pipeline, from image preparation to result visualization.
  • The project is explicitly presented as experimental and exposes its limitations.
github.com/SylvJalbExplore the repository

Let’s talk CONTACT / 01

Let’s talk about your next product.

Share a little context. I will reply to you directly by email.

contact@sylvain-jalbert.com

This information is used only to reply to your message. It is not stored on this website.