This is a python script I wrote that unshreds the random shredded photo.
This is a challenge from Instagram Engineering Blog.
Usage
- Run
shred.py
to shred photos from original folder. The outputs will be in shredded folder. - Run
unshred.py
to restore photos from shredded folder. Restored photos will be in unshredded folder.
The script will also detect the width of shreds and number of shreds automatically.
Your comments and suggestions are more than welcome.