Skip to content

Latest commit

 

History

History
62 lines (37 loc) · 1.78 KB

README.md

File metadata and controls

62 lines (37 loc) · 1.78 KB

LowPolyPy

Open In Colab

Generate Low-Poly Versions of Images:

Samples

Work In Progress

This repo is being overhauled and new features are being added.

The Colab notebook and setup instructions may not work at the moment.

Run it on Colab

Run this notebook in Google Colab to get started quickly.

Thanks to @maschere for putting this notebook together!

Run Locally

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

I'm currently working on wrapping these scripts in a Django project and getting it hosted on Heroku.

Prerequisites

Clone this repository and navigate to the project directory:

git clone https://github.com/tasercake/lowpolypy
cd lowpolypy

Installing

Lowpolypy can't be installed via pip (yet), but the setup is simple nonetheless.

Install dependencies:

pip install .

Try It Out

From the root of the project directory, run

python -m lowpolypy run './images/giraffe.jpg'

This should create a new image in the images directory.

Built With

  • OpenCV - Image manipulation library
  • PIL - For easy(er) image I/O
  • NumPy & SciPy - Matrix ops, Triangulation, Voronoi tesselation, etc.

License

This project is licensed under the MIT License - see the LICENSE.md file for details