Skip to content

Latest commit

 

History

History
20 lines (10 loc) · 461 Bytes

README.md

File metadata and controls

20 lines (10 loc) · 461 Bytes

Seam-Carving

Retargeting Image

Input = An image file Output = An image file that is now retargeted

** must have opencv installed in the computer Opencv can be installed in linux by following instructions from this website: http://www.codebind.com/cpp-tutorial/install-opencv-ubuntu-cpp/

compile the code by: g++ main.cpp -o output pkg-config --cflags --libs opencv

run the code by the following command:

./output image new_width new_height output