zcgu / CS766-Project-Public

Seam carving, resize images with content awarness

Home Page:http://pages.cs.wisc.edu/~zhichenggu/CS766/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CS766-Project-Public

How to run

  • Install Python and packages(scikit-image, numpy, etc..). Or simply install anaconda.

  • Clone this repository

$ git clone https://github.com/HaiyunJin/CS766_Project.git
$ cd CS766_Project
  • Compile the Cypthon code (c_seam_carving.pyx)
$ python setup.py build_ext --inplace
  • Run the main algorithm
$ python seam_carving.py

OR...

  • Compile with
$ make
  • Run with
make run
  • Clean with
make clean

About

Seam carving, resize images with content awarness

http://pages.cs.wisc.edu/~zhichenggu/CS766/index.html


Languages

Language:Python 99.5%Language:Makefile 0.5%