Algorithm Can Solve 10,000 Piece Jigsaw in 24 Hours

Recommended Videos

It what will surely be heralded as the beginning of the end, Andrew Gallagher at Cornell University has crafted a computer algorithm that can solve a 10,000 piece jigsaw puzzle in 24 hours. That’s nearly 7,000 pieces above last year’s record.

Gallagher’s algorithm processes so quickly by mimicking the way in which a human solves jigsaws. It can even work on multiple puzzles when the pieces are mixed together. That seems sufficiently advanced from what some humans can accomplish even.

The algorithm works by scanning the pieces for color patterns and comparing the patterns between multiple pieces. If a piece becomes progressively lighter from left to right, chances are that it should fit between a dark piece on the right and a lighter piece on the left.

It calculates a value for each piece and begins assembling the whole based on this. A key divergence from previous programs is that Gallagher’s works on multiple parts at once. It takes the best match and tries to build from there even if they don’t turn out to be adjacent.

Interestingly the algorithm is designed to work on square pieces only at current. These are traditionally more difficult to solve due to having no clues present in their shapes. With a little tweaking, it could likely work on a variety of applications like shredded documents or, shockingly, puzzles with irregular shapes.

(via New Scientist, image credit via Birmingham Museum and Art Gallery)

Relevant to your interests


The Mary Sue is supported by our audience. When you purchase through links on our site, we may earn a small affiliate commission. Learn more
related content
Read Article Entomologist Brought to Tears in Response to Her Positive Book Reviews
Dr. Megan Wilkerson book: A to Z Bug Facts Coloring Book: Explore 28 Insects With 60+ Unique Facts
Read Article Important Science Alert! NASA Just Sent a Cat Video From Space!
An orange cat chases a laser on a couch with technical graphics superimposed on the image.
Read Article Scientists Make Major Breakthrough in Treating Morning Sickness
A young pregnant woman of African decent sits on a sofa in the comfort of her own home as she cradles her belly with her hands. She is dressed casually as she looks down at her belly with anticipation.
Read Article Guess What? We’re Bringing the Dodo Back!
The dodo from the animated Alice in Wonderland, smoking a pipe.
Read Article New U.S. Climate Report Paints a Desperate Need for Change
Joe Biden delivers remarks during a climate event at the White House
Related Content
Read Article Entomologist Brought to Tears in Response to Her Positive Book Reviews
Dr. Megan Wilkerson book: A to Z Bug Facts Coloring Book: Explore 28 Insects With 60+ Unique Facts
Read Article Important Science Alert! NASA Just Sent a Cat Video From Space!
An orange cat chases a laser on a couch with technical graphics superimposed on the image.
Read Article Scientists Make Major Breakthrough in Treating Morning Sickness
A young pregnant woman of African decent sits on a sofa in the comfort of her own home as she cradles her belly with her hands. She is dressed casually as she looks down at her belly with anticipation.
Read Article Guess What? We’re Bringing the Dodo Back!
The dodo from the animated Alice in Wonderland, smoking a pipe.
Read Article New U.S. Climate Report Paints a Desperate Need for Change
Joe Biden delivers remarks during a climate event at the White House