Skip to content

Latest commit

 

History

History

auto_pixelsort

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Automated Pixel-Sorting :

  • This tool performs pixelsorting using the Pixelsort library.
  • Running the code randomly generates 'N' number of images.
  • Everything, from count and choice of paramters to the values they hold, is randomly generated.

Setup and paramter instructions :

  • Install the Pixelsort library using : pip install pixelsort

  • The few paramters that are to be passed through the terminal are :

    • Image Name with extension : -i image.ext [png or jpg]
    • Number of outputs to be generated : -n 10 [any number]
  • To try it out, place your image in the "images" folder.

  • Run the script from the terminal : python autosort.py -i image.jpg -n 5

  • The parameters and their values for each instance on each run are printed out in your terminal.

  • The results can be found in the "generated" folder which gets empty at each fresh run.

  • Examples :

    • python autosort.py -i image.jpg -n 6
    • python autosort.py -i image.png -n 10

Output :

Sample Results

Author(s) :