Thanks to visit codestin.com
Credit goes to github.com

Skip to content

noorye4/Puzzle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Auto Puzzle Reconstruction The project is to solve reconstruction puzzle problem. It use ant colony optimization algorithm.

##Example:

input image

lena

Then we split the image 2 * 2 pieces,and random sorted it.

cd script
python script-split.py ../image/lena.jpg 2 2
python script-random.py

in random_output folder like this

split

or split 3 * 3

split

We use enumerate algorithm to calcate each combine of piece and otherise

python script-puzzle random_output 2 2 lena

now the directory has lena.sol file the file is store all combination information of pieces

We need output the lena.sol image

python script-show lena.sol

Now, in script/solu_output folder you can see many image of pieces combination

like this

solu

About

Puzzle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages