Giter Club home page Giter Club logo

couture's Introduction

couture

Couture is a fast implementation of the seam-carving algorithm with heavy use of vectorization such as SSE and AVX. It uses Boost.Simd internally.

Usage

GUI

The GUI need an image file as an input:

$ ./couture_gui test.jpg

CLI

The CLI takes a single argument, the input file

$ ./couture 4-in.txt

It will print the output on the standard output.

Note: The standard output (on Windows especially) is very slow. It is recommended to pipe the output of the program inside a file for maximum performance.

$ ./couture 4-in.txt > 4-out.txt

Requirement

Compiler & Toolchain

  • Clang 4 or later
  • GCC 5 or later
  • CMake 3.4 or later

The code hasn't been tested on Windows but should work on Visual Studio 2015 and later, or Clang 5

Dependency

Common

These are required for both the GUI and CLI

  • Boost 1.60 or later
  • Boost.Simd (included in the repo as a submodule)

Gui

  • OpenCV 3 and later

Build

Cloning

$ git clone https://github.com/HippoBaro/couture.git --recursive

Building

$ cd couture && mkdir build && cd build
$ cmake ..
$ make

The procedure will be different on Windows as you have to generate the proper SLN files via CMake and then open the solution with Visual Studio to build the projects.

couture's People

Contributors

hippobaro avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.