- opencv
brew install opencv
- pkg-config (also needed)
sudo apt-get install libopencv-dev pkg-config
- VS was never tested.
- As a work around you can install the linux subsystem for windows and Xmig for X11 windows run the linux steps.
make
- basic usage horizontal shrinking with fixed number of seams:
./exec <image>.png|jpg
- vertical or horizontal shrinking with fixed number of seams:
./exec <image>.png -h|-v
- vertical or horizontal shrinking with variable number of seams:
./exec <image>.png -h|-v -n <number>
-Toggle shrink or grow usage.
./exec <image>.png -h|-v -r|-g -n <number>