Instagram Engineering Challenge: The Unshredder
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
original
shredded
unshredded
README.md
shred.py
unshred.py

README.md

unshredder

Instagram Engineering Challenge: The Unshredder

This is a python script I wrote that unshreds the random shredded photo.

This is a challenge from Instagram Engineering Blog.

Example Photo

Usage


  1. Run shred.py to shred photos from original folder. The outputs will be in shredded folder.
  2. 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.