Skip to content

Plastix/pixelsort.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pixelsort.py

Pixel sorting experiments written in Python (2.7)

Lenna N-Pixel Sort

Dependencies

I would highly recommend creating a virtualenv and installing the following depenencies on that

  • NumPy: Install NumPy through Pip with
pip install numpy
  • OpenCV: There are different methods for installing OpenCV. If you're on OSX use Homebrew to install:
brew tap homebrew/science
brew install opencv

Then link the Python files

ln -s /usr/local/Cellar/opencv/2.4.9/lib/python2.7/site-packages/cv.py cv.py
ln -s /usr/local/Cellar/opencv/2.4.9/lib/python2.7/site-packages/cv2.so cv2.so

Make sure to change the symlink above if you're linking OpenCV to a virtualenv!

About

Sort pixels from the CLI using Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages