Skip to content
Instagram Engineering Challenge: The Unshredder
Python
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
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.

You can’t perform that action at this time.