I have nothing to do and played with a puzzle like:
alt text http://manual.gimp.org/nl/images/filters/examples/render-taj-jigsaw.jpg
and I was wondering if it is possible to make a program that helps me in combining it.
Imagine that I have a small puzzle, for example 4x3 pieces, but the small tabs and blanks are uneven - different pieces have these tabs of different heights of different shapes of different sizes. I would do to photograph all of these parts, let the program analyze them and store their attributes somewhere. Then, when I pick up the piece, I could ask the program to tell me which parts should be its βneighborsβ, or if I have to fill in the blank, it will tell me how to look at the puzzle.
Unfortunately, I never did anything with image processing and pattern recognition, so I would like to ask you for some pointers - how do I recognize a piece of the puzzle (mostly a square with tabs and holes) in the picture ?
Then I will probably have to rotate it so that it is in the correct position, scale to some extent, and then measure the tab / workpiece on each side, as well as each lateral tilt, if present.
I know that it would be too much time to scan / photograph 1000 pieces of the puzzle and use it, it would be just a pet project where I would learn something new.
image pattern-recognition
Axarydax
source share