This is a Python implementation of IMAGE RESIZING USING IMPROVED SEAM MERGING method.
To run this code you need the following packages:
- Python 2.6 and 2.7
- Numpy
- Cython
- numexpr
- OpenCV (optional, only to run examples)
- Scipy (optional, only to tests)
Maybe it should work also on other version of python, but it’s untested.
Everything but OpenCV can be installed via ``pip install -r requirements``
To install everything just run:
python setup.py install
Maybe you have to run it with sudo
.
Test are provided via unittest.
To run them all:
nosetests
Check examples
folder for some examples.
This library is already in development, so don’t use it for real purposes.