/triangulate-tool

:triangular_ruler: Easily convert any image into low-poly art in just a few clicks

Primary LanguageC++

Triangulate Tool

Easily convert any image into low-poly art in just a few clicks

Convert to

Screenshots

How it works

The tool takes in every point that you click and runs a Delaunay Triangulation on it. It then averages out the colours in the source image for each triangle in order to generate the low-poly image.

Usage

./triangulate-tool input_image output_image

Use the opacity bar to switch between the original image and the low-poly image.

Press s at any time to save the image, and q to quit.

Build process

mkdir build
cd build
cmake ..
make

Requirements

  • OpenCV 2.x
  • CMake 2.8 or above

License

This software is licensed under the MIT License