Carve Save

Go implementation of Seam Carving algorithm.

Project README

carve

Go implementation of Seam Carving algorithm. Seam carving allows for an image to be resized without simply cropping or scaling the original image. Detailed walk through of the algorithm and code can be found on my website. Algorithm is also detailed on Wikipedia, the original paper.

Installation

$ go get https://github.com/aaparella/carve

Usage

resized, err := carve.ReduceHeight(img, 50)
if err != nil {
    log.Fatal(err)
}

Todo

  • Improve performance
    • Reduce heap allocations
    • Caching?
Open Source Agenda is not affiliated with "Carve" Project. README Source: aaparella/carve
Stars
291
Open Issues
0
Last Commit
7 years ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating